How to change value of an attribute from retrieved entity

0
Hi, I want to change entity that has been retrieved by an association. For example, I can change value of User but not User_Company. How to solve this problem ? Thank you in advance !
asked
1 answers
2

If 'User' is the entity that you have retrieved you can change attributes of this entity. Furthermore, you can set assocations of this entity.

If you want to changes attributes of the entity 'Company', you will first need to retrieve the company with the user. After the retrieve you can change attributes of the entity 'Company'.

See also:

https://docs.mendix.com/refguide/change-object

and

https://docs.mendix.com/refguide/associations

answered