<?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 Re: Popup re-formats desired values in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/popup-re-formats-desired-values/m-p/400280#M20095</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;James,&lt;/P&gt;&lt;P&gt;You should be able to use field calculator or something similar to replace spaces (ASCII 32) with non-breaking spaces (ASCII160).&amp;nbsp; I was using a REST API query/update for my testing.&amp;nbsp; Since the non-breaking space is a special character in html, it uses a special escape sequence.&amp;nbsp; AGO&amp;nbsp;will&amp;nbsp;use this escape sequence, so you get non-breaking spaces.&amp;nbsp; When you string&amp;nbsp;several non-breaking spaces&amp;nbsp;together, you will get the desired padding in the map's pop-ups.&amp;nbsp; The web browser will not combine non-breaking spaces into a single space.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 May 2017 06:35:35 GMT</pubDate>
    <dc:creator>RandyBurton</dc:creator>
    <dc:date>2017-05-30T06:35:35Z</dc:date>
    <item>
      <title>Popup re-formats desired values</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/popup-re-formats-desired-values/m-p/400277#M20092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We have a hosted feature layer that published from a feature class in a file geodatabase.&amp;nbsp; The attributes in the columns are formatted in a specific desired way so as to have padded spaces between characters in these TEXT columns.&amp;nbsp; As seen in the attribute table itself:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/354121_csv1.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;For the feature layer after it is uploaded and a hosted feature layer is created, we&amp;nbsp;set a custom attribute display&amp;nbsp;and configure&amp;nbsp;the columns as required:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-2 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/354155_csv2.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, in the actual popup it seems to re-format the values and removes the padding/spaces between the characters:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-3 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/354156_csv3.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any way to prohibit this from happening or an alternative workaround?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 May 2017 15:37:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/popup-re-formats-desired-values/m-p/400277#M20092</guid>
      <dc:creator>JamesCrandall</dc:creator>
      <dc:date>2017-05-26T15:37:23Z</dc:date>
    </item>
    <item>
      <title>Re: Popup re-formats desired values</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/popup-re-formats-desired-values/m-p/400278#M20093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It might be an HTML thing where spaces get combined.&amp;nbsp; Have you experimented with non-breaking spaces?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UPDATE:&lt;/P&gt;&lt;P&gt;I did some testing with AGO and&amp;nbsp;replaced spaces with non-breaking spaces (ASCII 160) in a test field. AGO replaced them with the proper html escape codes when displaying them.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 May 2017 22:33:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/popup-re-formats-desired-values/m-p/400278#M20093</guid>
      <dc:creator>RandyBurton</dc:creator>
      <dc:date>2017-05-26T22:33:36Z</dc:date>
    </item>
    <item>
      <title>Re: Popup re-formats desired values</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/popup-re-formats-desired-values/m-p/400279#M20094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Randy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you clarify? &amp;nbsp;Are you saying that in your testing AGO automatically removed the spaces? &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If so, then I would assume there's nothing that can be done to stop this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Take care.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 May 2017 18:47:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/popup-re-formats-desired-values/m-p/400279#M20094</guid>
      <dc:creator>JamesCrandall</dc:creator>
      <dc:date>2017-05-27T18:47:08Z</dc:date>
    </item>
    <item>
      <title>Re: Popup re-formats desired values</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/popup-re-formats-desired-values/m-p/400280#M20095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;James,&lt;/P&gt;&lt;P&gt;You should be able to use field calculator or something similar to replace spaces (ASCII 32) with non-breaking spaces (ASCII160).&amp;nbsp; I was using a REST API query/update for my testing.&amp;nbsp; Since the non-breaking space is a special character in html, it uses a special escape sequence.&amp;nbsp; AGO&amp;nbsp;will&amp;nbsp;use this escape sequence, so you get non-breaking spaces.&amp;nbsp; When you string&amp;nbsp;several non-breaking spaces&amp;nbsp;together, you will get the desired padding in the map's pop-ups.&amp;nbsp; The web browser will not combine non-breaking spaces into a single space.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 May 2017 06:35:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/popup-re-formats-desired-values/m-p/400280#M20095</guid>
      <dc:creator>RandyBurton</dc:creator>
      <dc:date>2017-05-30T06:35:35Z</dc:date>
    </item>
    <item>
      <title>Re: Popup re-formats desired values</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/popup-re-formats-desired-values/m-p/400281#M20096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oh!&amp;nbsp; Okay understood!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks for the suggestion!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 May 2017 15:57:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/popup-re-formats-desired-values/m-p/400281#M20096</guid>
      <dc:creator>JamesCrandall</dc:creator>
      <dc:date>2017-05-30T15:57:22Z</dc:date>
    </item>
  </channel>
</rss>

