Attribute Rules - All fields must be visible?

750
2
06-18-2021 01:47 PM
TimJohnston3
New Contributor III

How come all attributes must be visible for Attribute Rules to function?

I would like to hide columns , like OBJECTID and SHAPE, from the users when they edit in the attribute table. I don't understand why they must be visible.

When I analyze a map with Attribute Rules which has a Feature Class with some column invisible, I get the following errors: 00302 All fields in datasets with attribute rules must be visible.

TimJohnston3_0-1624049085304.png

Tags(1)
0Kudos
2回答
DanPatterson
MVP Esteemed Contributor

00302: All fields in datasets with must be visible: field in layer is not—Ar...

It doesn't say, but the link in the above

Data design—ArcGIS Pro | Documentation

it just states that contingent values and attribute rules both require visible fields. At the bottom of the last link... perhaps the reason for visible fields lies in the description of their functionality. Who knows...

visibility doesn't pop up as and Idea

Attribute rules


... sort of retired...
0Kudos
MatthewBrown8
Esri Contributor

HiTimJohnston3,

After some testing, I found that the following steps provided a suitable workaround:

  1. Remove all attribute rules and Contingent Values from the geodatabase.
  2. 出版ish Maps/Apps (with hidden fields)
  3. 重新部署属性规则和或有价值the database.
  4. Restart any services that utilise layers configured with attribute rules and contingent values.

Regards,

Matthew
0Kudos