AnsweredAssumed Answered

Survey123 adding basemaps from Portal

Question asked by NEOMAPPER on Apr 26, 2019
Latest reply on May 2, 2019 by JTedrick-esristaff

I'm trying to add our "World Imagery (for export)"  from portal to survey123 but I can't get it to show. Maybe I set this JSON script up wrong? Does anyone have an example where you've got something to display from Portal? When I run the script in the JSON Formatter & Validator no errors are generated.

 

{
    "displayInfo": {
        "map": {
            "coordinateFormat": null,
            "defaultType": {
                    "append": true,
                "includeLibrary": false,
                     "mapSources": [
                    {
                              "name": "World Imagery",
                              "url": "portalURL.net/hu/home/item.html?id=88af623317ff4e038b53e93f2c61287c",
                              "storeInMapLibrary": false
                    }
                ]
            },               
            "home": {
                "latitude": 40.61491433394532,
                "longitude": -81.53769671459095,
                "zoomLevel": 18.52
            },
            "preview": {
                "coordinateFormat": null,
                "zoomLevel": 17.5
            }
        },
        "style": {
            "backgroundColor": null,
            "backgroundImage": null,
            "inputBackgroundColor": null,
            "inputTextColor": null,
            "textColor": null,
            "toolbarBackgroundColor": null,
            "toolbarTextColor": null
        }
    },
    "imagesInfo": {
        "captureResolution": 1280
    },
    "publishInfo": {
        "connectVersion": "3.4.29",
        "webFormTransform": true
    },
    "queryInfo": {
        "applySpatialFilter": true,
        "mode": "manual",
        "where": ""
    },
    "sentInfo": {
        "enabled": true
    },
    "serviceInfo": null
}

 

 

Outcomes