back to top

Getting and Navigating to a Record URL Given the Entity Name and Record Id in Creatio

I have covered previously how to navigate to a record in Creatio. To do this, you need a URL hash. This hash looks something like this:

CardModuleV2/ContactPageV2/edit/c4ed336c-3e9b-40fe-8b82-5632476472b4
-OR-
CardModuleV2/UsrMyCustomSection1Page/edit/f1bca3c3-ce51-4955-bdc0-34ec8319ae82

This is made up of parts such as a module name, a page name, and record Id, etc. However, what if you know the entity name and also have a record Id, but don’t know what the “page” would be? Additionally, some sections have multiple edit pages that can differ based on some value of the record. There is a module named NetworkUtilities you can use in Creatio for just this purpose. You provide an entity name and a record Id, and it gives you back the hash so you can navigate to the record correctly.

To use this module, you must include NetworkUtilities in the modules list at the top of the code. For example, if we were on the Contact page, adding this would look something like this:

define("ContactPageV2", ["NetworkUtilities"], function(NetworkUtilities) {
	return {
		entitySchemaName: "Contact",
		//...
	}
});

Now, with that added, we can use it as follows to get the hash for a record given it’s entity name and record Id.

var entityName = "Contact";
var entityId = "c4ed336c-3e9b-40fe-8b82-5632476472b4";

var contactHash = NetworkUtilities.getEntityUrl(entityName, entityId);

Now, you can simply use that hash to navigate to the record normally:

this.sandbox.publish("PushHistoryState", {hash: contactHash});
Contact Customer FX for your CRM project
We let our expertise speak for itself - let us know how our all-star team can help on your CRM project
About the Author
Ryan Farley
Ryan Farleyhttps://customerfx.com/article/author/ryanfarley/
Ryan Farley is the Director of Development for Customer FX and creator of slxdeveloper.com. 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.

LEAVE A REPLY

Please enter your comment!
Please enter your name here

AI Readiness Checklist for CRM Teams: Is Your CRM System Ready for AI?

Before using AI in Creatio, make sure your CRM data, users, processes, and automation foundation are ready. Use this practical AI readiness checklist for CRM teams.

Build Your Creatio AI Skills with the 2026 AI Summer Program

Join Creatio’s free 2026 AI Summer Program to learn how to identify, build, deploy, and manage AI agents.

Creatio 10x Is Coming: Join the Webinar to Explore the Future of AI-Native CRM

Learn what's new in Creatio 10x and how AI-native CRM, agentic AI, and no-code automation are shaping the future of customer relationship management. Join the upcoming webinar and discover what's next.

Creatio Unlimited Pricing Explained: AI Packages, Costs, Pros & Cons

Learn what Creatio’s new Unlimited pricing model includes, what it doesn’t include, how AI Action packages work, and the pros and cons for businesses evaluating Creatio.

Using the AI Prompt to Create Dynamic Folders in Creatio

Using Creatio's AI prompt to create the filter for a dynamic folder works best if you specifically ask for that, and if you are as clear and direct as possible about the filtering, conditions.

Related Articles

AI Readiness Checklist for CRM Teams: Is Your CRM System Ready for AI?

Before using AI in Creatio, make sure your CRM data, users, processes, and automation foundation are ready. Use this practical AI readiness checklist for CRM teams.

Build Your Creatio AI Skills with the 2026 AI Summer Program

Join Creatio’s free 2026 AI Summer Program to learn how to identify, build, deploy, and manage AI agents.

Creatio 10x Is Coming: Join the Webinar to Explore the Future of AI-Native CRM

Learn what's new in Creatio 10x and how AI-native CRM, agentic AI, and no-code automation are shaping the future of customer relationship management. Join the upcoming webinar and discover what's next.

Creatio Unlimited Pricing Explained: AI Packages, Costs, Pros & Cons

Learn what Creatio’s new Unlimited pricing model includes, what it doesn’t include, how AI Action packages work, and the pros and cons for businesses evaluating Creatio.

Related Videos