Skip to content

Instantly share code, notes, and snippets.

View AshV's full-sized avatar
🚩
Help me https://www.ashishvishwakarma.com/helpme/

Ashish Vishwakarma AshV

🚩
Help me https://www.ashishvishwakarma.com/helpme/
View GitHub Profile
/RetrieveTotalRecordCount(EntityNames=['account','contact','systemuser'])
@AshV
AshV / fetchXml-CurrentUserTeams.xml
Created June 6, 2023 07:13
FetchXml query to list all Owner Teams where Current/LoggedIn user is a member.
<fetch version="1.0" output-format="xml-platform" mapping="logical" distinct="true">
<entity name="team">
<attribute name="name" />
<attribute name="teamid" />
<filter type="and">
<condition attribute="teamtype" operator="ne" value="1" />
</filter>
<link-entity name="teammembership" from="teamid" to="teamid" visible="false" intersect="true">
<link-entity name="systemuser" from="systemuserid" to="systemuserid" alias="ae">
<filter type="and">
@AshV
AshV / gist:750cca9b205d6c6dccc88e7c7eb71328
Created July 12, 2023 09:51
Find when some particular field value was changed for few specific records
TBD
@AshV
AshV / gist:a9d34b040dc94c91549b6a4d7ee6a2ac
Created July 13, 2023 06:20
Creating an Audit Report for User Logins in Dynamics CRM
https://www.concurrency.com/blog/march-2016/creating-an-audit-report-for-user-logins-in-dynami