linkExternalObject : Does anyone have any samples as to what to put in here for this action? | Community
Skip to main content
New Member
November 22, 2024
Question

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

  • November 22, 2024
  • 1 reply
  • 503 views

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. 

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

1 reply

Kurt_Jones
Community Advisor
Community Advisor
November 22, 2024

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-connectors/workfront-document-link-updates

 

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

If my response answered your question, please mark it answered, so others can find the answer
ShawnSt3Author
New Member
November 25, 2024

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": ""

}