Insert or Replace option to import tool.

433
1
07-15-2022 10:22 AM
Status: Open
RobRader1
New Contributor III

Add option to the import tool, so that if a rule already exists it will be replaced. In many cases with updating multiple GDBs, a rule may exist already. 


The create or replace is a common function for any Database tool. 

This is a requirement when generating continual integration scenarios with pipeline build releases. Otherwise all rules must be dropped and re-added with each release.

It also assists when applying to a series of network stored geodatabases that may be different as they were created over time. Automation is the key to this request.

1 Comment
ChristophKoschmieder

My workflow in these cases with automated GDB updates is to use a script to

  • list the existing attribute rules
  • find the attribute rule to be updated
  • remove this attribute rule
  • import the new attribute rule definition afterwards.