<?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 Cant override signin dialog on 3.14 api in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cant-override-signin-dialog-on-3-14-api/m-p/217966#M20239</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to override the signin dialog on the 3.14 api&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i set&lt;/P&gt;&lt;PRE __default_attr="javascript" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14422476634143106" data-renderedposition="71_8_912_16" jivemacro_uid="_14422476634143106"&gt;&lt;P&gt;esriBundle.identity.info = "Please sign in to access the item on ${server} ${resource}";&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;It works fine&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if i change it to&lt;/P&gt;&lt;PRE __default_attr="javascript" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14422476780751989" data-renderedposition="150_8_912_16" jivemacro_uid="_14422476780751989" modifiedtitle="true"&gt;&lt;P&gt;esriBundle.identity.info = "${server} ${resource}";&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;It works fine and I see my changes (it shows only the server name and resource)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However I would like it to only say "Please sign in to access secure resources".&amp;nbsp; The server name is confusing to users&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so if I change it to &lt;/P&gt;&lt;PRE __default_attr="javascript" __jive_macro_name="code" class="_jivemacro_uid_14422477497539469 jive_macro_code jive_text_macro" data-renderedposition="271_8_912_16" jivemacro_uid="_14422477497539469"&gt;&lt;P&gt;&lt;SPAN style="color: rgba(0, 0, 0, 0); font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px;"&gt;esriBundle.identity.info = "Please sign in to access secure resources";&lt;/SPAN&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;or if i remove either the server, or the resource reference i get&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #e23d39;"&gt;&lt;STRONG&gt;&lt;SPAN class="objectBox-errorMessage hasBreakSwitch objectBox"&gt;TypeError: a is null &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #e23d39;"&gt;&lt;STRONG&gt;&lt;SPAN class="objectBox-errorMessage hasBreakSwitch objectBox"&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;error is on a.setAttribute from init.js&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Help please&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/2525"&gt;Kelly Hutchins&lt;/A&gt;​&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Sep 2015 16:25:02 GMT</pubDate>
    <dc:creator>JeffPace</dc:creator>
    <dc:date>2015-09-14T16:25:02Z</dc:date>
    <item>
      <title>Cant override signin dialog on 3.14 api</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cant-override-signin-dialog-on-3-14-api/m-p/217966#M20239</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to override the signin dialog on the 3.14 api&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i set&lt;/P&gt;&lt;PRE __default_attr="javascript" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14422476634143106" data-renderedposition="71_8_912_16" jivemacro_uid="_14422476634143106"&gt;&lt;P&gt;esriBundle.identity.info = "Please sign in to access the item on ${server} ${resource}";&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;It works fine&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if i change it to&lt;/P&gt;&lt;PRE __default_attr="javascript" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14422476780751989" data-renderedposition="150_8_912_16" jivemacro_uid="_14422476780751989" modifiedtitle="true"&gt;&lt;P&gt;esriBundle.identity.info = "${server} ${resource}";&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;It works fine and I see my changes (it shows only the server name and resource)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However I would like it to only say "Please sign in to access secure resources".&amp;nbsp; The server name is confusing to users&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so if I change it to &lt;/P&gt;&lt;PRE __default_attr="javascript" __jive_macro_name="code" class="_jivemacro_uid_14422477497539469 jive_macro_code jive_text_macro" data-renderedposition="271_8_912_16" jivemacro_uid="_14422477497539469"&gt;&lt;P&gt;&lt;SPAN style="color: rgba(0, 0, 0, 0); font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px;"&gt;esriBundle.identity.info = "Please sign in to access secure resources";&lt;/SPAN&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;or if i remove either the server, or the resource reference i get&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #e23d39;"&gt;&lt;STRONG&gt;&lt;SPAN class="objectBox-errorMessage hasBreakSwitch objectBox"&gt;TypeError: a is null &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #e23d39;"&gt;&lt;STRONG&gt;&lt;SPAN class="objectBox-errorMessage hasBreakSwitch objectBox"&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;error is on a.setAttribute from init.js&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Help please&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/2525"&gt;Kelly Hutchins&lt;/A&gt;​&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Sep 2015 16:25:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cant-override-signin-dialog-on-3-14-api/m-p/217966#M20239</guid>
      <dc:creator>JeffPace</dc:creator>
      <dc:date>2015-09-14T16:25:02Z</dc:date>
    </item>
    <item>
      <title>Re: Cant override signin dialog on 3.14 api</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cant-override-signin-dialog-on-3-14-api/m-p/217967#M20240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/3099"&gt;Jeff Pace&lt;/A&gt;​ I suspect the error is happening because we are trying to set those values when the dialog displays and if the placeholders (${}) are missing the error occurs. This is something you can submit as a bug to support to see about getting it fixed in a future release. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For now you can workaround it by setting the resource string to this: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; esriBundle.identity.info = "Please sign in to access secure resources ${server} ${resource}";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then hide the div's for the server and resource info via css. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; .serverLink, .resLink{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; display:none;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Sep 2015 17:37:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cant-override-signin-dialog-on-3-14-api/m-p/217967#M20240</guid>
      <dc:creator>KellyHutchins</dc:creator>
      <dc:date>2015-09-14T17:37:51Z</dc:date>
    </item>
    <item>
      <title>Re: Cant override signin dialog on 3.14 api</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cant-override-signin-dialog-on-3-14-api/m-p/217968#M20241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That workaround worked perfectly thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it really a bug or just working as intended &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Sep 2015 17:42:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cant-override-signin-dialog-on-3-14-api/m-p/217968#M20241</guid>
      <dc:creator>JeffPace</dc:creator>
      <dc:date>2015-09-14T17:42:40Z</dc:date>
    </item>
    <item>
      <title>Re: Cant override signin dialog on 3.14 api</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cant-override-signin-dialog-on-3-14-api/m-p/217969#M20242</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Turns out we have an existing enhancement request in the system to make this text configurable. No word yet on which version this will be added to so for now the workaround is the way to go. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Sep 2015 23:43:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cant-override-signin-dialog-on-3-14-api/m-p/217969#M20242</guid>
      <dc:creator>KellyHutchins</dc:creator>
      <dc:date>2015-09-14T23:43:22Z</dc:date>
    </item>
  </channel>
</rss>

