Forum Discussion
It´s possible to create invalid button behavior by doing certain things in a way Innovator didn´t expect to happen. This one depends a bit on the Innovator version.
Your variant looks like you are doing an edit but never claimed the item or you somehow created a good old dirty item.
What do you want to do in the first place? Just change a certain property in the Form? In this case, classic window.handleItemChange is still the way to go. It cares for DOM and Form update all at once.
- Frank_Guarino9 months agoCreator III
Hi,
Your previous answer here link helped me!
Used:
this.setProperty("propName", "valueIwanted");
aras.uiReShowItem(sameId, sameId, "view", "openFile") // last two probably aren't necessary
Thank you!
- Frank_Guarino9 months agoCreator III
The goal is to update the form without the user needing to do anything - .apply() only half works since it updates the DB but the form will stay the same until they know to click the refresh
Its running in CUI button press (from within a main form's ellipsis), so window.handleItemChange, a method which I can't find in the code tree, appears not to be available?