What causes the command bar buttons 'Save' and 'Done' to be greyed out?

As in this above screenshot, this occurs after I run aras.setItemProperty() for a value that exists in the form. Afterwards, it becomes as such. What attribute can I reset to have it not be like this any more? Clicking the refresh button works as a solution, does anyone know a way to invoke that?

Parents
  • 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.

  • 0 オフライン in reply to AngelaIp

    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?

Reply Children
No Data