web stats
Shell command for deleting codetemplates - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Thread Tools Display Modes
Old 06-04-2012, 08:38 AM
bbrnp bbrnp is offline
What's HL7?
Join Date: Jun 2012
Posts: 1
bbrnp is on a distinguished road
Default Shell command for deleting codetemplates

Sorry if this has been asked already, but I searched and didn't find an answer. I'm trying to find out if there is a command to delete codetemplates specifically. Does anyone know?

Reply With Quote
Old 06-04-2012, 10:29 AM
narupley's Avatar
narupley narupley is online now
Mirth Employee
Join Date: Oct 2010
Posts: 7,124
narupley is on a distinguished road

There are commands to import/export code templates, but I don't think there is one to delete them. That said, if you're trying to set up an automatic process to delete code templates (out of curiosity, why?), you can go straight to the code_template table and update it there.

If you import an already-existing code template, I forget if it automatically updates the previous one, or if it creates a new one with a modified name/ID. Try it out and let us know!
Step 1: JAVA CACHE...DID YOU CLEAR ...wait, ding dong the witch is dead?

Nicholas Rupley
Work: 949-237-6069
Always include what Mirth Connect version you're working with. Also include (if applicable) the code you're using and full stacktraces for errors (use CODE tags). Posting your entire channel is helpful as well; make sure to scrub any PHI/passwords first.

- How do I foo?
- You just bar.
Reply With Quote

cli, code templates, shell

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -8. The time now is 11:56 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Mirth Corporation