<?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 on server but not on device in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/attachments-on-server-but-not-on-device/m-p/11963#M131</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;i can see that there is an attachment but it is blank after i come back into app&amp;nbsp; , i can see its file name and there is option to open it but there is no picture.&amp;nbsp; Fr gen popup it doesn't open at all and if you go into edit feature and then go to attachments it opens a blank image.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;the image is however on the server and can be saved and then opened.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;do you know were the image are stored on the server ? it may be a permissions issue&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Nov 2011 20:05:23 GMT</pubDate>
    <dc:creator>AHay</dc:creator>
    <dc:date>2011-11-09T20:05:23Z</dc:date>
    <item>
      <title>Attachments on server but not on device</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/attachments-on-server-but-not-on-device/m-p/11961#M129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;i have made a map to view on the esri ios app with editing and attachments enabled, all is good can edit and add attachments but when i come back into app the attachments images are blank.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;the images do get sent to server but they will not open from desktop / catalog i can only see then if i save to a folder then open from folder.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i fixed all the virtual paths to output and cache folders but still cannot see in app &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;any ideas anyone?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Nov 2011 04:54:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/attachments-on-server-but-not-on-device/m-p/11961#M129</guid>
      <dc:creator>AHay</dc:creator>
      <dc:date>2011-11-09T04:54:08Z</dc:date>
    </item>
    <item>
      <title>Re: Attachments on server but not on device</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/attachments-on-server-but-not-on-device/m-p/11962#M130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can you see the attachments on the web map you created?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Russ&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Nov 2011 15:16:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/attachments-on-server-but-not-on-device/m-p/11962#M130</guid>
      <dc:creator>RussRoberts</dc:creator>
      <dc:date>2011-11-09T15:16:17Z</dc:date>
    </item>
    <item>
      <title>Re: Attachments on server but not on device</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/attachments-on-server-but-not-on-device/m-p/11963#M131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;i can see that there is an attachment but it is blank after i come back into app&amp;nbsp; , i can see its file name and there is option to open it but there is no picture.&amp;nbsp; Fr gen popup it doesn't open at all and if you go into edit feature and then go to attachments it opens a blank image.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;the image is however on the server and can be saved and then opened.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;do you know were the image are stored on the server ? it may be a permissions issue&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Nov 2011 20:05:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/attachments-on-server-but-not-on-device/m-p/11963#M131</guid>
      <dc:creator>AHay</dc:creator>
      <dc:date>2011-11-09T20:05:23Z</dc:date>
    </item>
    <item>
      <title>Re: Attachments on server but not on device</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/attachments-on-server-but-not-on-device/m-p/11964#M132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have the same problem.&amp;nbsp; I can attach a picture to a point and as long as I don't disconnect from my wireless or 3g connection, I can see the attachment.&amp;nbsp; If I close out the esri app, turn off the iPad (standby), come back into the esri app, the attachment will still be available. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Once I disconnect from the network, reconnect and try to view the attached picture, a blank white picture is downloaded into the esri app.&amp;nbsp; The images are available via the layer in a desktop environment, so I know the pictures are being saved, their just not being downloaded back onto the iOS app when wanted.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I was thinking database or virtual directory issues, but haven't found anything yet.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2011 00:40:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/attachments-on-server-but-not-on-device/m-p/11964#M132</guid>
      <dc:creator>MatthewFletcher</dc:creator>
      <dc:date>2011-11-10T00:40:10Z</dc:date>
    </item>
    <item>
      <title>Re: Attachments on server but not on device</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/attachments-on-server-but-not-on-device/m-p/11965#M133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Are you able to open these attachments when viewing the features on ArcGIS Online or are these maps hosted on your mobile content server?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Russ&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2011 16:57:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/attachments-on-server-but-not-on-device/m-p/11965#M133</guid>
      <dc:creator>RussRoberts</dc:creator>
      <dc:date>2011-11-10T16:57:53Z</dc:date>
    </item>
    <item>
      <title>Re: Attachments on server but not on device</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/attachments-on-server-but-not-on-device/m-p/11966#M134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;All my data is hosted locally on the mobile content server.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Matt&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2011 17:38:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/attachments-on-server-but-not-on-device/m-p/11966#M134</guid>
      <dc:creator>MatthewFletcher</dc:creator>
      <dc:date>2011-11-10T17:38:14Z</dc:date>
    </item>
    <item>
      <title>Re: Attachments on server but not on device</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/attachments-on-server-but-not-on-device/m-p/11967#M135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Russ, my data is also hosted on local content server &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Matt, someone else with same prob, are you able to see the image in arcmap? i can only see it if i save to another folder and then open it&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Interestingly the android version of app throws and error stating internal server error ( i know generic error but a start) &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;this is a real issue as we really require the attachments part&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Nov 2011 03:01:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/attachments-on-server-but-not-on-device/m-p/11967#M135</guid>
      <dc:creator>AHay</dc:creator>
      <dc:date>2011-11-11T03:01:51Z</dc:date>
    </item>
    <item>
      <title>Re: Attachments on server but not on device</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/attachments-on-server-but-not-on-device/m-p/11968#M136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hey&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;just a couple of questions:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What folder are you grabbing the attachments from?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What directories do you have set up for you outputs?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there any way you are able to see the rest endpoint for your attachments? One way to check is to place that feature in a web map on arcgis.com and make sure your attachments are visible. Once you do this click on a feature with attachments and see if it will download and open or if you will get sent to a broken rest endpoint.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Russ&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Nov 2011 16:16:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/attachments-on-server-but-not-on-device/m-p/11968#M136</guid>
      <dc:creator>RussRoberts</dc:creator>
      <dc:date>2011-11-11T16:16:45Z</dc:date>
    </item>
    <item>
      <title>Re: Attachments on server but not on device</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/attachments-on-server-but-not-on-device/m-p/11969#M137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;here is a sample that will help you hit a feature with an attachment through the rest endpoint&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;sampleserver.arcgisonline.com/ArcGIS/rest/services/FolderNameHere/FeatureServiceName/FeatureServer/Layer # i.e 0/OID of a feature i.e 851/attachments&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Russ&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Nov 2011 16:48:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/attachments-on-server-but-not-on-device/m-p/11969#M137</guid>
      <dc:creator>RussRoberts</dc:creator>
      <dc:date>2011-11-11T16:48:17Z</dc:date>
    </item>
    <item>
      <title>Re: Attachments on server but not on device</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/attachments-on-server-but-not-on-device/m-p/11970#M138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hay,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm able to see the image in ArcMap via the identify tool in ArcMap.&amp;nbsp; Do you get a server error code 500 similar to what I wrote below?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Russ,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;My attachments are being stored in a SDE GeoDatabase in SQLExpress.&amp;nbsp; So I guess the folder location would be where the database is stored, at D:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data.&amp;nbsp; The feature class is in a feature dataset, not sure if it matters.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have 2 output directories.&amp;nbsp; One for internal firewall, the other for external.&amp;nbsp; The problem exists for both output directories.&amp;nbsp; The internal is located at&amp;nbsp; D:\arcgisserver\arcgisoutput\, the external is located at&amp;nbsp; D:\arcgisserver_external\arcgisoutput.&amp;nbsp; I am able to see the pictures I've taken as attachments in the output folders.&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried going the ArcGIS.com route to view my attachments.&amp;nbsp; Anytime I try to open an attachment, I receive an error stating "Server error - the remote name could not be resolved:'your.server.name'&amp;nbsp; Code:500".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Not sure what else to check.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Matt&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Nov 2011 16:33:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/attachments-on-server-but-not-on-device/m-p/11970#M138</guid>
      <dc:creator>MatthewFletcher</dc:creator>
      <dc:date>2011-11-14T16:33:14Z</dc:date>
    </item>
    <item>
      <title>Re: Attachments on server but not on device</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/attachments-on-server-but-not-on-device/m-p/11971#M139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;There is a problem with your outputs I think. I would post this question on the server forum or contact support to see if they can help you solve this issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Russ&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Nov 2011 17:53:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/attachments-on-server-but-not-on-device/m-p/11971#M139</guid>
      <dc:creator>RussRoberts</dc:creator>
      <dc:date>2011-11-14T17:53:39Z</dc:date>
    </item>
    <item>
      <title>Re: Attachments on server but not on device</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/attachments-on-server-but-not-on-device/m-p/11972#M140</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;SPAN&gt; i can see the names of the files by clicking feature with identify tool when i click on attachments link , the window open but when click on name nothing happens, i can then save the file to a location and then i can open.&amp;nbsp; i get no errors &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also Matt you said you could see you attachments in you outputs folder, all of my output folders are empty?? is that normal?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Nov 2011 21:47:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/attachments-on-server-but-not-on-device/m-p/11972#M140</guid>
      <dc:creator>AHay</dc:creator>
      <dc:date>2011-11-14T21:47:34Z</dc:date>
    </item>
    <item>
      <title>Re: Attachments on server but not on device</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/attachments-on-server-but-not-on-device/m-p/11973#M141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hay,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;There's a cleanup schedule you can set for the output folder.&amp;nbsp; Maybe the images were deleted via a cleanup.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In ArcCatalog, right click on an Admin connection to your ArcServer connection - click "Server Properties" - Directories tab - select output directory - edit button.&amp;nbsp; There's a Max File age and cleaning mode setting you can check.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Take a picture with the ESRI app, save it to your server and see if anything's written to the output folder. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I had some issues with saving attachments to the server before, which stemmed from IIS.&amp;nbsp; When the issues existed, I was receiving errors on the ESRI app when saving the attachment to the server.&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, 15 Nov 2011 12:57:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/attachments-on-server-but-not-on-device/m-p/11973#M141</guid>
      <dc:creator>MatthewFletcher</dc:creator>
      <dc:date>2011-11-15T12:57:37Z</dc:date>
    </item>
    <item>
      <title>Re: Attachments on server but not on device</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/attachments-on-server-but-not-on-device/m-p/11974#M142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hay,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I spoke with Tech support about this issue.&amp;nbsp; The attachments not being available on the iPad has to do with our network setup.&amp;nbsp; Forgive me, I'm not a network guy, so i don't fully understand it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Our GIS server is in a NAT subnet which is some how creating a loop.&amp;nbsp; The way I understand it, the loop isn't created until the iPad is disconnected from the GIS Server.&amp;nbsp; When the iPad is reconnected to the GIS server and the attachment is requested, the loop exists, not letting the attachment out and onto the iPad.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ESRI also said I should use ArcGIS Server to implement security vs. however we were doing it via the network.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry I don't have any more specifics.&amp;nbsp; Working with our network guy, hoping he figures it out.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Dec 2011 12:03:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/attachments-on-server-but-not-on-device/m-p/11974#M142</guid>
      <dc:creator>MatthewFletcher</dc:creator>
      <dc:date>2011-12-02T12:03:43Z</dc:date>
    </item>
    <item>
      <title>Re: Attachments on server but not on device</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/attachments-on-server-but-not-on-device/m-p/11975#M143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;hi&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;can you help me? I have to use attachment but it didn't work for me.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can send new data for the server:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; AGSPoint *point=[[AGSPoint alloc]initWithX:11.11 y:22.22 spatialReference:self.featureLayer.spatialReference];&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; AGSGraphic *graphic= [[AGSGraphic alloc]initWithGeometry:point symbol:nil attributes:attributes infoTemplateDelegate:nil];&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; NSArray *array = [[NSArray alloc]initWithObjects:graphic, nil];&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [self.featureLayer addFeatures:array];&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But I can't get the graphic(what i'm uploaded) ObjectID from the server so I cant upload a picture. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;One more problem: if I fill the ObjectID field with a correct number(814) I get error when I make an AttachmentManager.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;AGSGraphic* feature = [featureLayer lookupFeatureWithObjectId:814];&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;AGSAttachmentManager* attMgr = [featureLayer attachmentManagerForFeature: feature];&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFDictionary setObject:forKey:]: attempt to insert nil key'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;***&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What is the solution? Thanks for the answer!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Dec 2011 21:33:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/attachments-on-server-but-not-on-device/m-p/11975#M143</guid>
      <dc:creator>CsabaHuszár</dc:creator>
      <dc:date>2011-12-02T21:33:50Z</dc:date>
    </item>
    <item>
      <title>Re: Attachments on server but not on device</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/attachments-on-server-but-not-on-device/m-p/11976#M144</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;wow that is an interesting resolution, don't really understand it but sounds feasible.&amp;nbsp; please let me know how you go&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Dec 2011 22:53:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/attachments-on-server-but-not-on-device/m-p/11976#M144</guid>
      <dc:creator>AHay</dc:creator>
      <dc:date>2011-12-04T22:53:17Z</dc:date>
    </item>
    <item>
      <title>Re: Attachments on server but not on device</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/attachments-on-server-but-not-on-device/m-p/11977#M145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Csaba,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Your question is very much different than the original post in this thread. Hence, I would suggest creating a new thread.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Since, you are creating a new feature. You must wait until it's successfully added to server and then only you can add attachment. Here are the steps you should follow...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Adopt AGSFeatureLayerEditingDelegate delegate.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Set self.featureLayer.editingDelegate = self;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. Add features with [self.featureLayer addFeatures:array]; and wait for the result (success or failure) in the editing delegate methods.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4. If successes, the result is returned in featureLayer:operation:didFeatureEditsWithResults: method. You'll get a new object id.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;5. Now, you can do following and post the attachment.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;AGSGraphic* feature = [featureLayer lookupFeatureWithObjectId:&amp;lt;newObjectId&amp;gt;];&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;AGSAttachmentManager* attMgr = [featureLayer attachmentManagerForFeature: feature];&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nimesh&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nimesh&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Dec 2011 15:39:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/attachments-on-server-but-not-on-device/m-p/11977#M145</guid>
      <dc:creator>NimeshJarecha</dc:creator>
      <dc:date>2011-12-05T15:39:20Z</dc:date>
    </item>
    <item>
      <title>Re: Attachments on server but not on device</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/attachments-on-server-but-not-on-device/m-p/11978#M146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hay,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I finally got my attachments to pull onto the iOS app.&amp;nbsp; It took two additional steps:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1.)&amp;nbsp; My network guy took the loop out of our subnet.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2.)&amp;nbsp; I was still getting 401 unauthorized errors when accessing image attachments via REST.&amp;nbsp; I found this article &lt;/SPAN&gt;&lt;A href="http://support.esri.com/en/knowledgebase/techarticles/detail/37316"&gt;http://support.esri.com/en/knowledgebase/techarticles/detail/37316&lt;/A&gt;&lt;SPAN&gt; detailing how to fix the same error for a Business Analyst issue.&amp;nbsp; I followed the directions, enabling anonymous access for the ArcGISOutput folder, now everything works.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Matt&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Dec 2011 16:42:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/attachments-on-server-but-not-on-device/m-p/11978#M146</guid>
      <dc:creator>MatthewFletcher</dc:creator>
      <dc:date>2011-12-22T16:42:23Z</dc:date>
    </item>
    <item>
      <title>Re: Attachments on server but not on device</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/attachments-on-server-but-not-on-device/m-p/11979#M147</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;thanks for the response but this is not the issue for us.&amp;nbsp; We are using iis 7 and Anon Auth is enabled by default plus i thought i would check&amp;nbsp; and it is enabled.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i dont get any errors when i attempt to attach a file (arcgis server nor event viewer errors) , its just that nothing happens, i think it must be with our proxy setup.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ESRI support have been very helpful on this and we will be looking closely at our proxy in the new year &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks again a matt for all your input into this &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;have a great XMAS break&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Dec 2011 21:39:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/attachments-on-server-but-not-on-device/m-p/11979#M147</guid>
      <dc:creator>AHay</dc:creator>
      <dc:date>2011-12-22T21:39:47Z</dc:date>
    </item>
  </channel>
</rss>

