Setting a Sort for Lists in the Creatio Mobile Client

When you configure a list for the Creatio mobile client using the mobile wizard, by default the list shows in database order which isn’t too helpful. However, you can specify a sort for the list in code. The first thing you’ll need to do is add a module for the entity in the Mobile application manifest.

See Creating Modules for the Creatio Mobile Client

With that module created, you’ll simply need to add the following code into the module. Note, the module schema doesn’t need a declare or any other code. Just the code below is all that is needed in the module schema. In this scenario, we have a list of an entity named UsrNote and we’ll be sorting the list by a column named UsrDate in descending order.

Terrasoft.sdk.GridPage.setOrderByColumns("UsrNote", [{
	column: "UsrDate",
	orderType: Terrasoft.OrderTypes.DESC

This code configures the GridPage (or list) for the UsrNote entity to sort by the UsrDate column in descending order.


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.

1 Comment

  1. How to set a default sort order in a Section page?


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!