back to top

Adding a Lookup to Select from Users in Creatio (formerly bpm’online)

If you’re adding a Contact lookup where you want the user to chose from user contacts only, instead of all users in the system, you’ll add a normal Contact lookup that gets filtered to show only contacts that are users. I’ve shown before how to filter a lookup, but for filtering for user contacts, there’s a useful way that exists out of the box that makes this a simple task.

Creatio has a module you can use called BaseFiltersGenerateModule. This module creates the filters needed for a contact lookup to show only users (among other filters). To use this, you’ll just add this module to the modules list at the top of the page schema:

define("MyEntityPageV2", ["BaseFiltersGenerateModule"], function(BaseFiltersGenerateModule) {

Now, you’ll need to add your lookup to the attributes, similar to how I outline in the article to filter lookups (in this sample, my lookup column is named “UsrAssginedTo”):

attributes: {
    "UsrAssignedTo": {
        dataValueType: Terrasoft.DataValueType.LOOKUP,
        lookupListConfig: { filter: BaseFiltersGenerateModule.OwnerFilter }
    }
}

The key there is that the filter added to the lookupListConfig with a value of BaseFiltersGenerateModule.OwnerFilter. The “OwnerFilter” in the BaseFiltersGenerateModule module defines the ESQ filters needed to filter the contact lookup to only show contacts that are users.

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