<?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: Calculate field inserting extra characters in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/calculate-field-inserting-extra-characters/m-p/726269#M31856</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you both for your help! I used this&amp;nbsp;in the field =&amp;nbsp;&lt;/P&gt;&lt;P&gt;'https://s3.console.aws.amazon.com/s3/buckets/hamptondes/Manhole/{}'.format(!FACILITYID!)&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Aug 2020 16:47:42 GMT</pubDate>
    <dc:creator>JoeLivoti</dc:creator>
    <dc:date>2020-08-07T16:47:42Z</dc:date>
    <item>
      <title>Calculate field inserting extra characters</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/calculate-field-inserting-extra-characters/m-p/726266#M31853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to add a hyperlink to a layer referencing another field in the layer. I'm using python3 expression type in the calculate field window. Below is the code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'https://s3.console.aws.amazon.com/s3/buckets/hamptondes/Manhole/!FACILITYID!'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, It is populating with:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="unlinked"&gt;https://s3.console.aws.amazon.com/s3/buckets/hamptondes/Manhole/u"00133"&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For some reason it is adding the u and the " " around my facility ID&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need it to simply be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="unlinked"&gt;https://s3.console.aws.amazon.com/s3/buckets/hamptondes/Manhole/00&lt;/A&gt;133&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help is greatly appreciated!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Aug 2020 14:59:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/calculate-field-inserting-extra-characters/m-p/726266#M31853</guid>
      <dc:creator>JoeLivoti</dc:creator>
      <dc:date>2020-08-07T14:59:24Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate field inserting extra characters</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/calculate-field-inserting-extra-characters/m-p/726267#M31854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you need a string returned, then you need to concatenate the inputs as strings&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;r &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; r&lt;SPAN class="string token"&gt;"https://s3.console.aws.amazon.com/s3/buckets/hamptondes/Manhole/"&lt;/SPAN&gt;

f &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"{}{}"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;format&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;r&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"00133"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;

f
&lt;SPAN class="string token"&gt;'https://s3.console.aws.amazon.com/s3/buckets/hamptondes/Manhole/00133'&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;if it is something else, the link is no good, copy the code here if possible.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 07:03:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/calculate-field-inserting-extra-characters/m-p/726267#M31854</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2021-12-12T07:03:54Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate field inserting extra characters</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/calculate-field-inserting-extra-characters/m-p/726268#M31855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp;Try:&lt;/P&gt;&lt;PRE class="language-python line-numbers"&gt;&lt;CODE&gt;r&lt;SPAN class="string token"&gt;"url=https://s3.console.aws.amazon.com/s3/buckets/hamptondes/Manhole/{}"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;format&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;!FACILITYID!&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Aug 2020 16:41:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/calculate-field-inserting-extra-characters/m-p/726268#M31855</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2020-08-07T16:41:58Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate field inserting extra characters</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/calculate-field-inserting-extra-characters/m-p/726269#M31856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you both for your help! I used this&amp;nbsp;in the field =&amp;nbsp;&lt;/P&gt;&lt;P&gt;'https://s3.console.aws.amazon.com/s3/buckets/hamptondes/Manhole/{}'.format(!FACILITYID!)&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Aug 2020 16:47:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/calculate-field-inserting-extra-characters/m-p/726269#M31856</guid>
      <dc:creator>JoeLivoti</dc:creator>
      <dc:date>2020-08-07T16:47:42Z</dc:date>
    </item>
  </channel>
</rss>

