locked
Looking for the odata query that returns the Sharepoint Site URL for a document location for an account RRS feed

  • Question

  • Hi,

    For a given account I need to find the URL of the SharePoint Site.

    I can get the sharepoint document location, but I really need the URL of the "parent"- Sharepoint Site.

    I have come this far:

    https://NOTMYORG.crm4.dynamics.com/XRMServices/2011/OrganizationData.svc/SharePointDocumentLocationSet?$expand=sharepointdocumentlocation_parent_sharepointsite&$select=Name,sharepointdocumentlocation_parent_sharepointsite&$filter=RegardingObjectId/Id eq (guid'{0537BE88-ECFB-E311-A8DE-2C59E5419D10}')

    But now I am stuck...So any tip is welcome, thanks!

    Friday, June 27, 2014 9:52 PM

Answers

  • I have found good assistance here:

    http://stackoverflow.com/questions/24464855/looking-for-the-odata-query-that-returns-the-sharepoint-site-url-for-a-document

    I created a two step approach as per the answer to the question in stackoverflow.

    • Marked as answer by mpjjonker Monday, June 30, 2014 1:33 PM
    Monday, June 30, 2014 1:32 PM

All replies

  • Hi,

    Refer SDK samples. They have given pretty good examples of REST, ODATA, SOAP, etc.


    If you find this post helpful then please "Vote as Helpful" and "Mark As Answer". Thanks and Regards, Yogesh Vijay Mulay

    Monday, June 30, 2014 7:02 AM
  • I have found good assistance here:

    http://stackoverflow.com/questions/24464855/looking-for-the-odata-query-that-returns-the-sharepoint-site-url-for-a-document

    I created a two step approach as per the answer to the question in stackoverflow.

    • Marked as answer by mpjjonker Monday, June 30, 2014 1:33 PM
    Monday, June 30, 2014 1:32 PM