Database Reference
In-Depth Information
sures if the resource scope expression in a policy set is updated to match the
target environment, such as
Domain("dev")=Domain("prod")
.
For example, to import a valid exported policy archive into a new domain, the
command is as follows:
importRepository(
'Policies.zip'
)
To generate the
policyMap.txt
map file for the
Policies.zip
archive,
enter the following command. Note that no documents are imported when the
generateMapFile
argument is set to
true
.
importRepository(
'Policies.zip', 'policyMap.txt', true
)
Now, you can manually open the map file and update the map definitions, if there
are any. The command used to import the policies along with the updated map
file is as follows:
importRepository(
'Policies.zip', 'policyMap.txt'
)