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.
Congratulations to our 2026 Super Stars!
We are thrilled to have these Champions in our Community!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
JS-09031509-0 3
AS-17030037-0 2
Mark Eckert 2