Attribute Rules - All fields must be visible?

429
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)
0 Kudos
2 Replies
DanPatterson
MVP Esteemed Contributor

00302: All fields in datasets with <value> must be visible: field <value> in layer <value> 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...
0 Kudos
MatthewBrown8
Esri Contributor

Hi TimJohnston3,

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. Publish Maps/Apps (with hidden fields)
  3. Re-deploy Attribute Rules and Contingent Values to the database.
  4. Restart any services that utilise layers configured with attribute rules and contingent values.

Regards,

Matthew
0 Kudos