Change rules for modifying UC4 XML export files

Discussion created by Michael_Lowry on Sep 19, 2014
Latest reply on Jan 16, 2018 by Michael_Lowry
We are considering moving away from using the transport case mechanism, and switching to the UC4 XML export/import mechanism. Until now, we have relied on the UC4 DB change program ucybchng to make changes to objects when we move them from one staging environment to another. If we switch from transport case to XML, we will need to find another way of changing environment-specific values in the XML files.

Because there is no Automic-provided utility for modifying UC4 export XML files, I presume that we will have to design our own rule syntax specific to the UC4 export XML schema. The rules will likely consist of similar elements to existing ucybchng rules:
  • Type of rule (replace all or replace part)
  • Object type
  • Object name
  • Attribute name
  • Old value/new value
There are many tools out there for manipulating XML files, so that part should be relatively straightforward.

Has anyone tackled this problem before? Did you come up with your own change rule syntax?