Expand my Community achievements bar.

Got questions about Workfront Governance? Join our upcoming Ask Me Anything session on February 12th!

Updating Custom Fields on a Document Form

Avatar

Level 2

Hi everyone,

 

We have a custom form for a Document within a specific portfolio that I am looking to update the Record with. I am able to find the field within Update Record > Document. However I am receiveing a runtime error if [422] category cannot be null. My suspecion is that since the form doesn't default on the document until after you manually select it that Fusion that the Module doesn't see the fields to update on the document. Is there another step I am missing before this?

ShaneG_0-1707350117414.png

 

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Reply

Avatar

Level 6

Hi @ShaneG 

 

if you're certain that the form is NOT yet there when you set the values, and there is no other form, then set "categoryID" to the form ID.

 

Note: categoryID is a shortcut to the first custom form attached - which means if there already is a form attached, setting categoryID will effectively replace that existing form. 

 

If it's possible that other forms may already be there, use the MiscAction module, and choose the action "assignCategories" just prior to setting the custom fields.