<?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 Feature Layer Attachments in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/feature-layer-attachments/m-p/291547#M2619</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am following the documentation for attachment manager for the feature layer. In my case layer is the table in feature service. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What I am doing is &lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt; int fid = 27242 AGSGraphic* feature = [featureLayer lookupFeatureWithObjectId:fid];&amp;nbsp; NSLog("%@",feature);&amp;nbsp; AGSAttachmentManager* attMgr = [featureLayer attachmentManagerForFeature: feature];&amp;nbsp; [attMgr addAttachmentAsJpgWithImage:image name:@"My House"];&amp;nbsp; &lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What is am getting in NSLog is null , even though there is a feature in the layer with ObjectId 27242.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there something I am doing wrong?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Vikrant&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Nov 2012 19:19:53 GMT</pubDate>
    <dc:creator>VIKRANTKRISHNA</dc:creator>
    <dc:date>2012-11-13T19:19:53Z</dc:date>
    <item>
      <title>Feature Layer Attachments</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/feature-layer-attachments/m-p/291547#M2619</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am following the documentation for attachment manager for the feature layer. In my case layer is the table in feature service. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What I am doing is &lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt; int fid = 27242 AGSGraphic* feature = [featureLayer lookupFeatureWithObjectId:fid];&amp;nbsp; NSLog("%@",feature);&amp;nbsp; AGSAttachmentManager* attMgr = [featureLayer attachmentManagerForFeature: feature];&amp;nbsp; [attMgr addAttachmentAsJpgWithImage:image name:@"My House"];&amp;nbsp; &lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What is am getting in NSLog is null , even though there is a feature in the layer with ObjectId 27242.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there something I am doing wrong?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Vikrant&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Nov 2012 19:19:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/feature-layer-attachments/m-p/291547#M2619</guid>
      <dc:creator>VIKRANTKRISHNA</dc:creator>
      <dc:date>2012-11-13T19:19:53Z</dc:date>
    </item>
    <item>
      <title>Re: Feature Layer Attachments</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/feature-layer-attachments/m-p/291548#M2620</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;lookupFeatureWithObjectId will return feature only if it's available in graphics array of feature layer. Is that the case? If not, you must send query to get all the features from server and then go ahead from there.&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>Wed, 14 Nov 2012 21:52:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/feature-layer-attachments/m-p/291548#M2620</guid>
      <dc:creator>NimeshJarecha</dc:creator>
      <dc:date>2012-11-14T21:52:41Z</dc:date>
    </item>
  </channel>
</rss>

