AnsweredAssumed Answered

Web Map ID of a map in Portal for ArcGIS

Question asked by sarojthapa60 on Sep 29, 2016
Latest reply on Sep 29, 2016 by sarojthapa60

I have web maps created in Portal for ArcGIS and are shared within the organization. I am trying to bring those maps into my app using ArcGIS API for JavaScript. When I use the unique web map id, the map does not show up. However, if I use the map id of a map created in ArcGIS Online, the map shows up.


], function(
        MapView, WebMap,
) {

    var webmapids = [

     * Create multiple WebMap instances
    var webmaps = {
        return new WebMap({
            portalItem: {
                id: webmapid