Notifications
Announcements
No record found.
Hi,
I would like to create a fetchxml query which checks if the current record has been shared with anyone or not.
The entity that it will run on will always remain the same.
*This post is locked for comments
Hi!
Check this
<fetch version='1.0' output-format='xml-platform' mapping='logical'
distinct='false'>
<entity name='account' >
<attribute name='name' />
<attribute name='createdon' />
<attribute name='createdby' />
<order attribute='name' descending='false' />
<link-entity name='principalobjectaccess' to='accountid' from='objectid'
link-type='inner' >
<filter type='and'>
<condition attribute='principalid' operator='eq-userid' />
<condition attribute='accessrightsmask' operator='ne' value='0' />
</filter>
</link-entity>
</entity>
</fetch>
www.credera.com/.../crm-2011-creating-view-records-shared-user
Dynamica Labs http://dynamicalabs.com/
Disclaimer:
Any post on this page provided "as is" without warranty of any kind and is for educational and information purposes only. We disclaim any liability arising from any reliance placed on any post.
That worked! Thanks :)
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
SA-08121319-0 4
Calum MacFarlane 4
Alex Fun Wei Jie 2