Hello, when I change Owner, type section also should change, please help how can i do that?

Thanks so much in advanced.

Like 1

Like

2 comments

Hi,

 

You need to set the value for the "type" column using a client-side code and this.set method. This should be added to the "Owner" attribute modification handler method (the handler example was provided in this post for example).

 

Best regards,

Oscar

You can see an article on how to wire up change events on the page here: https://customerfx.com/article/triggering-an-event-when-a-field-is-chan…

As far as setting the value of the Type lookup, a lookup needs an object with two properties to display properly, (1) a value property (the Id of the lookup item) and (2) displayValue (the text of the lookup item). You'd set it like this: 

this.set("Type", {
    value: theIdOfTheTypeItem,
    displayValue: theTextOfTheTypeItem
});

This article on getting started with client side code for Creatio might help https://customerfx.com/article/getting-started-with-writing-code-for-bp…

Ryan

Show all comments