Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer Service forum

Rendering image from sharepoint on Portal

(0) ShareShare
ReportReport
Posted on by 105

Hi all,

We are using CRM Online which is integrated with Sharepoint. When we upload the image from CRM it saves into the Sharepoint and we are able to get the absolute sharepoint URL of the uploaded image in CRM.

Issue:

We need to display the uploaded image in CRM Portals, If we refer the absolute sharepoint image url in portals, it would redirect to a login page as we need to impersonate the request.

And i don't see any possibility from client side code (portal code) to impersonate a http request with service account.

Any help would be greatly appreciated!

  • Kriti Garg Profile Picture
    5 on at
    RE: Rendering image from sharepoint on Portal

    Hi Kranthi,

    I'm also trying to achieve same. I need to display the images on the CRM Portal which are stored on Sharepoint integrated to Dynamics 365. Can you please share how did you achieve this? How did you access the sharepoint image url in client side code?

  • Suggested answer
    Datadvancer Profile Picture
    on at
    RE: Rendering image from sharepoint on Portal

    Hi,

    Are you server based integration CRM and SharePoint?  Please check the CRM, SP and Port credentials respectively. Inconsistent will cause the issues.

  • Kranthi Kiran Gullapalli Profile Picture
    105 on at
    RE: Rendering image from sharepoint on Portal

    Thanks anupam, do we have any example..

    I was wondering on where to store the credentials of the service account as we need to authenticate the request from Portal and storing the service account on client side is not a recommended.

  • Anupam.khasia Profile Picture
    61 on at
    RE: Rendering image from sharepoint on Portal

    You  have to authenticate request to get sharepoint Image URL working . You need to send authenticated request to work sharepoint Image URL.

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Customer Service

Featured topics

Product updates

Dynamics 365 release plans