Announcement

Collapse
No announcement yet.

Deploy channel from javascript

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Deploy channel from javascript

    Hi to all,
    is possible deploy a channel from javascript?

    I see this old post:
    https://www.mirthcorp.com/community/forums/showpost.php?p=27914&postcount=2


    I add this code:
    var controllerFactory = com.mirth.connect.server.controllers.DefaultContro llerFactory.getFactory();
    var engineController = controllerFactory.createEngineController();

    what is the method for deploy a channel?

    Many thanks!!

  • #2
    You can simply use ChannelUtil

    Code:
    ChannelUtil.deployChannel(<Channel id or name>);

    Comment

    Working...
    X