You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

CX Sales Mobile Script get related object fields

Summary:

We need to get a value from a related object. How to achieve that?

Content (please ensure you mask any confidential information):

In Opportunity, On Edit event, I need to retrive information from the standard related account field.

As I saw in some other questions here, it's not possible to access related objects. According to the documentation, we should query the required object.

So, in my case, I should query the Accounts object, using Account Id as parameter. But the standard field TargetPartyId is not available from the fields list to be selected.

All that being said, how am I supposed to retrieve information from a related object?

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!