<?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: How can I get custom field value from popup selected index features if field visibility is false in popup fieldInfos? (arcgis-js-api 4.12) in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-i-get-custom-field-value-from-popup/m-p/549571#M51190</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This sample shows how to define the fields of the popup but the content is set by a function which creates the text using the features attributes. So you can set the popups content and choose not to use your test_id field in the popups content.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-bare" href="https://developers.arcgis.com/javascript/latest/sample-code/sandbox/index.html?sample=popuptemplate-function" title="https://developers.arcgis.com/javascript/latest/sample-code/sandbox/index.html?sample=popuptemplate-function"&gt;https://developers.arcgis.com/javascript/latest/sample-code/sandbox/index.html?sample=popuptemplate-function&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Sep 2020 12:29:05 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2020-09-09T12:29:05Z</dc:date>
    <item>
      <title>How can I get custom field value from popup selected index features if field visibility is false in popup fieldInfos? (arcgis-js-api 4.12)</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-i-get-custom-field-value-from-popup/m-p/549570#M51189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I create a feature layer from external service(JSON data). All the fields of the feature layer display in the popup. There is one custom field i.e. for eg 'Test_id' which has a unique value for each feature(not ObjectId). When I open any popup I get a selected index popup feature and from that feature/attributes, I fetch the 'Test_id' field value to perform some action. If I set field visibility false in the popup field Infos then in popup features I am not getting that field but I want that field to perform some logic and at the same time I want that field is not displayed in the popup UI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Issues&lt;/STRONG&gt;: If I set field visibility false in the popup field Infos then in popup features I am not getting that field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Question&lt;/STRONG&gt;: How can I get the 'Test_id' field value from popup selected index features if field visibility is false in the popup fieldInfos? If visibility is true in the popup field Infos then how to display none for that field in the popup UI&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2020 07:45:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-i-get-custom-field-value-from-popup/m-p/549570#M51189</guid>
      <dc:creator>ShefaliMantri</dc:creator>
      <dc:date>2020-09-09T07:45:14Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get custom field value from popup selected index features if field visibility is false in popup fieldInfos? (arcgis-js-api 4.12)</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-i-get-custom-field-value-from-popup/m-p/549571#M51190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This sample shows how to define the fields of the popup but the content is set by a function which creates the text using the features attributes. So you can set the popups content and choose not to use your test_id field in the popups content.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-bare" href="https://developers.arcgis.com/javascript/latest/sample-code/sandbox/index.html?sample=popuptemplate-function" title="https://developers.arcgis.com/javascript/latest/sample-code/sandbox/index.html?sample=popuptemplate-function"&gt;https://developers.arcgis.com/javascript/latest/sample-code/sandbox/index.html?sample=popuptemplate-function&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2020 12:29:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-i-get-custom-field-value-from-popup/m-p/549571#M51190</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2020-09-09T12:29:05Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get custom field value from popup selected index features if field visibility is false in popup fieldInfos? (arcgis-js-api 4.12)</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-i-get-custom-field-value-from-popup/m-p/549572#M51191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok if that field is not in popup content then should I get that field value in&amp;nbsp;mapView.popup.features[mapView.popup.selectedFeatureIndex]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2020 13:22:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-i-get-custom-field-value-from-popup/m-p/549572#M51191</guid>
      <dc:creator>ShefaliMantri</dc:creator>
      <dc:date>2020-09-09T13:22:13Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get custom field value from popup selected index features if field visibility is false in popup fieldInfos? (arcgis-js-api 4.12)</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-i-get-custom-field-value-from-popup/m-p/549573#M51192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;mapView.popup.&lt;SPAN style="color: #4c4c4c; background-color: #ffffff; font-weight: 300;"&gt;selectedFeature.attributes.YourFieldName&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2020 13:27:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-i-get-custom-field-value-from-popup/m-p/549573#M51192</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2020-09-09T13:27:27Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get custom field value from popup selected index features if field visibility is false in popup fieldInfos? (arcgis-js-api 4.12)</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-i-get-custom-field-value-from-popup/m-p/549574#M51193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Thanks for the response,&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;Our requirement is to display all fields in popup except 'Test_id' therefore looping for fields may not be the optimal solution as we have 40+ fields belonging to several layers.&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;Our intent is to have a solution that can hide the visibility of 'Test_id' on popup UI only and at the same time we want to use it in the background processing(i.e. get in&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;mapView.popup.&lt;/SPAN&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff; border: 0px; font-weight: 300;"&gt;selectedFeature)&lt;/SPAN&gt;, could you suggest any other solution&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Sep 2020 04:50:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-i-get-custom-field-value-from-popup/m-p/549574#M51193</guid>
      <dc:creator>ShefaliMantri</dc:creator>
      <dc:date>2020-09-11T04:50:27Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get custom field value from popup selected index features if field visibility is false in popup fieldInfos? (arcgis-js-api 4.12)</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-i-get-custom-field-value-from-popup/m-p/549575#M51194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nope. Your requirements need to conform to methods available.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Sep 2020 11:32:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-i-get-custom-field-value-from-popup/m-p/549575#M51194</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2020-09-11T11:32:23Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get custom field value from popup selected index features if field visibility is false in popup fieldInfos? (arcgis-js-api 4.12)</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-i-get-custom-field-value-from-popup/m-p/549576#M51195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks popup content solution worked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One thing which i observed if pagination in popup template(multiple features) and i zoom in map then on click of next in popup pagination, popup pointer not change to selected index feature position.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Question&lt;/STRONG&gt;:- Why popup anchor pointer not changing to selected feature on click of next/previous in popup pagination.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Sep 2020 07:01:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-i-get-custom-field-value-from-popup/m-p/549576#M51195</guid>
      <dc:creator>ShefaliMantri</dc:creator>
      <dc:date>2020-09-18T07:01:18Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get custom field value from popup selected index features if field visibility is false in popup fieldInfos? (arcgis-js-api 4.12)</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-i-get-custom-field-value-from-popup/m-p/549577#M51196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have not run into that. But maybe look at this link and the "updateLocationEnabled" property&lt;/P&gt;&lt;P&gt;&lt;A class="link-bare" href="https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Popup.html#open" title="https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Popup.html#open"&gt;https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Popup.html#open&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Sep 2020 12:38:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-i-get-custom-field-value-from-popup/m-p/549577#M51196</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2020-09-18T12:38:16Z</dc:date>
    </item>
  </channel>
</rss>

