Topic by Dan Corith
Content
I'm not sure what I'm missing but I'm unable to make the UI control for a Custom Field text object update to a new value via an Add-In. I have verified that the Custom Field is updating to the new value but the UI doesn't change after calling a refresh. My best guess is I'm not refreshing on the right event or maybe I should be using IRecordContext instead of IGlobalContext? Here are the steps that I'm taking.
1. Save a Incident to generate the Incidient.ID.
2. Use the ID to make an external call to another service.
3. Use the results from the external call and update the Custom Field.
I'm performing all of this inside the Saved event on the GlobalContext.AutomationContext.CurrentWorkspace. Code sample included in the Code Block section.