<?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 3rd party API and sessions in a widget in ArcGIS Web AppBuilder Questions</title>
    <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/3rd-party-api-and-sessions-in-a-widget/m-p/102748#M3068</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DISCLAIMER: I am not a web developer!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to build a widget (or two) that can authenticate to an API and then use the session ID from the response&amp;nbsp;to be used for subsequent GET and POST calls. As I understand it I cannot set cookies from the client. I read up on the standard sessionStorage but not sure how that would work within widgets.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have built a python script to do this using sessions that does this easily and I am looking for an approach that will either make this possible in a single widget or (even better) I could have a authenticate widget and then use it another widget - perhaps using the DataManager (but that is for another time).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the objective is to authenticate to an Asset Management API and then download either, asset informatin, work orders and display them as point data within a feature collection in the map.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If anyone has experience or examples that could help, please share.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gareth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Feb 2020 01:03:56 GMT</pubDate>
    <dc:creator>GarethWalters2</dc:creator>
    <dc:date>2020-02-18T01:03:56Z</dc:date>
    <item>
      <title>3rd party API and sessions in a widget</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/3rd-party-api-and-sessions-in-a-widget/m-p/102748#M3068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DISCLAIMER: I am not a web developer!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to build a widget (or two) that can authenticate to an API and then use the session ID from the response&amp;nbsp;to be used for subsequent GET and POST calls. As I understand it I cannot set cookies from the client. I read up on the standard sessionStorage but not sure how that would work within widgets.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have built a python script to do this using sessions that does this easily and I am looking for an approach that will either make this possible in a single widget or (even better) I could have a authenticate widget and then use it another widget - perhaps using the DataManager (but that is for another time).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the objective is to authenticate to an Asset Management API and then download either, asset informatin, work orders and display them as point data within a feature collection in the map.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If anyone has experience or examples that could help, please share.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gareth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Feb 2020 01:03:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/3rd-party-api-and-sessions-in-a-widget/m-p/102748#M3068</guid>
      <dc:creator>GarethWalters2</dc:creator>
      <dc:date>2020-02-18T01:03:56Z</dc:date>
    </item>
  </channel>
</rss>

