Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Save video type attachment upload into Sharepoint server

Sangmin_Han
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 26, 2019

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.

1 answer

1 accepted

0 votes
Answer accepted
Stephen Sifers
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 1, 2019

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.

  1. If Confluence is publically available, SharePoint will also need to be available to accept uploads.
  2. Ensure all users who have attachment privileges within Confluence also have appropriate permissions with SharePoint to avoid issues.
  3. You'll need to ensure your plugin is supported across new versions of Confluence and Sharepoint.

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events