AnsweredAssumed Answered

Add web map in app studio

Question asked by craiggad on Feb 5, 2020
Latest reply on Feb 13, 2020 by ESoekianto-esristaff



I have succeeded in adding a web map in App studio but when I replace the code with my company web map it doesn't work. 


I'm completely new to this. How do I change the code to get organisational web maps to load?


Thanks in advance 


App {
    id: app
    width: 414
    height: 736
    property real scaleFactor: AppFramework.displayScaleFactor
    property string portalUrl: "";
    property string trailheadsItemID: "mycompanywebmapid"
    Portal {
        id: arcgisOnline
        url: portalUrl
        loginRequired: false