· May 17, 2022

Alternatives to the (missing) CPF Merge Action CreateMapPackage

So it appears that this feature is still missing in 2022.1 (


Does anyone have any thoughts or ideas on how to create Namespace Package Mappings on deployment in a 'neat' way during automated deployment?


  I really like the ability to use merge cpf on deployment of our servers, but this one missing action is kind of holding me back.  Appreciate if anyone else has encountered this and how they approached it.



Product version: IRIS 2022.1
Discussion (5)0
Log in or sign up to continue


If you need an alternative, you can use the Config package in "%SYS"

Ex : 

New $Namespace
Set $Namespace = "%SYS"
Set properties("Database") = "YourPackageDatabaseCode"
Set sc = ##class(Config.MapPackages).Create("YourNameSpace","PackageName", .properties)
Quit sc

There is also a library to do this with a json configuration file config-api, but it's heavy just for a mapping.