Replies: 2 comments 6 replies
-
The Mirth Client has several places where it operates on entire sets of objects instead of discrete rows. Another example is that when you change channel group assignments, Mirth does not just touch one channel, it rebuilds the WHOLE list of channel groups and channel assignments to those groups. I think you have a few options:
I am attaching a channel I wrote which will:
For your use case, now you can do DB updates or you can see how I use the ConfigurationController calls and upsert into the config to make changes or merge exports. You can see what I am describing on line 39 in the source connector - see how the WHOLE map is saved and not just properties one by one? Thats the fundamental problem you're experiencing. |
Beta Was this translation helpful? Give feedback.
-
Ok. Sorry, we really haven't used the configuration map any at work, instead saving all our data to a file we read into the globalMap. I just watched a video about it, and it makes much more sense now. We currently do use code templates (almost exactly like yours) to get our db connections. Going back to the original post by @jonbartels about that channel that saves the config values to the db, I'm assuming that is a type of backup precaution? Not really understanding how you get those values back if for some reason they are needed. |
Beta Was this translation helpful? Give feedback.
-
I would like to be able to import subsets of values into the configuration map without removing existing items. both the CLI and the Mirth admin UI seem to remove items that are not in a config map file.
Beta Was this translation helpful? Give feedback.
All reactions