Linking SharePoint Documents through API | Community
Skip to main content
SarahNau
Adobe Employee
Adobe Employee
February 22, 2021
Question

Linking SharePoint Documents through API

  • February 22, 2021
  • 3 replies
  • 1016 views

Hi All,

We are rolling out our SharePoint integration and want to create some automation with folders. We would like to create a new folder when a certain project request is put in and then link the folder to that project.

I have a Power Automate flow that can create the folder, but I'm not seeing anything in the API suggesting that I can link a folder from SharePoint to Workfront. Before I dig too deep, does anyone know if this is even possible?

Thanks in advance!

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

3 replies

kynabaker16
Adobe Employee
Adobe Employee
March 3, 2021

Hi Sarah,

I took this to our support team and they shared the following with me, in case it helps you or anyone else who finds this.

From support:

I’ve confirmed this API call works within Postman:

POST /attask/api/v12.0/DOCFDR

{

"name":"FOO",

"projectID":"<PROJ-ID>",

"linkedFolder":{

"externalStorageID":"ID of Sharepoint folder goes here",

"documentProviderID":"assigned by Workfront",

"externalIntegrationType":"SHAREPOINT"

}

}

Some notes:

  • Be sure to pass the raw body as a JSON object
  • The “name” is the name of the folder as you would like it to appear within Workfront
  • The “projectID” could be an Issue, Task, etc
  • The “externalStorageID” is the ID of the folder within SHAREPOINT
  • The “documentProviderID is assigned by Workfront, find it via:
    • GET /attask/api-unsupported/docpro/search?

I hope this helps a little!

Kyna

SarahNau
Adobe Employee
SarahNauAdobe EmployeeAuthor
Adobe Employee
March 4, 2021

Thanks Kyna! I actually did reach out to support and was going to post once I got it working. Still having some authorization issues, but working with support to figure it out 😊

kynabaker16
Adobe Employee
Adobe Employee
March 4, 2021
Oh that's great! Please do update once you get it working!