Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 46379

Uploading a document to SharePoint using Ribbon button

$
0
0

Hi,

I have a requirement where I have to upload an image from Ribbon button using JavaScript and upload it to the SharePoint Location of the record.

I am using CRM online and SharePoint online

I have tried the following things

1) Using cross origin scripts provided by Microsoft to upload to SharePoint.

This is not working as it is timing out at 'AppWebProxy.aspx' loading to iframe.

As per my understanding the API doesn't support uploading of document directly to document entity as of now. I can use the dialog used in the Document sub grid and open it from Ribbon button, but that's not the right solution as we don't have much control on what files can be uploaded and also not supported.

I have also aware of the solution to upload the image to notes from JavaScript and then in workflow upload the document to SharePoint. This is also not a good solution. As we have to clean up the notes afterwards.

Can any one please suggest a better solution so that I can upload the image from Ribbon and then upload to the SharePoint.

Any help in this regard is of great help.

Cheers,

Pramod


Viewing all articles
Browse latest Browse all 46379

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>