<?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: Attachments Missing in Native App in ArcGIS AppStudio Questions</title>
    <link>https://community.esri.com/t5/arcgis-appstudio-questions/attachments-missing-in-native-app/m-p/766092#M316</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you give a bit more information?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- What are you adding to your app: Webmap or Feature Service?&lt;/P&gt;&lt;P&gt;- What do you mean by attachments are missing - You cannot see attachments or how to query for attachments?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are working with a feature service directly, check out the attachment sample app which shows how to get and add attachments from a feature service.&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/201505_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 May 2016 17:57:17 GMT</pubDate>
    <dc:creator>SathyaPrasad</dc:creator>
    <dc:date>2016-05-19T17:57:17Z</dc:date>
    <item>
      <title>Attachments Missing in Native App</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/attachments-missing-in-native-app/m-p/766091#M315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So I have a number of maps on Arc GIS online that have geodatabase attachments (PDFs, charts, etc). When I migrate these maps to AppStudio for Arc GIS, the attachments are now missing. Is there a setting to enable attachments that I just haven't been able to find?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 May 2016 19:09:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/attachments-missing-in-native-app/m-p/766091#M315</guid>
      <dc:creator>DBCooper</dc:creator>
      <dc:date>2016-05-18T19:09:04Z</dc:date>
    </item>
    <item>
      <title>Re: Attachments Missing in Native App</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/attachments-missing-in-native-app/m-p/766092#M316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you give a bit more information?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- What are you adding to your app: Webmap or Feature Service?&lt;/P&gt;&lt;P&gt;- What do you mean by attachments are missing - You cannot see attachments or how to query for attachments?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are working with a feature service directly, check out the attachment sample app which shows how to get and add attachments from a feature service.&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/201505_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 May 2016 17:57:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/attachments-missing-in-native-app/m-p/766092#M316</guid>
      <dc:creator>SathyaPrasad</dc:creator>
      <dc:date>2016-05-19T17:57:17Z</dc:date>
    </item>
    <item>
      <title>Re: Attachments Missing in Native App</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/attachments-missing-in-native-app/m-p/766093#M317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks! I've been working with the attachment editor for a few days. I've hit a snag trying to change the display text of the attachments.&amp;nbsp; I want to strip a number of characters from the front of the string, and a number of characters from the end and keep everything in between.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example: "Text_text_text_for_&lt;STRONG&gt;LOCATION&lt;/STRONG&gt;_(text).png." I want to strip everything but&lt;STRONG&gt; LOCATION&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the code I've been working with in QT:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Text {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; text: name.substr(22, name.length()-14);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; wrapMode: Text.WrapAtWordBoundaryOrAnywhere&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;I've found this substring formatting mentioned on multiple sites, but I just can't get it to work. I keep getting LOCATION_(text).png&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 May 2016 21:25:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/attachments-missing-in-native-app/m-p/766093#M317</guid>
      <dc:creator>DBCooper</dc:creator>
      <dc:date>2016-05-24T21:25:58Z</dc:date>
    </item>
    <item>
      <title>Re: Attachments Missing in Native App</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/attachments-missing-in-native-app/m-p/766094#M318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am assuming your "LOCATION" value&amp;nbsp; varies with attachments. Otherwise you can just hard code the name as "LOCATION"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FOR instance aa_bb_cc_for_Kansas_(ss).png &amp;amp; ffff_sss_ee_for_Redlands_(eer).png.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this is how your attachments are, then you could use the following split method&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;text&lt;/SPAN&gt;:&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;name.split(&lt;SPAN style="color: #008000;"&gt;'_'&lt;/SPAN&gt;)[name.split(&lt;SPAN style="color: #008000;"&gt;'_'&lt;/SPAN&gt;).length&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;-2]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This assumes that you have no "_" in "LOCATION" value and also you have&amp;nbsp; exactly one more "_" after the "LOCATION" value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If not then we need to change the logic for attachment name extraction. In that case please provide more examples of your attachments.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Nakul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 May 2016 00:39:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/attachments-missing-in-native-app/m-p/766094#M318</guid>
      <dc:creator>nakulmanocha</dc:creator>
      <dc:date>2016-05-25T00:39:15Z</dc:date>
    </item>
  </channel>
</rss>

