
If you need to be able to determine in code on a page in Creatio if the current record has been modified and needs to be saved, the easiest way to determine this is by checking to see if the Save button is visible or not. In Creatio, when a record has been modified, the save button appears. The ability to save a record is only visible when there is something that needs saving, so simply using the visibility of this button is an easy way to check. The button’s visibility is bound to an attribute named SaveButtonVisible.
To check if the record needs saving, simply use the following:
if (this.get("ShowSaveButton")) { // the record has been modified and needs saving }
You can check this on both the page and in the section when in combined mode (the page sends the state for this attribute to the section via the sandbox).
Subscribe To Our Newsletter
Join our mailing list to receive the latest Infor CRM (Saleslogix) and Creatio (bpm'online) news and product updates!
You have Successfully Subscribed!