rwilson504 / PCFControls

Reusable PowerApps Control Framework (PCF) controls.
MIT License
126 stars 127 forks source link

[BUG] [Bing Maps Grid] Open Record link doesn't work #312

Closed MandarbZA closed 1 year ago

MandarbZA commented 1 year ago

Which PCF Component Bing Maps Grid

What type of Power App are you using this PCF component in?

Describe the bug The Open Record link displayed on a pin doesn't do anything. I debugged the JavaScript as much as my knowledge allows, and clicking on the link defintely gets the table name and record ID, but it doesn't navigate away

To Reproduce Steps to reproduce the behavior:

  1. Configure view with Bing Maps
  2. Hover over a pin, and click on the Open Record link
  3. Nothing happens

Expected behavior Either redirect to or open in a new tab the related record

Screenshots Configuration image image image In map view: image image

Additional context

MandarbZA commented 1 year ago

I enabled the control on tables that have the above table in the screenshots as a lookup, and it works as expected there. The only real difference I can see is that the table has a hierarchy enabled.

rwilson504 commented 1 year ago

Can you check to see if you have the primary name field for the table included in the view?

image

MandarbZA commented 1 year ago

Hi It was definitely not working when I posted this yesterday, and I worked on importing more data after that. This morning it's working. Sorry about that. This is the view, and definitely had the name. image