No announcement yet.

General problems with including custom libs

  • Filter
  • Time
  • Show
Clear All
new posts

  • General problems with including custom libs

    I already had a thread like this but I wanted to make things more abstract so maybe others can relate.

    I created a new subfolder in my mirth folder:
    "C:\...\something something\...\Mirth_Connect\cfn-lib"
    In the settings I created a new Resource "Custom" with just the foldername in the directory field.
    Correctly it now shows me my libs.
    The "Global Scripts" Option is enabled.

    Do I assume correctly that now, my libs should be available from everywhere within any javascript in Mirth?

    best regards

  • #2
    "Global Scripts" refers to the global scripts—that is, the global deploy/undeploy/preprocessor/postprocessor scripts.

    To include them on channel scripts, go into your channel, Summary tab, Set Libraries.
    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.