<?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: Arcade Label Expression causing ArcPro to be unresponsive after update..new to arcade expression  in Developers Questions</title>
    <link>https://community.esri.com/t5/developers-questions/arcade-label-expression-causing-arcpro-to-be/m-p/672921#M4601</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure why it makes ArcPro unresponsive but was able to make expression work declaring var at end of script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//create labels for all_jointattachment layer by commtransfer value&lt;BR /&gt;var i = 0&lt;BR /&gt;var features = []&lt;BR /&gt;//create function to filter from comm transferred field&lt;BR /&gt;function addvalue(feat) {&lt;BR /&gt; if (RIGHT(feat,5)=='FALSE') {&lt;BR /&gt; features[i++] = feat;&lt;BR /&gt; }&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;//add value from field commtransferred and filter out ones with false&lt;BR /&gt;addvalue($feature.JointCompany_1+$feature.CommTransferred_1)&lt;BR /&gt;addvalue($feature.JointCompany_2+$feature.CommTransferred_2)&lt;BR /&gt;addvalue($feature.JointCompany_3+$feature.CommTransferred_3')&lt;BR /&gt;addvalue($feature.JointCompany_4+$feature.CommTransferred_4)&lt;BR /&gt;addvalue($feature.JointCompany_5+$feature.CommTransferred_5)&lt;BR /&gt;//returns all string company names for features where value is false&lt;/P&gt;&lt;P&gt;var lbl = Concatenate (Replace(features,'FALSE',''), ";")&lt;BR /&gt;return(lbl)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Feb 2020 18:59:41 GMT</pubDate>
    <dc:creator>AlexanderLynch2</dc:creator>
    <dc:date>2020-02-04T18:59:41Z</dc:date>
    <item>
      <title>Arcade Label Expression causing ArcPro to be unresponsive after update..new to arcade expression</title>
      <link>https://community.esri.com/t5/developers-questions/arcade-label-expression-causing-arcpro-to-be/m-p/672920#M4600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is my code unsuitable as a label expression? My ArcPro project is unresponsive after applying the arcade script. I have a feeling I messed up and created an infinity loop? I am not too sure as I normally use FME for post-processing...Essentially it's looking at fields 1-5 for domain coded value 'FALSE'. If value found, then concatenate and display label values in JointCompany_n [company name].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, is there one location and resource/guide/book on arcade? I am getting frustrated with how many tabs are open just to find information on which function, operator, and logical are being used...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//create labels for all_jointattachment layer by commtransfer value&lt;BR /&gt;var i = 0&lt;BR /&gt;var features = []&lt;BR /&gt;//create function to filter from comm transferred field&lt;BR /&gt;function addvalue(feat) {&lt;BR /&gt; if (RIGHT(feat,5)=='FALSE') {&lt;BR /&gt; features[i++] = feat;&lt;BR /&gt; }&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;//add value from field commtransferred and filter out ones with false&lt;BR /&gt;addvalue($feature.JointCompany_1+$feature.CommTransferred_1)&lt;BR /&gt;addvalue($feature.JointCompany_2+$feature.CommTransferred_2)&lt;BR /&gt;addvalue($feature.JointCompany_3+$feature.CommTransferred_3')&lt;BR /&gt;addvalue($feature.JointCompany_4+$feature.CommTransferred_4)&lt;BR /&gt;addvalue($feature.JointCompany_5+$feature.CommTransferred_5)&lt;BR /&gt;//returns all features where value is false&lt;/P&gt;&lt;P&gt;return Concatenate (Replace(features,'FALSE',''), ";")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Feb 2020 18:13:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/arcade-label-expression-causing-arcpro-to-be/m-p/672920#M4600</guid>
      <dc:creator>AlexanderLynch2</dc:creator>
      <dc:date>2020-02-04T18:13:32Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade Label Expression causing ArcPro to be unresponsive after update..new to arcade expression</title>
      <link>https://community.esri.com/t5/developers-questions/arcade-label-expression-causing-arcpro-to-be/m-p/672921#M4601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure why it makes ArcPro unresponsive but was able to make expression work declaring var at end of script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//create labels for all_jointattachment layer by commtransfer value&lt;BR /&gt;var i = 0&lt;BR /&gt;var features = []&lt;BR /&gt;//create function to filter from comm transferred field&lt;BR /&gt;function addvalue(feat) {&lt;BR /&gt; if (RIGHT(feat,5)=='FALSE') {&lt;BR /&gt; features[i++] = feat;&lt;BR /&gt; }&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;//add value from field commtransferred and filter out ones with false&lt;BR /&gt;addvalue($feature.JointCompany_1+$feature.CommTransferred_1)&lt;BR /&gt;addvalue($feature.JointCompany_2+$feature.CommTransferred_2)&lt;BR /&gt;addvalue($feature.JointCompany_3+$feature.CommTransferred_3')&lt;BR /&gt;addvalue($feature.JointCompany_4+$feature.CommTransferred_4)&lt;BR /&gt;addvalue($feature.JointCompany_5+$feature.CommTransferred_5)&lt;BR /&gt;//returns all string company names for features where value is false&lt;/P&gt;&lt;P&gt;var lbl = Concatenate (Replace(features,'FALSE',''), ";")&lt;BR /&gt;return(lbl)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Feb 2020 18:59:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/arcade-label-expression-causing-arcpro-to-be/m-p/672921#M4601</guid>
      <dc:creator>AlexanderLynch2</dc:creator>
      <dc:date>2020-02-04T18:59:41Z</dc:date>
    </item>
  </channel>
</rss>

