<?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 in ArcGIS Viewer for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/attachments/m-p/685281#M20846</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We have been having some problems with the attachments and the edit widget.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We had this all working fine and then it stopped &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;we can view attachments through the editor widget we just cannot submit them :-((&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;we choose the file to attach, its name comes across to attachment widget but then we cannot click the "submit" button, the "cancel" button works but cannot submit new one.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Image Attachment1.png = cann access attachment&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;image atatchment2.png = can get name across to editor widget&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;image attachment3.png "submit" button changes colour on hover but no action on click &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i can add attachments with desktop, and i can view and add them through rest interface just not through the editor widget.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyone have any ideas?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;** a possible cause may be that we have changed default arcgisserver directory (i.e cache input output etc directories folder from c:\ to d:\ -- could this cause problem&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We usually use chrome as browser i used IE and it threw and error YAY! any one know what this error means (smiley face was not in orig)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;JSONParseError: Unexpected &amp;lt; encountered&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at com.esri.serialization.json::JSONTokenizer/parseError()&lt;C&gt;&lt;/C&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at com.esri.serialization.json::JSONTokenizer/getNextToken()&lt;C&gt;&lt;/C&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at com.esri.serialization.json::JSONDecoder/nextToken()&lt;C&gt;&lt;/C&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at com.esri.serialization.json::JSONDecoder()&lt;C&gt;&lt;/C&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at com.esri.serialization.json::JSON$/decode()&lt;C&gt;&lt;/C&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at Function/com.esri.ags.tasks:FeatureServiceTask/addAttachment/com.esri.ags.tasks:onComplete()&lt;C&gt;&lt;/C&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at flash.events::EventDispatcher/dispatchEventFunction()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at flash.events::EventDispatcher/dispatchEvent()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at com.esri.ags.utils::MultipartURLLoader/onComplete()&lt;C&gt;&lt;/C&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at flash.events::EventDispatcher/dispatchEventFunction()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at flash.events::EventDispatcher/dispatchEvent()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at flash.net::URLLoader/onComplete()&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Aug 2011 06:33:32 GMT</pubDate>
    <dc:creator>AHay</dc:creator>
    <dc:date>2011-08-03T06:33:32Z</dc:date>
    <item>
      <title>attachments</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/attachments/m-p/685275#M20840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have the editor widget working but am experiencing some issues with attachments.&amp;nbsp; I am able to upload an attachment but once I wish to show that attachment and it attempts to open in a new browser window I get the following error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;Server Error - The remote server returned an error: (404) Not Found.
Code: 500&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;SPAN&gt;I used firebug to try to figure out what is going on but cannot seem to get more info than the error above...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I looked at the attachments table created in the SDE and the uploads get entered into the table fine...the problem is in their retrieval.&amp;nbsp; As a side note...where are the actual uploaded documents stored??&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the help!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Mar 2011 13:26:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/attachments/m-p/685275#M20840</guid>
      <dc:creator>philippschnetzer</dc:creator>
      <dc:date>2011-03-04T13:26:39Z</dc:date>
    </item>
    <item>
      <title>Re: attachments</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/attachments/m-p/685276#M20841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Philipp,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; I don't know an explanation to your error but the answer to where the attachments are store is in a BLOB field as a binary object.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Mar 2011 13:36:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/attachments/m-p/685276#M20841</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2011-03-04T13:36:42Z</dc:date>
    </item>
    <item>
      <title>Re: attachments</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/attachments/m-p/685277#M20842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;thanks, I see that now - I just didn't know you could store any type of file in such a field....&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I reconfigured my arcgisserver virtual directories to make sure they are all in inetpub/wwwroot and available for my website...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now when I try to view an attachment through my flex site I get the following error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;Server Error - Unable to connect to the remote server
Code: 500&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;The server is set-up so that it cannot 'see' itself (I am not the IT guy so I cannot explain this any further...) meaning, I cannot view my flex site if I use a web browser directly on the server (unless I use the IP address and change all the references to the domain name in the code to the IP address instead).&amp;nbsp; Could this be affecting the ability to view an attachment??&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do I need to add the SDE database to some type of virtual directory? I have basically kept most default installation parameters - meaning the SQL databases are stored in "c:/program files/microsoft sql express/....... "&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;continued thanks...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 04:49:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/attachments/m-p/685277#M20842</guid>
      <dc:creator>philippschnetzer</dc:creator>
      <dc:date>2021-12-12T04:49:45Z</dc:date>
    </item>
    <item>
      <title>Re: attachments</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/attachments/m-p/685278#M20843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Phillip,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; I know that I added the ArcGISSOC and ArcGISWebServices as users to my SQL Server.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Mar 2011 17:19:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/attachments/m-p/685278#M20843</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2011-03-04T17:19:39Z</dc:date>
    </item>
    <item>
      <title>Re: attachments</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/attachments/m-p/685279#M20844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Robert,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I did that too....also added the ArcGISSOM too just in case...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I will continue to try to resolve this as this is a vital component for my application.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your assistance.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Mar 2011 18:30:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/attachments/m-p/685279#M20844</guid>
      <dc:creator>philippschnetzer</dc:creator>
      <dc:date>2011-03-04T18:30:21Z</dc:date>
    </item>
    <item>
      <title>Re: attachments</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/attachments/m-p/685280#M20845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;A href="http://forums.arcgis.com/threads/15154-Edit-Widget-amp-Attachments?p=48846#post48846"&gt;http://forums.arcgis.com/threads/15154-Edit-Widget-amp-Attachments?p=48846#post48846&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Not sure if this is the same problem, sounds somewhat similar though.&amp;nbsp; Anyway figured I'd throw it out there.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Mar 2011 21:09:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/attachments/m-p/685280#M20845</guid>
      <dc:creator>BarrettStanke</dc:creator>
      <dc:date>2011-03-04T21:09:05Z</dc:date>
    </item>
    <item>
      <title>Re: attachments</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/attachments/m-p/685281#M20846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We have been having some problems with the attachments and the edit widget.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We had this all working fine and then it stopped &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;we can view attachments through the editor widget we just cannot submit them :-((&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;we choose the file to attach, its name comes across to attachment widget but then we cannot click the "submit" button, the "cancel" button works but cannot submit new one.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Image Attachment1.png = cann access attachment&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;image atatchment2.png = can get name across to editor widget&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;image attachment3.png "submit" button changes colour on hover but no action on click &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i can add attachments with desktop, and i can view and add them through rest interface just not through the editor widget.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyone have any ideas?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;** a possible cause may be that we have changed default arcgisserver directory (i.e cache input output etc directories folder from c:\ to d:\ -- could this cause problem&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We usually use chrome as browser i used IE and it threw and error YAY! any one know what this error means (smiley face was not in orig)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;JSONParseError: Unexpected &amp;lt; encountered&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at com.esri.serialization.json::JSONTokenizer/parseError()&lt;C&gt;&lt;/C&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at com.esri.serialization.json::JSONTokenizer/getNextToken()&lt;C&gt;&lt;/C&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at com.esri.serialization.json::JSONDecoder/nextToken()&lt;C&gt;&lt;/C&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at com.esri.serialization.json::JSONDecoder()&lt;C&gt;&lt;/C&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at com.esri.serialization.json::JSON$/decode()&lt;C&gt;&lt;/C&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at Function/com.esri.ags.tasks:FeatureServiceTask/addAttachment/com.esri.ags.tasks:onComplete()&lt;C&gt;&lt;/C&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at flash.events::EventDispatcher/dispatchEventFunction()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at flash.events::EventDispatcher/dispatchEvent()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at com.esri.ags.utils::MultipartURLLoader/onComplete()&lt;C&gt;&lt;/C&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at flash.events::EventDispatcher/dispatchEventFunction()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at flash.events::EventDispatcher/dispatchEvent()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at flash.net::URLLoader/onComplete()&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Aug 2011 06:33:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/attachments/m-p/685281#M20846</guid>
      <dc:creator>AHay</dc:creator>
      <dc:date>2011-08-03T06:33:32Z</dc:date>
    </item>
  </channel>
</rss>

