<?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: Adding attachments for each feature in Flex?????? in ArcGIS Viewer for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/adding-attachments-for-each-feature-in-flex/m-p/324204#M9409</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Braden-&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would still be using a fully qualified url. As long as your attachments (excel files) are inside your wwwroot folder somewhere it will resolve just fine. I would stay away from the UNC path as they are problematic in popups. If you migrate your app to a different server/machine when going live then just recalculate the field to reflect the new machine name or add another field and reference it in the popup.xml file. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;~Matt&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Aug 2013 15:50:01 GMT</pubDate>
    <dc:creator>MattPohl</dc:creator>
    <dc:date>2013-08-13T15:50:01Z</dc:date>
    <item>
      <title>Adding attachments for each feature in Flex??????</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/adding-attachments-for-each-feature-in-flex/m-p/324201#M9406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using the application builder in ArcGIS Viewer for Flex(v.3.3) as a student. I would like attach a different excel spreadsheet for each pop-up within a layer. Is there a way to do this? I know you can add general attachments that affect the whole layer, but is &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;there a way to specifically add different ones to each feature within the layer?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Braden Pierson&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Aug 2013 16:51:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/adding-attachments-for-each-feature-in-flex/m-p/324201#M9406</guid>
      <dc:creator>BradenPierson1</dc:creator>
      <dc:date>2013-08-12T16:51:27Z</dc:date>
    </item>
    <item>
      <title>Re: Adding attachments for each feature in Flex??????</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/adding-attachments-for-each-feature-in-flex/m-p/324202#M9407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Braden-&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes this can be done. You need to have a field calculated with fully qualified urls for that particular layer. For example if you had a parcel layer that had 5 features and each one of the parcels had its own Excel report, you would have 5 Excel files. I would create a folder somewhere inside the wwwroot folder, call it 'reports' and then put all your Excel files inside it. Then calculate the field as:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://YourMachineName/reports/...."&gt;http://YourMachineName/reports/....&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; to get the appropriate file name at the end of the url I always have a field (reportID) that corresponds the feature to the report. For instance parcel 1 would have a reportID value of 1, parcel 2 would have a reportID value of 2, etc. I then make sure the reports are all named the same with the unique ID at the end. For instance: ExcelReport1.xls for parcel 1, ExcelReport2.xls for parcel 2, ExcelReport3.xls for parcel 3, etc. This way I can use a statement like this in the field calculator:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;reportID=&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://YourMachineName/reports/ExcelReport" rel="nofollow" target="_blank"&gt;http://YourMachineName/reports/ExcelReport&lt;/A&gt;&lt;SPAN&gt;"&amp;amp;[reportID]&amp;amp;".xls"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;**When creating this field, make sure it is type: text with a length that will hold the entire url. I usually just go with 200 for a length. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Than just use that field in your popup config and each feature will have it own unique attachment. I don't use the app builder but it looks like you would use the Custom tab when configuring you popup. You than would use HTML formatting to configure the popup. The Field containing your url will need the &amp;lt;a href= tag. This is well documented here: &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/flex-viewer/concepts/index.html#/Configuring_pop_ups_in_Application_Builder/01m30000004p000000/"&gt;http://resources.arcgis.com/en/help/flex-viewer/concepts/index.html#/Configuring_pop_ups_in_Application_Builder/01m30000004p000000/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;~Matt&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Aug 2013 19:44:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/adding-attachments-for-each-feature-in-flex/m-p/324202#M9407</guid>
      <dc:creator>MattPohl</dc:creator>
      <dc:date>2013-08-12T19:44:37Z</dc:date>
    </item>
    <item>
      <title>Re: Adding attachments for each feature in Flex??????</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/adding-attachments-for-each-feature-in-flex/m-p/324203#M9408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Matt,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;Because I am using the app builder, wouldn't I use \\YourMachineName\webrootfolder\Reports\ExcelReport"&amp;amp;[reportID]&amp;amp;".xls" instead of "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://YourMachineName/reports/ExcelReport" rel="nofollow" target="_blank"&gt;http://YourMachineName/reports/ExcelReport&lt;/A&gt;&lt;SPAN&gt;"&amp;amp;[reportID]&amp;amp;".xls" since I am referencing the directory that holds the information? The site is not online yet so there is technically no real http to reference. Or am I mistaken? &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;Should I wait until it is implemented into the site to add these attachments, so that I can then reference "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://YourMachineName/reports/ExcelReport" rel="nofollow" target="_blank"&gt;http://YourMachineName/reports/ExcelReport&lt;/A&gt;&lt;SPAN&gt;"&amp;amp;[reportID]&amp;amp;".xls"?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Braden&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Aug 2013 14:04:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/adding-attachments-for-each-feature-in-flex/m-p/324203#M9408</guid>
      <dc:creator>BradenPierson1</dc:creator>
      <dc:date>2013-08-13T14:04:49Z</dc:date>
    </item>
    <item>
      <title>Re: Adding attachments for each feature in Flex??????</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/adding-attachments-for-each-feature-in-flex/m-p/324204#M9409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Braden-&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would still be using a fully qualified url. As long as your attachments (excel files) are inside your wwwroot folder somewhere it will resolve just fine. I would stay away from the UNC path as they are problematic in popups. If you migrate your app to a different server/machine when going live then just recalculate the field to reflect the new machine name or add another field and reference it in the popup.xml file. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;~Matt&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Aug 2013 15:50:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/adding-attachments-for-each-feature-in-flex/m-p/324204#M9409</guid>
      <dc:creator>MattPohl</dc:creator>
      <dc:date>2013-08-13T15:50:01Z</dc:date>
    </item>
    <item>
      <title>Re: Adding attachments for each feature in Flex??????</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/adding-attachments-for-each-feature-in-flex/m-p/324205#M9410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I prefer the URL method listed above but you can also use the Attachment Manger and attach the files directly into the geodatabase.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Aug 2013 17:09:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/adding-attachments-for-each-feature-in-flex/m-p/324205#M9410</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2013-08-13T17:09:45Z</dc:date>
    </item>
    <item>
      <title>Re: Adding attachments for each feature in Flex??????</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/adding-attachments-for-each-feature-in-flex/m-p/324206#M9411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've tried it both ways, and both times, I get the following message:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Server Error - The remote server returned an error: (404) Not Found.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For the create attachments way, they attached just fine within ArcMap, however, when opening them up in Flex, I get that message. I pulled the files from a subfolder within my www root folder. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The URL option did the same thing, and I made sure my URL was correct as well. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Braden&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Aug 2013 17:15:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/adding-attachments-for-each-feature-in-flex/m-p/324206#M9411</guid>
      <dc:creator>BradenPierson1</dc:creator>
      <dc:date>2013-08-13T17:15:35Z</dc:date>
    </item>
    <item>
      <title>Re: Adding attachments for each feature in Flex??????</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/adding-attachments-for-each-feature-in-flex/m-p/324207#M9412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Braden-&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In ArcMap try using the Identify tool and click on one of your features. Then see if you can open the link from the Identify popup window. If not, than you know that you have the url setup wrong. If it does open, we can work from there.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Matt&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Aug 2013 17:36:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/adding-attachments-for-each-feature-in-flex/m-p/324207#M9412</guid>
      <dc:creator>MattPohl</dc:creator>
      <dc:date>2013-08-13T17:36:05Z</dc:date>
    </item>
    <item>
      <title>Re: Adding attachments for each feature in Flex??????</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/adding-attachments-for-each-feature-in-flex/m-p/324208#M9413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hey guys,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It must be the URL that is a problem. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I got this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;404 - File or directory not found.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The path to the Excel Reports are Z:\SBALP_2013\SBALP\Reports with Z being my mapped drive to the my machine. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So thus, I figured it would be for instance, &lt;/SPAN&gt;&lt;A href="http://mymachinename/SBALP_2013/SBALP/Reports/ExcelReport1.xls"&gt;http://mymachinename/SBALP_2013/SBALP/Reports/ExcelReport1.xls&lt;/A&gt;&lt;SPAN&gt; as the resulting URL.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Aug 2013 17:58:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/adding-attachments-for-each-feature-in-flex/m-p/324208#M9413</guid>
      <dc:creator>BradenPierson1</dc:creator>
      <dc:date>2013-08-13T17:58:36Z</dc:date>
    </item>
    <item>
      <title>Re: Adding attachments for each feature in Flex??????</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/adding-attachments-for-each-feature-in-flex/m-p/324209#M9414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Braden-&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To test.... open windows explorer and navigate to your wwwroot folder (C:\inetpub\wwwroot). Create a folder in the wwwroot folder called reports. Copy and past your excel files into the new folder. Then open a web browser and in the address bar type: &lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://localhost/reports/TheReportName.xls"&gt;http://localhost/reports/TheReportName.xls&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; This should open the excel file (of course if it is a .xlsx you will use that as the file extension). You then can substituent the localhost part of the url with your computers name and see if that works. If you are not sure of your computers name, go to: Start, Control Panel, Administrative Tools, and then Internet Information Services (IIS) Manager. Once the IIS manager opens your computer's name will be listed on the top with the word 'Home' next to it. So if your computer's name is Lab01 the url: &lt;/SPAN&gt;&lt;A href="http://Lab01/reports/TheReportName.xls"&gt;http://Lab01/reports/TheReportName.xls&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp; should work as well. Once you get this working just use that url for your field in ArcMap.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Matt&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Aug 2013 18:34:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/adding-attachments-for-each-feature-in-flex/m-p/324209#M9414</guid>
      <dc:creator>MattPohl</dc:creator>
      <dc:date>2013-08-13T18:34:17Z</dc:date>
    </item>
    <item>
      <title>Re: Adding attachments for each feature in Flex??????</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/adding-attachments-for-each-feature-in-flex/m-p/324210#M9415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Braden,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kind of depends on which method you use.&amp;nbsp; If you add them as attachments to the FC in the FGDB, then you would use the popup config files and enable attachments.&amp;nbsp; Then, through the service, when one clicks on the feature with attachemnts, you will have the ability to open them.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For the other method, you are putting the path to the standalone files themselves.&amp;nbsp; In this case, you would set up a virtual directory on your server that "points" to the location of the files.&amp;nbsp; Then, you would use an URL (&lt;/SPAN&gt;&lt;A href="http://yourserver/folder/filename.ext"&gt;http://yourserver/folder/filename.ext&lt;/A&gt;&lt;SPAN&gt;) as the attribute value and set this up as a hyperlink in the popupconfig.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;R_&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Aug 2013 23:13:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/adding-attachments-for-each-feature-in-flex/m-p/324210#M9415</guid>
      <dc:creator>RhettZufelt</dc:creator>
      <dc:date>2013-08-13T23:13:44Z</dc:date>
    </item>
  </channel>
</rss>

