<?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 I am having difficulty making changes to a feature layer. The feature layer is in edi in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/i-am-having-difficulty-making-changes-to-a-feature/m-p/29691#M319</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We are trying to connect to a web server and modify a feature layer. We are able to access and change a "stations" layer we created, but we are unable to change the feature layer for mission attributes. The set of code we are using is&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-(void) viewDidLoad &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{ self.mapView.touchDelegate = self; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;self.mapView.calloutDelegate = self; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;self.mapView.showMagnifierOnTapAndHold = YES; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;self.webmap = [AGSWebMap webMapWithItemId:@"2974209e5f3544c9be61cf33fe3a4d2b" credential:nil]; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;//designate a delegate to be notified as web map is opened &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;self.webmap.delegate = self; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[self.webmap openIntoMapView:self.mapView]; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-(void)mapView: (AGSMapView *)mapView didClickCalloutAccessoryButtonForGraphic: (AGSGraphic *)graphic{ &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;self.activeFeatureLayer = (AGSFeatureLayer*) graphic.layer; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;AGSPopupInfo *info = [AGSPopupInfo popupInfoForGraphic:graphic]; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;self.popupVC = [[[AGSPopupsContainerViewController alloc] initWithPopupInfo:info graphic:graphic usingNavigationControllerStack:NO] autorelease]; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;self.popupVC.delegate = self; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;/*******************/ &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;self.popupVC.modalTransitionStyle = UIModalTransitionStyleFlipHorizontal; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;NSLog(@"Graphics Information : %@", [graphic.attributes objectForKey:@"NUM_LIVE"] ); &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;NSLog(@"Graphics Information : %@", graphic.attributes );&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[graphic.attributes setObject:[NSNumber numberWithInteger:42] forKey:@"NUM_LIVE"]; [self.activeFeatureLayer updateFeatures:[NSArray arrayWithObject:graphic]];&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;//add button functionality &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;//This will load up a new detail view for our project. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SecondDetailViewController *secondDetailViewController = [[SecondDetailViewController alloc] initWithNibName:@"SecondDetailView" bundle:nil];&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[self.navigationController pushViewController:secondDetailViewController animated:NO]; }&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I access the station layer, I am able to update and change numbers, strings, etc. But every time I try to modify the other layer, it kicks back an error message saying that "could not save edits. please try again."&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Mar 2012 19:01:03 GMT</pubDate>
    <dc:creator>RichardWalker</dc:creator>
    <dc:date>2012-03-29T19:01:03Z</dc:date>
    <item>
      <title>I am having difficulty making changes to a feature layer. The feature layer is in edi</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/i-am-having-difficulty-making-changes-to-a-feature/m-p/29691#M319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We are trying to connect to a web server and modify a feature layer. We are able to access and change a "stations" layer we created, but we are unable to change the feature layer for mission attributes. The set of code we are using is&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-(void) viewDidLoad &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{ self.mapView.touchDelegate = self; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;self.mapView.calloutDelegate = self; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;self.mapView.showMagnifierOnTapAndHold = YES; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;self.webmap = [AGSWebMap webMapWithItemId:@"2974209e5f3544c9be61cf33fe3a4d2b" credential:nil]; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;//designate a delegate to be notified as web map is opened &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;self.webmap.delegate = self; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[self.webmap openIntoMapView:self.mapView]; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-(void)mapView: (AGSMapView *)mapView didClickCalloutAccessoryButtonForGraphic: (AGSGraphic *)graphic{ &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;self.activeFeatureLayer = (AGSFeatureLayer*) graphic.layer; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;AGSPopupInfo *info = [AGSPopupInfo popupInfoForGraphic:graphic]; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;self.popupVC = [[[AGSPopupsContainerViewController alloc] initWithPopupInfo:info graphic:graphic usingNavigationControllerStack:NO] autorelease]; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;self.popupVC.delegate = self; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;/*******************/ &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;self.popupVC.modalTransitionStyle = UIModalTransitionStyleFlipHorizontal; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;NSLog(@"Graphics Information : %@", [graphic.attributes objectForKey:@"NUM_LIVE"] ); &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;NSLog(@"Graphics Information : %@", graphic.attributes );&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[graphic.attributes setObject:[NSNumber numberWithInteger:42] forKey:@"NUM_LIVE"]; [self.activeFeatureLayer updateFeatures:[NSArray arrayWithObject:graphic]];&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;//add button functionality &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;//This will load up a new detail view for our project. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SecondDetailViewController *secondDetailViewController = [[SecondDetailViewController alloc] initWithNibName:@"SecondDetailView" bundle:nil];&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[self.navigationController pushViewController:secondDetailViewController animated:NO]; }&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I access the station layer, I am able to update and change numbers, strings, etc. But every time I try to modify the other layer, it kicks back an error message saying that "could not save edits. please try again."&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Mar 2012 19:01:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/i-am-having-difficulty-making-changes-to-a-feature/m-p/29691#M319</guid>
      <dc:creator>RichardWalker</dc:creator>
      <dc:date>2012-03-29T19:01:03Z</dc:date>
    </item>
    <item>
      <title>Re: I am having difficulty making changes to a feature layer. The feature layer is in</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/i-am-having-difficulty-making-changes-to-a-feature/m-p/29692#M320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Richard,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If possible, please attach a sample application you are using so i can have a look at it.&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>Fri, 30 Mar 2012 20:34:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/i-am-having-difficulty-making-changes-to-a-feature/m-p/29692#M320</guid>
      <dc:creator>NimeshJarecha</dc:creator>
      <dc:date>2012-03-30T20:34:28Z</dc:date>
    </item>
  </channel>
</rss>

