Expand my Community achievements bar.

Latest Community Ideas Review is Out: Discover What’s New and What to Expect!

linkExternalObject : Does anyone have any samples as to what to put in here for this action?

Avatar

Level 1

I’m currently working on creating a comprehensive Postman collection that includes all API calls for Workfront’s Project APIs. This collection will serve as a handy reference for future use. However, I’ve encountered a challenge with the Action API, specifically the linkExternalObject action for projects.

If anyone has experience with Workfront’s Project APIs, particularly with the linkExternalObject action as I m uncertain about the correct values to use. Your insights would be greatly appreciated. 

2 Replies

Avatar

Community Advisor

Shawn,

This article should help but it's related to setting up integrated storage providers like Box, SharePoint, etc.  When you click on upload a document in a project if you've connected providers they show up under there.  The material in the article looks a little dated but believe it still applies.

https://experienceleague.adobe.com/en/docs/workfront/using/documents/migrate-from-legacy-enhanced-co...

 

If this answered question please mark correct so it will show up for others that might have the same question.

Avatar

Level 1

Hi Kurt, 

 

This is extremely helpful. I have followed the instructions mentioned in the document. I am getting the 200 HTTP code which means the server is accepting the request (a request was successful) but when I check the Project in the WF, the action has not been performed. 
Any idea why is that happening? 


Here's the body details I am passing 

{

  "providerType": "BOX",

  "documentProviderID": "672b4db8000f0ad58f217ae7081e79b3",

  "objects": {

    "295241588555": {

      "ID": "295241588555",

      "name": "508745-001_Testing Project Folder",

      "ext": null,

      "isFolder": "true"

    }

  },

  "breadcrumb": [

    {

      "name": "Workfront_Test",

      "providerType": "BOX",

      "documentProviderID": "672b4db8000f0ad58f217ae7081e79b3",

      "ID": "271875890188"

    }

  ],

  "linkAction": "LINKEXTERNAL",

  "refObjCode": "PROJ",

  "refObjID": "674197ba00e54f3fade0082cef88bd78",

  "destFolderID": ""

}