web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

allow CRM portal users to upload documents to SharePoint

(0) ShareShare
ReportReport
Posted on by 5,421

*This post is locked for comments

I have the same question (0)
  • Verified answer
    RaviKashyap Profile Picture
    55,410 Moderator on at

    Yes, this is still not supported. Initially I thought it is support but not working due to some bug but then I check the portal documentation and there is nothing mentioned about it.

    I then switched to Azure blob storage and try to configure it following portal documentation but then again stuck. Reached out to MS and they confirm there is a bug in Azure integration as well.

    Check this out-

    community.dynamics.com/.../219651

    community.dynamics.com/.../253195

    Hope this helps

  • Suggested answer
    Suraj Kumbhar Profile Picture
    130 on at

     Hi,

    Although I did it for Downloading the sharepoint documents from Portal,

    This might help you to build a functionality to upload the documents from Portal.

    This is how it works,

    8750.ssssssssssssssssssssssss.PNG

    CRM Application

     

    • A new custom entity should be created in CRM Application which will hold the metadata of documents uploaded in sharepoint

     

    • As shown in screen shot below, this entity will have 1-M relationship with other entities such as Policy, Vessel etc and hold the metadata such as Document Url, Name of Document with extension etc.

     8750.ssssssssssssssssssssssss.PNG

     

     

     

     

     

     

     

    Logic App

     

    • During the document migration from Meridio to sharepoint we will have a Logic App flow in place which should create a custom entity record for each document in MSCRM Application to hold the metadata of document.

     

    • Once the document migration is completed, every time a new document is added to Sharepoint, the new record of custom entity should be created in MSCRM Application to hold the metadata of document.

     

    • Whenever the document attributes are updated in sharepoint the existing record of custom entity should be updated in MSCRM

     

    CRM Portal

     

    • Our task is to trigger a plugin of MSCRM from Portal which will fetch document from sharepoint and return back to the Portal

     

    • To make this possible first of all, we need a request acceptor, so we will create a separate web page on portal. This page will be responsible for acceptance of different commands/requests from other Portal pages and returning the answers or response received

     

    • This page will be only the mediator between other pages and CRM which will allow to write a server code using Plugins and/or Actions by retrieving a record of custom entity say spl_portalaction from MSCRM

     

    • The Plugin will be triggered on “Retrieve” Message of spl_portalaction entity record

     

    • The response of plugin will contain the document in base64string format, which will be processed by the requesting page to rebuild the document and download it for end user using JavaScript

     

    • The details are available on below link

    https://community.dynamics.com/365/b/udsconsultingblog/archive/2017/04/18/https-uds-systems-blog

     

    • This functionality or process can provide us more flexibility at other places in future for different requirements from the business

     

    Please mark this as answer if find it helpful and able to implement the same just like I did.

    Please let me know in case if you have any doubts.

    Thank you!

    Regards,
    Suraj Kumbhar

    srjkumbhar@gmail.com

     

  • RaviKashyap Profile Picture
    55,410 Moderator on at

    Nice job Suraj. Keep it up :)

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans