Detecting if a Page Needs to be Saved in Creatio

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).


Ryan Farley

Ryan Farley is the Director of Development for Customer FX and creator of He's been blogging regularly about SalesLogix, now Infor CRM, since 2001 and believes in sharing with the community. His new passion for CRM is Creatio, formerly bpm'online. He loves C#, Javascript, web development, open source, and Linux. He also loves his hobby as an amateur filmmaker.

Submit a Comment

Your email address will not be published. Required fields are marked *

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!