cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
aboodhamwi
Level: Powered On

Load Entity Reference Name Only

Hi,

 

I have an app to show records from the Dynamics CE, the issue is my view has 5 lookup fields, the idea that I need to load the whole refrence entity is killing the performance, why I cannot get only the name of the refrence entity, is there a way to resolve this, I need to show the Work Order entity,  billing account, service account, and other references, the query url is like this "

msdyn_workorders/items?$expand=msdyn_workordertype,ets_SubType,ets_PrimaryBookableResourceBooking,msdyn_billingaccount,msdyn_serviceaccount", this is really killing the performance of the load
in the gallery, this how I'm getting the billing account name 
ThisItem.'Billing Account (msdyn_billingaccount)'.'Account Name'

if I use 

ThisItem.'Billing Account'

it will only return the Id

2 REPLIES 2
Community Support Team
Community Support Team

Re: Load Entity Reference Name Only

Hi @aboodhamwi ,

Do you want to only load lookup field's Name, not load other propertities?

I'm afraid it's not supported to make this currently in PowerApps.

Look-up field is considered as a whole and you can not only load part of it.

I suggest you express your views on PowerApps Ideas Forum. Your precious advice will be very helpful for our work.

https://powerusers.microsoft.com/t5/PowerApps-Ideas/idb-p/PowerAppsIdeas

 

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.
aboodhamwi
Level: Powered On

Re: Load Entity Reference Name Only

Hi @v-yutliu-msft ,

 

thanks for the reply, normally in the Dynamics Ce in once you load a reference you will get the primary field name, and 90% from the reason you load the field is to load the name, so why I have to load the whole entity

Helpful resources

Announcements
New Ranks and Rank Icons in April

'New Ranks and Rank Icons in April

Read the announcement for more information!

Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (1,504)