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:
- details:
- type: "Web Mapping Application"
- __proto__: Object
- message: "Invalid portal item type 'Web Mapping Application', expected 'Web Map'"
- name: "webmap:invalid-portal-item"
So, if the object WebMap do not accept Web Mapping Application, how should I load it?
Thank you!