Question
in mobile, how can I get the value of some fields in lookup fields
08:28 Feb 25, 2021
Hi Community,
In mobile, how can I get the value of some fields in lookup fields?
Suppose in Case, using I will get MobilePhone from Contact using CreatedBy field in case. I tried below but it is undefined:
var mobile = record.get("CreatedBy.MobilePhone");
Any idea please
Like
1 comments
14:03 Feb 26, 2021
Hello Fulgen,
You need to use the following code:
record.get("CreatedBy").get("Name")
You can also set the breakpoint in one of the business rules and study which keys and values the record object returns.
Please also note that two possible values that you can get from the related record are:
1) Record Id
2) Record display column value
Best regards,
Oscar
Show all comments