cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Access Contact ParentCustomerId

I am working on a canvas app that connects to an instance of dynamics. I am searching and displaying a list of contacts in a gallery. When I try to display the parentcustomerid or 'Company Name' or _parentcustomerid_value I only get a guid. Is there any way to get the actual name of the account?

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
v-yutliu-msft
Community Support
Community Support

Hi @Anonymous 

Could you tell me is 'Company Name' a lookup field?

Since it’s not supported to display the data of lookup field from dynamics directly, you should filter it by yourself.

Try this formula:

LookUp(Accounts,account=ThisItem.'Company Name',account name)

Here’s doc about the Contact entity for your reference:

https://docs.microsoft.com/en-us/dynamics365/customer-engagement/developer/entities/contact#BKMK_contact_customer_contacts

 

Best regards,

Community Support Team _ Phoebe Liu

Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-yutliu-msft
Community Support
Community Support

Hi @Anonymous 

Could you tell me is 'Company Name' a lookup field?

Since it’s not supported to display the data of lookup field from dynamics directly, you should filter it by yourself.

Try this formula:

LookUp(Accounts,account=ThisItem.'Company Name',account name)

Here’s doc about the Contact entity for your reference:

https://docs.microsoft.com/en-us/dynamics365/customer-engagement/developer/entities/contact#BKMK_contact_customer_contacts

 

Best regards,

Community Support Team _ Phoebe Liu

Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

May UG Leader Call Carousel 768x460.png

June User Group Leader Call

Join us on June 28 for our monthly User Group leader call!

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Users online (1,317)