Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

How to Extract Document URLs from CRM (from different entities like Account, Opportunities, Quotes etc) ?

(0) ShareShare
ReportReport
Posted on by 375

Hello,

Would like to know How to Extract Document URLs from CRM (from different entities like Account, Opportunities, Quotes etc) ?

Is there any tool available to do do this ? 

Because out of the box in advanced find we are not getting the same.

Thanks,

Milan Hingu

*This post is locked for comments

  • Milan Hingu Profile Picture
    Milan Hingu 375 on at
    RE: How to Extract Document URLs from CRM (from different entities like Account, Opportunities, Quotes etc) ?

    Is there anyone who have get Document URLs as i have shown in screenshot ?

  • Milan Hingu Profile Picture
    Milan Hingu 375 on at
    RE: How to Extract Document URLs from CRM (from different entities like Account, Opportunities, Quotes etc) ?

    Any code is available for my exact requirement ?

    as I hope that one must have the same requirements like me.

  • Gopalan Bhuvanesh Profile Picture
    Gopalan Bhuvanesh 11,401 on at
    RE: How to Extract Document URLs from CRM (from different entities like Account, Opportunities, Quotes etc) ?

    Hi

    Please refer the following for sample code (just to find out how to access SharePoint using code):

    code.msdn.microsoft.com/SharePoint-Integration-c5f21604

  • Suggested answer
    Gopalan Bhuvanesh Profile Picture
    Gopalan Bhuvanesh 11,401 on at
    RE: How to Extract Document URLs from CRM (from different entities like Account, Opportunities, Quotes etc) ?

    Hi

    Document Location would give you only the location (Folder path in SharePoint) of the documents for a particular CRM Record.

    CRM does not store the details about the documents(Example: how many documents in that folder or name of each document).

    You need to use code to obtain these details.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: How to Extract Document URLs from CRM (from different entities like Account, Opportunities, Quotes etc) ?

    This this maybe:

    stackoverflow.com/.../how-to-fetch-list-of-documents-related-to-the-entity-record-using-crm-apis

  • Milan Hingu Profile Picture
    Milan Hingu 375 on at
    RE: How to Extract Document URLs from CRM (from different entities like Account, Opportunities, Quotes etc) ?

    Isn't it possible from CRM ?

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: How to Extract Document URLs from CRM (from different entities like Account, Opportunities, Quotes etc) ?

    I had the same problem. CRM SDK will have 0 record when I retrieve multiple for the document library. You might probably look at SharePoint SDK, to retrieve the path based on its folder hierarchy.

  • Milan Hingu Profile Picture
    Milan Hingu 375 on at
    RE: How to Extract Document URLs from CRM (from different entities like Account, Opportunities, Quotes etc) ?

    Not exactly.

    I want something like below highlighted URLs..

    URLs.PNG

  • Gopalan Bhuvanesh Profile Picture
    Gopalan Bhuvanesh 11,401 on at
    RE: How to Extract Document URLs from CRM (from different entities like Account, Opportunities, Quotes etc) ?

    Hi

    Document locations can be obtained from Document Location entity.

    You will not get the absolute URL from this record, instead it stores the Relative URL and Parent Site or Location.

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.

Helpful resources

Quick Links

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,321 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans