Required Field

3730
2
Jump to solution
06-12-2014 06:27 AM
Yusuf_CelilKonak
New Contributor III
Hello Team,

We???ve countered a little confusing issue about required field on carto features. After adding a new  representation rule to visual specifications, rule just added a ID field as expected. After some time, we realize that we do not need this rule so field too but when tried to delete this field a warning says ???the selected field is a required field and can not be deleted???. The rule about this ID is already been deleted and there is no other factor about this field. Maybe up to schema relations at backwards field can be assigned to a different role but I'm just asking a way to delete this field from carto feature class. Is there any way to handle this issue ?

Thanks.
0 Kudos
1 Solution

Accepted Solutions
KiyoshiYamashita
Esri Contributor
Celil,

First, a little background...  When you add a Calculated Representation Rule via VST, a Cartographic Representation is added to your feature class.  A key part of the Cartographic Representation is two fields that are added to the attribute table.  The Rule_Id field gets used to indicate which symbol (what we call a Representation Rule) a particular feature will be drawn with.  The other field, the Override field, is often hidden and is used in case you want to override the symbology for a particular feature.

Unfortunately, when you delete a Calculated Representation Rule, you are only deleting the rule from VST.  You are not deleting the Cartographic Representation itself.  Since the Cartographic Representation remains on the feature class, you are unable to manually delete its associated fields.

The easiest way to get rid of this unneeded field is to use the Drop Representation tool from ArcToolbox.  This will remove the representation from the feature class and its associated fields.

[ATTACH=CONFIG]34610[/ATTACH]

You could also delete the representation from the Representations tab in the Feature Class Properties dialog, accessed by right-clicking the feature class in ArcCatalog.

[ATTACH=CONFIG]34611[/ATTACH]

I hope this information is helpful.  Also, apologies for the somewhat confusing terminology.  Just to clarify:


  1. Cartographic Representation: this is added to a feature class to support advanced symbology.  One component of the representation is the addition of two attributes to the attribute table: one for the Rule ID and one for Override.

  2. Representation Rule: another component of a Cartographic Representation.  The representation rules define individual symbols.  Cartographic Representations are typically made up of several representation rules.

  3. Calculated Representation Rule: this is a VST rule that applies a representation rule (symbol) to features and adds the cartographic representation if necessary.

View solution in original post

0 Kudos
2 Replies
KiyoshiYamashita
Esri Contributor
Celil,

First, a little background...  When you add a Calculated Representation Rule via VST, a Cartographic Representation is added to your feature class.  A key part of the Cartographic Representation is two fields that are added to the attribute table.  The Rule_Id field gets used to indicate which symbol (what we call a Representation Rule) a particular feature will be drawn with.  The other field, the Override field, is often hidden and is used in case you want to override the symbology for a particular feature.

Unfortunately, when you delete a Calculated Representation Rule, you are only deleting the rule from VST.  You are not deleting the Cartographic Representation itself.  Since the Cartographic Representation remains on the feature class, you are unable to manually delete its associated fields.

The easiest way to get rid of this unneeded field is to use the Drop Representation tool from ArcToolbox.  This will remove the representation from the feature class and its associated fields.

[ATTACH=CONFIG]34610[/ATTACH]

You could also delete the representation from the Representations tab in the Feature Class Properties dialog, accessed by right-clicking the feature class in ArcCatalog.

[ATTACH=CONFIG]34611[/ATTACH]

I hope this information is helpful.  Also, apologies for the somewhat confusing terminology.  Just to clarify:


  1. Cartographic Representation: this is added to a feature class to support advanced symbology.  One component of the representation is the addition of two attributes to the attribute table: one for the Rule ID and one for Override.

  2. Representation Rule: another component of a Cartographic Representation.  The representation rules define individual symbols.  Cartographic Representations are typically made up of several representation rules.

  3. Calculated Representation Rule: this is a VST rule that applies a representation rule (symbol) to features and adds the cartographic representation if necessary.

0 Kudos
Yusuf_CelilKonak
New Contributor III
Kiyoshi,

Thanks for the detailed answer which just we need to take into consideration and misssed.
0 Kudos