My company is trying to redirect the file (specifically video files) uploads from Confluence Server to Sharepoint server. We want to store only video files in Sharepoint side. I would like to develop a plug-in or macro to basically overwrite the attachment upload function where I will check for the video files and upload only video files into Sharepoint server. It's fine if we can't play the video from Confluence web page. We are fine with playing video from Sharepoint web page. This is my first time working with Confluence and Sharepoint so having a bit trouble understanding how feasible this would be.
My current plan is to develop a Confluence plug-in with Attachment Listener class to redirect the save location.
Hello Min and welcome to the Community!
The idea of an attachment listener within Confluence that then redirects specific files types over to Sharepoint sounds like an interesting idea. Using the Java API would be your best bet when working with Confluence. More on the Confluence Java API may be found at Java API reference. Within your plugin, you’ll have to make an external call to another script or process that will authenticate with Sharepoint and upload the file types.
There are a few items I can think of that need to be considered when proceeding with this.
Alternative options to this would be to use a private YouTube channel where you may upload content there and use the YouTube widget within Confluence to view. This would allow you to save storage space within Confluence and Sharepoint and make the videos privately available for viewing within and outside of Confluence.
Something to be aware of is this is a support community and not often browsed by developers. We want to ensure you get the responses and answers you need so we would suggest you check out the Developer Community. The Developer Community may have more available resources to answer or address your developer questions.
Regards,
Stephen Sifers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.