class %ZHSLIB.PackageManager.Developer.Document.ContainerClass

Used to wrap Studio document types not supported in Studio project deployments, putting the XML export in a class's XDATA block for later import. For example:
  // Pack up Foo.MODULE in class Foo.ModuleWrappedInAClass:
  Set tItems("Foo.MODULE") = ""
  Set tSC = ##class(%ZHSLIB.PackageManager.Developer.Document.ContainerClass).Create("Foo.ModuleWrappedInAClass",.tItems)
  // ... on another environment, after Foo.ModuleWrappedInAClass is loaded, retrieve the module manifest document from it:
  Set tSC = ##class(Foo.ModuleWrappedInAClass).Unpack()

Method Inventory


classmethod Create(pTargetClassName As %Dictionary.Classname, ByRef pItems, pVerbose As %Boolean = 0) as %Status
classmethod Unpack() as %Status