Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Export Custom Form VIA THE API

Avatar

-WE
Level 9

24-06-2021

Now that Workfront has delivered on exporting custom forms, make this action possible to call from the API.


We want to perform this action as part of an automation, but cannot because it can only be performed directly in the web interface, one record at a time.

2 Comments

Avatar

Community Advisor

24-06-2021

Also, not just the custom form but anything that can be exported to a PDF, for example the new functionality in 21.3 allowing exporting of portfolio or program details should be considered as well.

Avatar

Employee

20-08-2021

Currently, this idea, is not available in the API itself, however it can be accessed using a GET call to the controller. Here is an example:


https://solaris.devtest.workfront-dev.com/internal/customform/data/export?objID=60b8f7770001bf8f3bd5..."60b62b690004dd47655b2f0ae0d76241"]&additionalFields=["overview"]


The call should have the same sessionID header as with API call.


You can test it by pasting this string (change the corresponding values of course) in the browser, when you are logged in. The general format would be:


https://{{Your WF Url}}/internal/customform/data/export?objID={{ObjID}}&objCode={{ObjCode}}&categoryIDs=[{{Comma separated category IDs}}]&additionalFields=[{{Currently it supports "overview" only, if you do not want the overvieew, skip this param}}}]