khoait / DCE.PCF

Power Apps PCF Controls Repository
GNU General Public License v3.0
40 stars 11 forks source link

No dropdown items visible in PolyLookup using OOTB N:N relation #99

Closed N1x0 closed 3 months ago

N1x0 commented 3 months ago

Component Release V1.0.5.0 PolyLookup v1.3.0

Describe the bug

No items are visible in the dropdown menu when using the standard N:N relationship between a custom object and the standard Account object. The component does not produce any errors and it looks like it does try to load records, however even when inspecting them using the elementsviewer entries remain blank

image

Steps to Reproduce

image

Additional context Tested both in classic and unified UI, on Web only Type: Production Dataverse Version: 9.2.24022.00196 Security Roles: System Administrator, System Customizer

khoait commented 3 months ago

thanks for reporting. I'll look into this. In the mean time, you can try the previous version to see if it works for you.

MB-Motive commented 3 months ago

@N1x0

Just a thought, are you missing the publisher prefix on the Relationship Name static value?

"Contracts_Account_Account" should be "publisherPrefix_Contracts_Account_Account"

N1x0 commented 3 months ago

@MB-Motive That was it! Thanks a lot for pointing this out, it wasn't obvious to me that the publisher prefix was needed from the docs. Will add a PR to explicitly state this for others like myself who are rather new to dataverse.