AnsweredAssumed Answered

Can I create a WebMap from a 'Web Mapping Application'?

Question asked by guilherme.pigosso@hotmail.com on Nov 5, 2018
Latest reply on Nov 5, 2018 by rscheitlin

Hello all,

 

I have an application using the Javascript API 4.9, that want load a 'Web Mapping Application' from my organization. I created the login page, and load all itens from the Portal, so, I have the PortalItem with type='Web Mapping Application'. But when I try to create a WebMap using this PortalItem and load into a <div>, I have a error: 

  1. details:
    1. type: "Web Mapping Application"
    2. __proto__: Object
  2. message: "Invalid portal item type 'Web Mapping Application', expected 'Web Map'"
  3. name: "webmap:invalid-portal-item"

 

So, if the object WebMap do not accept Web Mapping Application, how should I load it?

 

Thank you!

Outcomes