Hi all,
Hoping for a bit of advice - I've developed a JavaScript web resource to help our maintenance team easily identify & check company assets by scanning barcodes. They have asked me if there's any way they can easily upload images from within this web resource and store them against the records in Dynamics. We have already integrated SharePoint with Dynamics and use it for our document hosting, so I thought it should be doable. I found the captureImage function and was hoping that I'd be able to use the Javascript SharePoint API to upload the images from within the web resource itself, without having to open the record form and navigate to the SharePoint upload (even then it doesn't allow for capturing images in-dialog, only uploading already captured ones). Has anybody done this/is it relatively easy to do? I have read that trying to use the SharePoint API within Dynamics is tricky due to the cross-origin nature of the request, but would really love some pointers before I get stuck in and realise it can't be done!
I would really appreciate any advice on this.
Thanks
Sam