Discussion (10)3
Log in or sign up to continue

It appears to be some sort of versioning system.  I can change individual settings on each selection.  The comment will become the name in the dropdown:

The one with the asterisk is currently running.  Only one version can be running.

 

So how do you make multiple versions? What is the purpose?

AFAIK, this is an 'old' feature in Ensemble to allow you to have two different sets of config for a component so that you can quickly switch between them.  For example, you could use it for switching between different environments for testing interfaces. You would have a different class, but the same 'Name' in the production.  I suspect you've got this duplication inadvertently.

But, my recollection on this is hazy, so perhaps someone else can add a better explanation.

I can see where this would actually be very useful.  If only I knew how to duplicate or undo it. :)

Please contact InterSystems Support regarding this question.

Jeff Morgan

Ensemble Support Specialist

As Liz says this feature has been in Ensemble for about ten years. One very obvious use case in development is to have a file based BO as a duplicate of a TCP BO so you can cut out all the complexity of testing with a real target system.

To add a duplicate you just add another config item to your production with the same name.

Whichever one is selected from the pull down will start up with the production.

To remove a duplicate you select the one you want to delete from the pull down and delete the config item from the production. The other one will be left behind. Or you could edit the XML to remove it.

Thank you David, this will be super useful!

Yes this is a great feature to have.

Just a small clarification. To enable the alternative component to run, you need to select it (now it's configuration settings show up) and Enable it from settings

Enabling the alternative component automatically disable the previous running version and starts the one that currently selected (the one in the drop down). 

Steve 

thanks for correcting me Steve. As well as selecting, you have to enable.

No worries, I had already determined that.  The one with the asterisk is enabled.

thanks for correcting me Steve. As well as selecting, you have to enable.