Hi i have a request to create a custom crm view to show shared records. Im currently using the the xml got from this link http://mscrm-chandan.blogspot.com/2013/01/get-shared-records-for-userteam.html . My question is there a way of dynamically detecting current user logged in the view rather then having to specify each users userid i.e
<condition attribute="principalid" operator ="eq" value="current user "/> rather than the below
<condition attribute="principalid" operator="eq" value="E36D3084-8135-E211-AC03-000C29AD15D1" />
<fetch version="1.0" output-format="xml-platform" mapping="logical" distinct="false">
<entity name="account">
<link-entity name="principalobjectaccess" to="accountid" from="objectid" link-type="inner" alias="share">
<filter type="and">
<condition attribute="principalid" operator="eq" value="E36D3084-8135-E211-AC03-000C29AD15D1" />
</filter>
</link-entity>
</entity>
</fetch>