Hi All,
I have used the following fetchxml query before:
<fetch version="1.0" output-format="xml-platform" mapping="logical" distinct="false"> <entity name="sharepointdocument"> <attribute name="documentid" /> <attribute name="fullname" /> <attribute name="relativelocation" /> <attribute name="sharepointcreatedon" /> <attribute name="filetype" /> <attribute name="absoluteurl" /> <attribute name="modified" /> <attribute name="sharepointmodifiedby" /> <attribute name="title" /> <attribute name="readurl" /> <attribute name="editurl" /> <attribute name="author" /> <attribute name="sharepointdocumentid" /> <attribute name="ischeckedout" /> <attribute name="locationid" /> <attribute name="iconclassname" /> <order attribute="relativelocation" descending="false" /> <filter type='and' > <condition attribute='regardingobjecttypecode' operator='eq' value='1' /> <condition attribute='regardingobjectid' operator='eq' value='81a59c0a-c11d-ed11-b83d-00224812b54e' /> </filter> </entity> </fetch>
but I am getting the following error in a new install of CRM and SharePoint. The doc integration is working, the docs show up there in files against the entity in CRM and in SharePoint so I am not sure what the issue could be all of a sudden:
"At least 1 Claim must not be NULL, current claims are : nameid=;nii=urn:federation:microsoftonline "