After you run the exportsitestandards, an output file is created in the destination you have specified in the utility command. The output file is a Protocol Buffers file, that contains the extracted Site Standards data. This file has a specific structure that must be adhered to, or else import fails.
There are a few important notes to consider when making changes to the output file:
When creating a new rule that you want to apply to multiple standards, it is recommended that you add the rule to an existing Site Standard in the Tools section, as described in Site standards management. This serves as a template in which you export using the utility. You can then copy the rule to the Site Standards output file which you have exported. This ensures that you have the right structure of the rule, and prevents errors.
If you are exporting and then importing Site Standards between two environments, you must change the Site Standard's name in the output file if the Site Standard with the same name exists. The name cannot exceed the limit of 100 characters.
The description must not exceed the limit of 4000 characters.
If you are changing a value in a rule, you must change the "comment" as well.
When making changes to multiple Site Standards, you can copy the rules manually to the output file, or run an update script that you have created.
The following are examples of Site Standard rules and how they appear in the output files: