Microsoft.com
All DevCenters
MSDN Home
MSDN Code Gallery:
Code Gallery Home
|
Browse Gallery
|
Share Code
|
Help and FAQs
Auditing for CRM 4.0
Home
Downloads
Discussions
People
License
Close
RSS
All Resource Updates
Discussions
Releases
Wiki
RSS
Comments
|
Print
|
Page Info
|
Change History (all pages)
Search Wiki:
Home
Resource Page Description
Auditing for CRM 4.0 - Plugin
Last edited
Jul 8 2008 at 5:33 PM
by
StevenMSFT
, version 3
Comments
Jamie
wrote
Jul 24 2008 at 10:22 PM
Nice it works for all fields except the one that I need it to work on: ownerid. Any clues as to why it wont create an audit for when the ownerid field is changed?
dtu11
wrote
Jul 25 2008 at 3:00 PM
You will need to register it for the Assign plugin message to track the ownerid change.
Jamie
wrote
Jul 25 2008 at 8:38 PM
Thank you, that worked!
dtu11
wrote
Jul 28 2008 at 5:18 PM
:)
MarkPurnell
wrote
Dec 1 2008 at 5:00 PM
Great tool. One thing that I noticed is that the auditing in short-circuited if the Duplicate Detection dialog is triggered on the update.
dtu11
wrote
Dec 9 2008 at 5:28 PM
Interesting. So the audit is not triggered when DD is triggered or is an exception thrown?
jpd
wrote
Dec 23 2008 at 8:25 PM
Hey all - I made a change to the code so that you can specify the guid of the user you want the audit information to created as. I did this because I didn't want to grant users the ability to create and append audit records but still be able to view them. Now when the records are created, they are owned by an administrator account but the person making the change is listed under "created by".
jpd
wrote
Dec 24 2008 at 3:15 PM
I found a bug where the audit process will fail if you've changed another key property on the record and it is listed before the primary key of the record in the properties list. In my case I'm updating a contact's "member of" custom entity and the key property for the "member of" record is picked and used as the primary key of the contact instead of the contactid itself.
Sign in to add a comment
Current Release
1.0
Mon Jul 7 2008 at 4:00 AM
More Tags ...
Popular Tags
.NET
.NET 2.0
.NET 3.5
2008
ADO.NET
ASP.NET
ASP.NET 2.0
C#
C# 3.0
C++
CMS
CRM
Dynamics
Entity Data Model
Entity Framework
Hotfix
LINQ
LINQ to SQL
MCMS
MSCRM
MSDN Magazine
Placeholder Controls
Samples
SharePoint
silverlight
SQL Server
tfs
Tools
Visual Basic
Visual C#
Visual C++
Visual Studio
Visual Studio 2005
Visual Studio 2008
VS SDK
VSTF
VSTO
VSX
WCF
Windows Forms
Windows Mobile
WPF
Manage Your Profile
Legal
Contact Us
MSDN Flash Newsletter
© 2008 Microsoft Corporation. All rights reserved.
Terms of Use
Trademarks
Privacy Statement
Updating...