web stats
General problems with including custom libs - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #1  
Old 08-14-2015, 02:41 AM
gkittlaus gkittlaus is offline
OBX.3 Kenobi
 
Join Date: Jan 2012
Posts: 104
gkittlaus is on a distinguished road
Default 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
Reply With Quote
  #2  
Old 08-14-2015, 07:50 AM
narupley's Avatar
narupley narupley is online now
Mirth Employee
 
Join Date: Oct 2010
Posts: 7,126
narupley is on a distinguished road
Default

"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.
Reply With Quote
Reply

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 05:55 PM.


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