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,
There is global vars available for this that I am aware of. But there are a couple of jimu utility classes that you should look at.