Select to view content in your preferred language

ArcGIS Javascript SDK in Power Platform component framwork

378
1
10-16-2024 12:25 AM
RuneHanssens
New Contributor

Hi all,

I am trying to create a Power Platform component framework component (PCF) that uses the ArcGIS Javascript SDK.

I am wondering if anyone has experience with this and can help me out?

The component works fine when I test it locally but stops working when I deploy it to my Power Platform environment. I don't see any error in the console that can indicate issues with my deployed component. I just get an empty container without a map. 

Locally I can see in the DOM that there is a canvas element displaying my webmap With my deployed component, this DOM element is missing.

The code can be found on my github page: https://github.com/RuneHanssens/PCF-ArcGIS

0 Kudos
1 Reply
NickKerr-Bell
New Contributor

@RuneHanssens did you end up getting this working? I built something similar which worked but relies on a callback webresource based on the users credentials rather than an API key. At the time this was the only reliable way I could get the map to work. 

My code for this can be found here: https://github.com/FlashZ/ArcGIS-Map-PCF 
Hopefully this helps? Ideally I would like to fix the auth so it doesn't require the user to sign in.

0 Kudos