#Ensemble

23 Followers · 2.4K Posts

InterSystems Ensemble is a complete and easy-to-use integration platform that enables users to connect people, processes, and applications in record

time.

Learn more

Documentation

Edit
Article Gevorg Arutiunian · Jul 26, 2018 2m read

(Originally posted on InterSystems CODE by blaise Zarka, 10/27/14) The following code snippet includes methods for Ensemble that migrate the item settings for the given production to default. The class method "test" runs the process, and it takes the name of a production class as a string:


Class blaisezarka.MigrateSettingsToDefault [ Abstract ]
{
 
/// Migrate all items settings from production productionClassName to system default settings
ClassMethod test(productionClassName As %String) As %Status
{
    set production = ##class(Ens.Config.Production).%OpenId(productionClassName)
    set
0
0 0
Edit
Question Mitch Anderson · May 16, 2017

Hey guys,

I'm working with an EnsLib.XML.X12.Document object which consists of a parent object along with multiple children.

When using the following code, my sent object is losing all references to its children.  I've played with the deep parameter and nothing is working to automatically clone the objects children(group docs ref)along with itself.  (Even though the documentation states that it should..)

objectClone = object.%ConstructClone()

d ..sendRequestAsync("Destination",objectClone)

Any insight would be really helpful.

Thanks!

Mitch

0
0 1