Opening a Record for Edit in a Specific Page in Creatio Freedom UI

In a previous article I outlined how to open a page via code in a Freedom UI page. I also outlined how to open a record’s edit page via code in a Freedom UI page. However, it’s possible you have many different pages for the same entity. What if you want to open a record to edit in a specific Freedom UI page? This article will show how to specify the specific page you want to use when opening a record to edit.

In the scenario for this article, I have a simple page (actually a mini page dialog) where I can select the case status. I am going to open a case to edit in this specific page so the status is bound and the case status can be updated in this page. My page looks as follows:

Note, this is a page where Case is the data source. It’s another page bound to the case entity. When I open the case to edit for the sample in this article, I want to use this simple page.

To open a specific page, we’ll use a crt.OpenPageRequest. We’ll include the schemaName for the page we want to use, but will also include some details to initialize the page model in edit mode for a specific record. ┬áThe code will look as follows:

    type: "crt.OpenPageRequest",
    $context: request.$context,
    schemaName: "UsrCaseStatus_ModalPage",
	modelInitConfigs: [
			action: "edit",
			recordId: caseId

The end result is that the case will open for edit using the specific page we’ve specified in the request.


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!