AnsweredAssumed Answered

Do we have any global variable to access Portal object like this.appConfig or this.map in widgets of Web AppBuilder?

Question asked by majetivaraprasad on May 4, 2016
Latest reply on May 5, 2016 by rscheitlin

Hi,

 

1. Could anyone one please let me know if there is any way to easily access ArcGIS Portal object in custom widgets just similar to this.map or this.appConfig. I found that we can access portalURL using this.appConfig.portalURL but no portal object or we need to simply create it where ever it is necessary.

2. Do we have any code written to fetch Web Maps that a logged in Portal user has access to in Web AppBuilder?

 

Thanks & Regards,

Vara Prasad.

Outcomes