c# - Is there a way I can generate a list of all entities in CRM and if they have audit history turned on or not? -


i checked entity in crm sql database there wasn't column specifying audit history. know there way enable / disable through crm's online portal take pretty long time see entities have enabled , have disabled.

i've tried poking around couldn't find on topic figured i'd see if here knew or had experience it.

here quote microsoft's page on accessing through online portal:

click entity want start or stop auditing. start auditing, on general tab, in data services section, select auditing check box. stop auditing, clear check box.

http://crmbook.powerobjects.com/basics/data-management-in-microsoft-dynamics-crm/auditing-in-microsoft-dynamics-crm/

let me know if there can add make question more clear.

referring once again xrmtoolbox.... metadata browser you're looking for:

metadata browser example

please note screenshot used columns button move isauditenabled column far left possible.

and since indicated have access sql, here's query:

select entityid, name, isaudited myorg_mscrm.metadataschema.entity 

if you're looking in c#, retrieveallentitiesrequest class starting point.


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -