Select to view content in your preferred language

Adding a WebMap from Portal to Javascript 4.x application

5025
11
Jump to solution
06-18-2017 09:46 PM
rbae
by
Regular Contributor

I'm not able to add a WebMap from Portal to my 4.x application - it looks like it needs something other than portalUrl.  My code works fine for a webmap in arcgis.com.  Does anyone know what I might be missing?  The webmap is shared with everyone and I don't need to log into Portal to see it.

0 Kudos
11 Replies
rbae
by
Regular Contributor

Thanks John!  You are absolutely right - I had the order of the classes messed up.

This is a total user error, which I'm going to blame on my inability to switch between the Control and Command keys for Copy/Paste in Windows vs Mac...

PLadd
by
Frequent Contributor

I landed on this page looking for a solution to the same issue and, while the OP's problem has been solved here from somebody else, I wanted to add what I found in case others landed here looking for answers. 

I did something really stupid - I was typing esri/Config instead of esri/config.  Once I changed to lower case "c", the web map populated.  Maybe my stupidity will help somebody else save a little time.

0 Kudos