Developer Discussions

Discuss topics with other Hexagon Geospatial Power Portfolio developers and experts to get the most out of our products.
Showing results for 
Search instead for 
Do you mean 
Reply
Highlighted
Super Contributor
Posts: 301
Registered: ‎02-09-2016

Reload a table after adding an entry in GMSC workflow form

Hi team,

 

We have a workflow form displaying an item that has fields and a form table. The fields display attribute information of the  item and the table displays a list of extra notes of the item. The source of the form table is coming another database table (item Id is the foreign key). On the form, we want to have ability to add new note to the form table. We are thinking about calling a trigger for the add function. The trigger will insert the new record (new note) into the table and in the post action of the trigger we will reload the form table. There is a Javascript API to reload a field, but still not sure it will work for a form.

 

Appreciate all ideas and suggestions on how to implement it. Thank you.   

Highlighted
Staff
Posts: 1,057
Registered: ‎10-18-2015

Re: Reload a table after adding an entry in GMSC workflow form

Hi Bob,

 

it should be enough to specify the formfields you would like to reload in the action trigger:

 

IG.trigger({triggerNames:['ActionTrigger'], reloadFields:['FormTableField']})

HTH,

Stefano

Stefano Turcato
Presale Engineer
Hexagon Geospatial
Highlighted
Super Contributor
Posts: 301
Registered: ‎02-09-2016

Re: Reload a table after adding an entry in GMSC workflow form

Thank you for your suggestion Stefano, I will try it and let you know the result.

Kind regards