Freedom UI: Dropdown populated from an arbitrary object with a page-parameter filter

Hello Creatio Community,

How can I create a dropdown on a Freedom UI form whose options come from an arbitrary object (for example, Contact) and apply a custom filter that uses a page parameter? 

For example, populate the dropdown from Contact, but only show records that match a condition involving a page attribute (via Relationship table where AccountAId is AccountId on the page and ContactBIs is field to populate in the dropdown). What’s the recommended approach? A small code example would be great.
 

Like 0

Like

1 comments

Hello,

You can try to use the Business rules on the page with the static filter or the general one to achieve your goal. Here is an example that may be useful:

Here is the article that also may be useful: https://academy.creatio.com/docs/8.x/no-code-customization/customizatio…

Show all comments