<?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: CUSTOM ATTRIBUTE DISPLAY -&amp;gt; Configure popup in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/custom-attribute-display-gt-configure-popup/m-p/331780#M16550</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create an expression with this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Proper ($feature.City, 'firstword')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where in my example, I have a field called City. Then you can use that expression like a field in your custom popup. It will also appear in the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Nov 2018 00:20:42 GMT</pubDate>
    <dc:creator>MikeMinami</dc:creator>
    <dc:date>2018-11-16T00:20:42Z</dc:date>
    <item>
      <title>CUSTOM ATTRIBUTE DISPLAY -&gt; Configure popup</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/custom-attribute-display-gt-configure-popup/m-p/331776#M16546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to convert an entire field to be 'proper' inside of a popup. When you configure a custom popup it's all done in HTML.&amp;nbsp; It's easy in python or even arcade, but ESRI forces it to be in HTML.&amp;nbsp; I'm seeing ways to change it through CSS, but not within just the HTML window.&amp;nbsp;&amp;nbsp;Any ideas?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #4c4c4c;"&gt;Here's the code:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;SPAN style="background-color: #ffffff;"&gt;{caution_notes}&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Nov 2018 01:45:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/custom-attribute-display-gt-configure-popup/m-p/331776#M16546</guid>
      <dc:creator>MikeJones7</dc:creator>
      <dc:date>2018-11-15T01:45:37Z</dc:date>
    </item>
    <item>
      <title>Re: CUSTOM ATTRIBUTE DISPLAY -&gt; Configure popup</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/custom-attribute-display-gt-configure-popup/m-p/331777#M16547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you expand on what you mean by proper? The image you embedded will display anything thats written/stored in your Caution_Notes field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What kind of formatting are you hoping to achieve? What kind of information is stored in the Caution_Notes field?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Nov 2018 21:58:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/custom-attribute-display-gt-configure-popup/m-p/331777#M16547</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2018-11-15T21:58:11Z</dc:date>
    </item>
    <item>
      <title>Re: CUSTOM ATTRIBUTE DISPLAY -&gt; Configure popup</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/custom-attribute-display-gt-configure-popup/m-p/331778#M16548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I should have been more clear.&amp;nbsp; The field is about a paragraph in all CAPS. Ideally I would like it to only capitalize after a sentence ends.&amp;nbsp; I'm trying to make it readable by making it 'proper' case. Here is the link to achieve it in JavaScript, Python, VBScript and Arcade:&amp;nbsp;&lt;A class="link-titled" href="http://pro.arcgis.com/en/pro-app/help/mapping/text/specify-text-for-labels.htm" title="http://pro.arcgis.com/en/pro-app/help/mapping/text/specify-text-for-labels.htm"&gt;Specify text for labels—ArcGIS Pro | ArcGIS Desktop&lt;/A&gt;. Here is the example from the link using 'proper' case.&lt;/P&gt;&lt;DIV class=""&gt;&lt;PRE style="margin-bottom: 1.55rem;"&gt;&lt;CODE class="" style="color: #595959; background-color: #f8f8f8; border: 1px solid #efefef; font-size: 0.85em;"&gt;Proper($feature.NAME, 'firstword')&lt;/CODE&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;P&gt;Python&lt;/P&gt;&lt;DIV class=""&gt;&lt;PRE style="margin-bottom: 1.55rem;"&gt;&lt;CODE class="" style="color: #595959; background-color: #f8f8f8; border: 1px solid #efefef; font-size: 0.85em;"&gt;def FindLabel ( [NAME] ):&amp;nbsp;&amp;nbsp; S = [NAME]&amp;nbsp;&amp;nbsp; S = S.title()&amp;nbsp;&amp;nbsp; return S&lt;/CODE&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;P&gt;VBScript&lt;/P&gt;&lt;DIV class=""&gt;&lt;PRE style="margin-bottom: 1.55rem;"&gt;&lt;CODE class="" style="color: #595959; background-color: #f8f8f8; border: 1px solid #efefef; font-size: 0.85em;"&gt;Function FindLabel ( [NAME] ) FindLabel = UCase(Left([NAME],1)) &amp;amp; LCase(Right([NAME], Len([NAME]) -1)) End Function&lt;/CODE&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;P&gt;JScript&lt;/P&gt;&lt;DIV class=""&gt;&lt;PRE style="margin-bottom: 1.55rem;"&gt;&lt;CODE class="" style="color: #595959; background-color: #f8f8f8; border: 1px solid #efefef; font-size: 0.85em;"&gt;function FindLabel ( [NAME] ) { var str = [NAME]; var iLen = String(str).length; var upper = (str.substring(0,1)).toUpperCase(); var lower = (str.substring(1, iLen)).toLowerCase() return upper + lower; }&lt;/CODE&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For custom&amp;nbsp;popups, there is only the option for HTML.&amp;nbsp; A lot of data is recorded in CAPS so I'm surprised to not see something like this out of the box.&amp;nbsp; Any ideas on formatting?&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Nov 2018 22:09:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/custom-attribute-display-gt-configure-popup/m-p/331778#M16548</guid>
      <dc:creator>MikeJones7</dc:creator>
      <dc:date>2018-11-15T22:09:36Z</dc:date>
    </item>
    <item>
      <title>Re: CUSTOM ATTRIBUTE DISPLAY -&gt; Configure popup</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/custom-attribute-display-gt-configure-popup/m-p/331779#M16549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not the most savvy with writing code but you can do something similar to the last sample with Arcade by creating an expression in the pop up configuration:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/arcade/function-reference/text_functions/" title="https://developers.arcgis.com/arcade/function-reference/text_functions/"&gt;Text Functions | ArcGIS for Developers&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/429705_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Nov 2018 23:26:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/custom-attribute-display-gt-configure-popup/m-p/331779#M16549</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2018-11-15T23:26:24Z</dc:date>
    </item>
    <item>
      <title>Re: CUSTOM ATTRIBUTE DISPLAY -&gt; Configure popup</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/custom-attribute-display-gt-configure-popup/m-p/331780#M16550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create an expression with this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Proper ($feature.City, 'firstword')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where in my example, I have a field called City. Then you can use that expression like a field in your custom popup. It will also appear in the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Nov 2018 00:20:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/custom-attribute-display-gt-configure-popup/m-p/331780#M16550</guid>
      <dc:creator>MikeMinami</dc:creator>
      <dc:date>2018-11-16T00:20:42Z</dc:date>
    </item>
    <item>
      <title>Re: CUSTOM ATTRIBUTE DISPLAY -&gt; Configure popup</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/custom-attribute-display-gt-configure-popup/m-p/331781#M16551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp;I can't create an expression in python, JScript&amp;nbsp;or arcade.&amp;nbsp; The expression must be in HTML.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/429661_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/429715_pastedImage_3.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Nov 2018 00:49:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/custom-attribute-display-gt-configure-popup/m-p/331781#M16551</guid>
      <dc:creator>MikeJones7</dc:creator>
      <dc:date>2018-11-16T00:49:56Z</dc:date>
    </item>
    <item>
      <title>Re: CUSTOM ATTRIBUTE DISPLAY -&gt; Configure popup</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/custom-attribute-display-gt-configure-popup/m-p/331782#M16552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, I misunderstood your post. The arcade expression I suggested will not work in HTML.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Nov 2018 17:20:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/custom-attribute-display-gt-configure-popup/m-p/331782#M16552</guid>
      <dc:creator>MikeMinami</dc:creator>
      <dc:date>2018-11-16T17:20:32Z</dc:date>
    </item>
  </channel>
</rss>

