However, the end of the url reads as "id=mapidhere". I can't get that to work. I noticed that the ArcGIS examples have "webmap=mapidhere" instead. I'm getting a "message: "Invalid portal item type 'Web Mapping Application', expected 'Web Map'" in the browser console, so I guess the map I'm using isn't right? Is there another way to get the right ID? Thanks.