Select to view content in your preferred language

How to control default field visibility in Data Table

235
0
04-04-2024 05:42 AM
AaronGlanville
Occasional Contributor

Hello,

I was hoping someone could explain to me how to control the default visibility of fields in the Data Table of a Feature layer (hosted) and/or Feature layer (hosted, view). 

I have a feature layer and a view of that layer with all of the same fields. Through the Online Assistant, I was able to set up the feature layer to show the editor tracking fields in the Data Table while not having the fields appear in the popup. I did this by not showing the fields under the "popupElements": [ section but showing them under the "fieldInfos": [ section with "visible": true for the fields.

I wanted to have the same settings on the view layer, so I copied everything within "popupInfo": {...} of the feature layer and pasted over the same section of the view layer. However, the results are different, I still have to go under the Show/Hide Columns to turn display the editor tracking fields in the table.

Anyone know why I am getting this inconsistency?

0 Kudos
0 Replies