We found a way to do the second part, importing the class from a file without overwriting a specific member. The trick is:
- open the old class definition with ##class(%Dictionary.ClassDefinition).%OpenId("class name")
- create a clone with %ConstructClone()
- load the class from the file without compiling it
- open the new class definition
- copy the member you want (in this case production definition XDATA) from the clone to the new class definition, and save the new class definition
- finally, compile the class.
- Log in to post comments
.png)