<?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 Popup Title and particular feature layer information in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/adding-popup-title-and-particular-feature-layer/m-p/558019#M4783</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the reply and the answer on the popup title.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How would you display particular field information?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The layer has several fields and I only wish to display a few.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;John&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Jun 2012 17:37:00 GMT</pubDate>
    <dc:creator>JohnMcleod1</dc:creator>
    <dc:date>2012-06-27T17:37:00Z</dc:date>
    <item>
      <title>Adding Popup Title and particular feature layer information</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/adding-popup-title-and-particular-feature-layer/m-p/558017#M4781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello Everyone,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm continuing from a former post.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A class="jive-link-external-small" href="http://forums.arcgis.com/threads/61025-iOS-Popup-not-displaying-feature-layer-information" rel="nofollow" target="_blank"&gt;http://forums.arcgis.com/threads/61025-iOS-Popup-not-displaying-feature-layer-information&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now, I want to have only some of the information show up in pop up.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Below is my code from the "didClickCalloutAccessoryButtonForGraphic" method&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;-(void)mapView:(AGSMapView *)mapView didClickCalloutAccessoryButtonForGraphic:(AGSGraphic *)graphic{ &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; self.activeFeatureLayer = (AGSFeatureLayer*) graphic.layer; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; AGSPopupInfo *info = [AGSPopupInfo popupInfoForGraphic:graphic]; &amp;nbsp;&amp;nbsp;&amp;nbsp; //Show popup for the graphic because the user tapped on the callout accessory button &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; self.popupVC.title = @"Parcel Information"; &amp;nbsp;&amp;nbsp;&amp;nbsp; //ADDED THIS LINE FROM THE "Related Record Editing Sample" &amp;nbsp;&amp;nbsp;&amp;nbsp; self.popupVC = [[[AGSPopupsContainerViewController alloc] initWithPopupInfo:info graphic:graphic usingNavigationControllerStack:NO] autorelease]; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; //COMMENTED MY CODE &amp;nbsp;&amp;nbsp;&amp;nbsp; //self.popupVC = [[[AGSPopupsContainerViewController alloc] initWithWebMap:self.webmap forFeature:graphic usingNavigationControllerStack:NO] autorelease]; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; self.popupVC.delegate = self; &amp;nbsp;&amp;nbsp;&amp;nbsp; self.popupVC.modalTransitionStyle =&amp;nbsp; UIModalTransitionStyleFlipHorizontal; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; //If iPad, use a modal presentation style &amp;nbsp;&amp;nbsp;&amp;nbsp; if([[UIDevice currentDevice] isIPad]) &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; self.popupVC.modalPresentationStyle = UIModalPresentationFormSheet; &amp;nbsp;&amp;nbsp;&amp;nbsp; [self presentModalViewController:self.popupVC animated:YES]; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, I tried to set a title to the pop up and it doesn't work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;John&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2012 17:13:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/adding-popup-title-and-particular-feature-layer/m-p/558017#M4781</guid>
      <dc:creator>JohnMcleod1</dc:creator>
      <dc:date>2012-06-27T17:13:25Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Popup Title and particular feature layer information</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/adding-popup-title-and-particular-feature-layer/m-p/558018#M4782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You should change&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;self.popupVC.title = @"Parcel Information";&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;to&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;info.title = @"Parcel Information";&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, 27 Jun 2012 17:20:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/adding-popup-title-and-particular-feature-layer/m-p/558018#M4782</guid>
      <dc:creator>NimeshJarecha</dc:creator>
      <dc:date>2012-06-27T17:20:49Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Popup Title and particular feature layer information</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/adding-popup-title-and-particular-feature-layer/m-p/558019#M4783</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the reply and the answer on the popup title.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How would you display particular field information?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The layer has several fields and I only wish to display a few.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;John&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2012 17:37:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/adding-popup-title-and-particular-feature-layer/m-p/558019#M4783</guid>
      <dc:creator>JohnMcleod1</dc:creator>
      <dc:date>2012-06-27T17:37:00Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Popup Title and particular feature layer information</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/adding-popup-title-and-particular-feature-layer/m-p/558020#M4784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can either remove unwanted fields from info.fieldInfos or set outFields property of feature layer. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, I just want to let you know that based on your code you are not using the popups defined in the web map. So if you make any changes in the popup defined on a web map then you won't see those changes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you are using the popup defined in the web map then you can manage the fields in the web map and it'll be honored in your app.&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, 27 Jun 2012 17:51:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/adding-popup-title-and-particular-feature-layer/m-p/558020#M4784</guid>
      <dc:creator>NimeshJarecha</dc:creator>
      <dc:date>2012-06-27T17:51:48Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Popup Title and particular feature layer information</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/adding-popup-title-and-particular-feature-layer/m-p/558021#M4785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;When I used the following code&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
self.popupVC = [[[AGSPopupsContainerViewController alloc] initWithWebMap:self.webmap forFeature:graphic usingNavigationControllerStack:NO] autorelease];
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and enable popups for the layer in my webmap, the field data does not show up.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]15570[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;John&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 00:05:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/adding-popup-title-and-particular-feature-layer/m-p/558021#M4785</guid>
      <dc:creator>JohnMcleod1</dc:creator>
      <dc:date>2021-12-12T00:05:27Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Popup Title and particular feature layer information</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/adding-popup-title-and-particular-feature-layer/m-p/558022#M4786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The field data does not show up because graphic belongs to "Koch Boundary" layer and it does not have popups enabled. Just change your code of didClickCalloutAccessoryButtonForGraphic like this...it won't show popup for the boundary layer.&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; self.activeFeatureLayer = (AGSFeatureLayer*) graphic.layer;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; NSLog(@"%@",graphic.layer.name);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (![graphic.layer.name isEqualToString:@"Koch_Boundary1"]) {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Show popup for the graphic because the user tapped on the callout accessory button&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; self.popupVC = [[[AGSPopupsContainerViewController alloc] initWithWebMap:self.webmap forFeature:graphic usingNavigationControllerStack:NO] autorelease];&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; self.popupVC.delegate = self;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; self.popupVC.modalTransitionStyle =&amp;nbsp; UIModalTransitionStyleFlipHorizontal;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //If iPad, use a modal presentation style&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if([[UIDevice currentDevice] isIPad])&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; self.popupVC.modalPresentationStyle = UIModalPresentationFormSheet;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [self presentModalViewController:self.popupVC animated:YES];&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jun 2012 15:35:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/adding-popup-title-and-particular-feature-layer/m-p/558022#M4786</guid>
      <dc:creator>NimeshJarecha</dc:creator>
      <dc:date>2012-06-28T15:35:24Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Popup Title and particular feature layer information</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/adding-popup-title-and-particular-feature-layer/m-p/558023#M4787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Unfortunately, when I use your code, I get nothing in the popup box.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;John&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jun 2012 17:24:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/adding-popup-title-and-particular-feature-layer/m-p/558023#M4787</guid>
      <dc:creator>JohnMcleod1</dc:creator>
      <dc:date>2012-06-28T17:24:21Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Popup Title and particular feature layer information</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/adding-popup-title-and-particular-feature-layer/m-p/558024#M4788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Try attached feature layer editing sample which uses your web map.&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, 29 Jun 2012 16:58:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/adding-popup-title-and-particular-feature-layer/m-p/558024#M4788</guid>
      <dc:creator>NimeshJarecha</dc:creator>
      <dc:date>2012-06-29T16:58:01Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Popup Title and particular feature layer information</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/adding-popup-title-and-particular-feature-layer/m-p/558025#M4789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Well, that did it!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It works flawlessly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I customize my popup attributes list and it works.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now the task, integrating the sample into my work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What, in your experience, would be the quickest and easily?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;John&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2012 16:29:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/adding-popup-title-and-particular-feature-layer/m-p/558025#M4789</guid>
      <dc:creator>JohnMcleod1</dc:creator>
      <dc:date>2012-07-02T16:29:54Z</dc:date>
    </item>
  </channel>
</rss>

