If I read a field (parameter) ID or name in, find the custom forms it is used on. Once I find the form ID, I would like to use the parameter ID and ctgy ID to remove the parameter from the form.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
Hi,
to get the custom forms (categories) a field is used in, you can use the following GET query:
https://<instance>.my.workfront.com/attask/api-internal/CTGY/search?categoryParameters¶meterID=<customFieldID>
In the Workfront API the custom fields are called categories, using the endpoint CTGY and the custom fields are parameters.
Concerning removing a parameter from a form, I do not have an idea at the moment...
Regards
Lars
Views
Replies
Total Likes
Ok, perhaps there is an easier way to do this, but if you have a look into this old thread by me, you can possibly derive a solution.
Yo will need to use a GET request to get all categoryParameters attached to a form and based on that remove the one you found using the call before.
Regards
Lars
Views
Replies
Total Likes
Thank you. It seems very close, but I am getting an 'Unprocessable Entity'.
Views
Replies
Total Likes
Can you send a screenshot of your setup?
Views
Replies
Total Likes
Views
Likes
Replies