Copy namespace mappings programmatically
Hi,
is there a way to copy namespace mappings from another namespace to a new namespace programmatically with a command?
When using management portal there is an option to choose an existing namespace to copy the mappings from, I'm basically looking for the equivalent from command line / COS.
Thanks
Martin
Take a look in the Config.Namesaces class in the %SYS namespace.
It looks like the CopyMaps method should do the job.
Take a look at the Config.Namespaces class in the %SYS namespace.
It looks like the CopyMaps method should do the job.
Thanks
If you want to propagate mappings across all namespaces you can create %All namespace and map there. All mappings into %All namespace are visible everywhere (except for samples and docbook) .