<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Do we have any global variable to access Portal object like this.appConfig or this.map in widgets of Web AppBuilder? in ArcGIS Web AppBuilder Questions</title>
    <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/do-we-have-any-global-variable-to-access-portal/m-p/313019#M8314</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;2. Do we have any code written to fetch Web Maps that a logged in Portal user has access to in Web AppBuilder?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Vara Prasad.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 May 2016 05:20:03 GMT</pubDate>
    <dc:creator>Vara_PrasadM_S</dc:creator>
    <dc:date>2016-05-05T05:20:03Z</dc:date>
    <item>
      <title>Do we have any global variable to access Portal object like this.appConfig or this.map in widgets of Web AppBuilder?</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/do-we-have-any-global-variable-to-access-portal/m-p/313019#M8314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;2. Do we have any code written to fetch Web Maps that a logged in Portal user has access to in Web AppBuilder?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Vara Prasad.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 May 2016 05:20:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/do-we-have-any-global-variable-to-access-portal/m-p/313019#M8314</guid>
      <dc:creator>Vara_PrasadM_S</dc:creator>
      <dc:date>2016-05-05T05:20:03Z</dc:date>
    </item>
    <item>
      <title>Re: Do we have any global variable to access Portal object like this.appConfig or this.map in widgets of Web AppBuilder?</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/do-we-have-any-global-variable-to-access-portal/m-p/313020#M8315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Vara,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; 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.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;portalUtils.js&lt;/LI&gt;&lt;LI&gt;portalUrlUtils.js&lt;/LI&gt;&lt;/OL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 May 2016 12:02:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/do-we-have-any-global-variable-to-access-portal/m-p/313020#M8315</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-05-05T12:02:45Z</dc:date>
    </item>
  </channel>
</rss>

