Announcement

Collapse
No announcement yet.

Code Templates

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

  • sharpers75
    replied
    Re:Code Templates

    I knew as soon as I posted I would find the answer ><

    Apparently it's been starring me in the face all this time.

    Channels tab -> Edit Code Templates

    Leave a comment:


  • sharpers75
    started a topic Code Templates

    Code Templates

    Hi folks,

    I would like to use the left and right string function code templates posted in http://www.mirthproject.org/index.ph...d=6357&catid=5

    How exactly are you supposed to add a code template in to Mirth 1.7.1 for use in a channel?

    I see the tables in the database, and the insert queries in the xml, but haven't found look-up tables for CODE_SCOPE and CODE_TYPE yet:

    <insert id="insertCodeTemplate" parameterMap="insert-code-template-param">
    INSERT IGNORE INTO CODE_TEMPLATE (ID, NAME, CODE_SCOPE, CODE_TYPE, TOOLTIP, CODE)
    VALUES (?, ?, ?, ?, ?, ?)
    </insert>

    Any help woould be greatly appreciated

    Ta,

    Steve
Working...
X