[PAID] Onedrive file picker theme component

Summary

Make the OneDrive File Picker available as a button on the Discourse composer so that users can insert shareable links to OneDrive files into Discourse posts.

Background

My organisation has 20 staff with OneDrive accounts, most with access to a shared Sharepoint docs folder where we store most of our files.

I’d like these staff to be able to easily share files with other platform users, so that these other users who do not have accounts under our Microsoft account, have not been individually granted access to a file, and may not even be logged in on office.com, can still view a file if it is shared as a link on our Discourse instance.

Prototyping

Please begin by making the crudest possible proof-of-concept prototype so that we can verify that the basic concept is sound. e.g. that the users can use the picker to access files on the shared folder and create shareable links for them.

Once the concept is demonstrated to work, we can look at refining the UI and refining the formatting of the inserted link.

Timeline

It’s not urgent.

Budget

I’m assuming this is 5-10 hours for an experienced javascript developer familiar with Discourse, and I’m happy to pay professional rates for this. Given that, I’m hoping this will cost $250-500.

Resources

https://docs.microsoft.com/en-us/onedrive/developer/controls/file-pickers/js-v72/

https://hawramani.com/how-to-get-a-demo-of-the-onedrive-file-picker-javascript-sdk-to-work-on-a-local-development-server/

And of course the Discourse docs suggest using onToobarCreate() to add a button like this.

2 Likes

Hi @JonathanShaw
I am interested to take this up, Sending you a PM

2 Likes

@Ahmed_Gagan did great work on this, nicely completed.

4 Likes