<?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: how to use the useThousandsSeparator property in ArcGIS Viewer for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/how-to-use-the-usethousandsseparator-property/m-p/709981#M21550</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This will be fixed in the next release - 2.3.1 - which is planned for release later this week.&amp;nbsp; Also the property name will be spelled with two s's to be consistent with the API.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Apr 2011 17:47:05 GMT</pubDate>
    <dc:creator>BjornSvensson</dc:creator>
    <dc:date>2011-04-26T17:47:05Z</dc:date>
    <item>
      <title>how to use the useThousandsSeparator property</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/how-to-use-the-usethousandsseparator-property/m-p/709977#M21546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Been reading the documentation under PopUpFieldInfo for the Flex API, and it seems like I should write the popupconfig file like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;field name="SITUS_NBR" alias="Number" visible="true"&amp;gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;format useThousandsSeparator="false" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/field&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But this doesn't take out the comma in the number field in the pop up window.&amp;nbsp; Does anyone know the right syntax to use to achieve this?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Apr 2011 20:57:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/how-to-use-the-usethousandsseparator-property/m-p/709977#M21546</guid>
      <dc:creator>CameronBrown</dc:creator>
      <dc:date>2011-04-20T20:57:55Z</dc:date>
    </item>
    <item>
      <title>Re: how to use the useThousandsSeparator property</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/how-to-use-the-usethousandsseparator-property/m-p/709978#M21547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Cameron,&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;First thing is the correct syntax for the XML file is &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;lt;field name="SITUS_NBR" alias="Number" visible="true"&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;format usethousandseparator="false" /&amp;gt;
&amp;nbsp; &amp;lt;/field&amp;gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Notice the case and the missing "s" after thousand.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; If you are one that is using the FlexViewer source code than you can fix the BUG that is causing this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the MapManager.mxml line 980.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;is Currently (BUG):&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;pFieldInfo.format.useThousandsSeparator = fields&lt;I&gt;.format.@usethousandseparator;&lt;/I&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;needs to be (FIX):&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;pFieldInfo.format.useThousandsSeparator = fields&lt;I&gt;.format.@usethousandseparator == "true";&lt;/I&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 06:26:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/how-to-use-the-usethousandsseparator-property/m-p/709978#M21547</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2021-12-12T06:26:09Z</dc:date>
    </item>
    <item>
      <title>Re: how to use the useThousandsSeparator property</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/how-to-use-the-usethousandsseparator-property/m-p/709979#M21548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Robert.&amp;nbsp; Unfortunately, I am just using the sample viewer and not compiling source code.&amp;nbsp;&amp;nbsp; Do you think this will be fixed by the sample viewer team in an update?&amp;nbsp; Since pop-ups were a big part of this version it seems like it would be pretty important to fix...but there's only so much complaining I can do when talking about a free viewer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, why is it 'usethousandseparator' when the api reference says 'useThousandsSeparator'?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Apr 2011 14:40:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/how-to-use-the-usethousandsseparator-property/m-p/709979#M21548</guid>
      <dc:creator>CameronBrown</dc:creator>
      <dc:date>2011-04-21T14:40:37Z</dc:date>
    </item>
    <item>
      <title>Re: how to use the useThousandsSeparator property</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/how-to-use-the-usethousandsseparator-property/m-p/709980#M21549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Cameron,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; I am not sure about the priority of getting an update out but I would say it might come quickly as there is a MAJOR bug in the API that prevents snapping and editing when the map is any other wkid than webmercator or geographic.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The reason (partially) for the usethousandseparator being different in the viewer than in the API is that esri uses a standard of having all attributes in the config files lowercase for consistancy. As to why they left out the "s" is anyone's best guess.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Apr 2011 14:46:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/how-to-use-the-usethousandsseparator-property/m-p/709980#M21549</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2011-04-21T14:46:07Z</dc:date>
    </item>
    <item>
      <title>Re: how to use the useThousandsSeparator property</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/how-to-use-the-usethousandsseparator-property/m-p/709981#M21550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This will be fixed in the next release - 2.3.1 - which is planned for release later this week.&amp;nbsp; Also the property name will be spelled with two s's to be consistent with the API.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Apr 2011 17:47:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/how-to-use-the-usethousandsseparator-property/m-p/709981#M21550</guid>
      <dc:creator>BjornSvensson</dc:creator>
      <dc:date>2011-04-26T17:47:05Z</dc:date>
    </item>
    <item>
      <title>Re: how to use the useThousandsSeparator property</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/how-to-use-the-usethousandsseparator-property/m-p/709982#M21551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a problem with the thousand separator. I have an integer-field (ID-field) in this rest-service (&lt;/SPAN&gt;&lt;A href="http://askeladden_wms.ra.no/ArcGIS/rest/services/Askeladden/Kulturminner_ReadOnly/MapServer/1"&gt;http://askeladden_wms.ra.no/ArcGIS/rest/services/Askeladden/Kulturminner_ReadOnly/MapServer/1&lt;/A&gt;&lt;SPAN&gt;) which I want to include in a rather complex url to be able to open an external database with information about features in the service:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://www.kulturminnesok.no/content/search?search=9373&amp;amp;searchtype=1&amp;amp;county=&amp;amp;municipality=&amp;amp;culture_environment=0&amp;amp;man_em_dating=0&amp;amp;category=&amp;amp;em_art1=&amp;amp;em_category=&amp;amp;em_date=&amp;amp;conservation=&amp;amp;em_old_function=&amp;amp;submit=S%C3%B8k"&gt;http://www.kulturminnesok.no/content/search?search=9373&amp;amp;searchtype=1&amp;amp;county=&amp;amp;municipality=&amp;amp;culture_environment=0&amp;amp;man_em_dating=0&amp;amp;category=&amp;amp;em_art1=&amp;amp;em_category=&amp;amp;em_date=&amp;amp;conservation=&amp;amp;em_old_function=&amp;amp;submit=S%C3%B8k&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have created a custom pop-up that looks like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-style:italic;"&gt;&lt;A href="http://www.kulturminnesok.no/content/search?search="&gt;http://www.kulturminnesok.no/content/search?search=&lt;/A&gt;&lt;STRONG&gt;{LokalitetID}&lt;/STRONG&gt;&amp;amp;searchtype=1&amp;amp;county=&amp;amp;municipality=&amp;amp;culture_environment=0&amp;amp;man_em_dating=0&amp;amp;category=&amp;amp;em_art1=&amp;amp;em_category=&amp;amp;em_date=&amp;amp;conservation=&amp;amp;em_old_function=&amp;amp;submit=S%C3%B8k&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The important field heire is {LokalitetID}. This is returned in the flex-viewer pop-up (standard pop up, version3.5) with the thousand separator ",". That means, instead of "113224" it returns "113,224". This makes the URL invalid.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;By chance or maybe pure luck, I found a workaround.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In the xml-file for the spesific pop-up, I had to add theese two lines:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;format precision="-1" usethousandsseparator="false" useutc="false" dateformat="shortDateShortTime"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/field&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The whole xml-file looks like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;?xml version="1.0" ?&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;configuration&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;title&amp;gt;{Navn}_1&amp;lt;/title&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;description&amp;gt;&amp;lt;![CDATA[&amp;lt;a href="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.kulturminnesok.no/content/search?search=" rel="nofollow" target="_blank"&gt;http://www.kulturminnesok.no/content/search?search=&lt;/A&gt;&lt;SPAN&gt;{LokalitetID}&amp;amp;searchtype=1&amp;amp;county=&amp;amp;municipality=&amp;amp;culture_environment=0&amp;amp;man_em_dating=0&amp;amp;category=&amp;amp;em_art1=&amp;amp;em_category=&amp;amp;em_date=&amp;amp;conservation=&amp;amp;em_old_function=&amp;amp;submit=S%C3%B8k"&amp;gt;Faktaark - kulturminnesøk&amp;lt;/a&amp;gt;]]&amp;gt;&amp;lt;/description&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;fields&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;field name="LokalitetID" alias="LokalitetID"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;format precision="-1" usethousandsseparator="false" useutc="false" dateformat="shortDateShortTime"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/field&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;field name="Navn" alias="Navn"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;field name="BegrensetOffentlighet" alias="BegrensetOffentlighet"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;field name="Tag" alias="Tag"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;field name="GlobalID" alias="GlobalID"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;field name="KategoriID" alias="KategoriID"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;field name="VernetypeID" alias="VernetypeID"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;field name="KommuneNummer" alias="KommuneNummer"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/fields&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;showattachments&amp;gt;false&amp;lt;/showattachments&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;showrelatedrecords&amp;gt;false&amp;lt;/showrelatedrecords&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/configuration&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I dont know why the flexviewer add "use utc" and "dateformat", but it seems like you have to specify this value:&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt; usethousandsseparator="false"&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;It looks like "true" is the default value, a bit confusing that in the builder, you have an option to check it on.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyway, this looks like a solution for me.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Dec 2013 09:39:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/how-to-use-the-usethousandsseparator-property/m-p/709982#M21551</guid>
      <dc:creator>SveinungRaheim</dc:creator>
      <dc:date>2013-12-13T09:39:07Z</dc:date>
    </item>
  </channel>
</rss>

