1.2k questions

1.4k answers

361 comments

339 users

Categories

Sidebar
+1 vote
894 views
by ron-s-6919 (4.5k points)
I have a 3rd party Java library (JAR) that I would like to use in my custom mapping function.  How do I use that JAR in QIE?

1 Answer

+1 vote
 
Best answer
To import the 3rd party library so that it is availble to use, you will need to configure QIE from System Administration page.  Review the instructions found on this question: https://www.qvera.com/kb/index.php/256/what-are-external-libraries-or-jar-files
 
Once the 3rd party library has been configured, you can use the Java classes in QIE custom mapping functions.  To import an entire package, you can use the following:
 
importPackage(Packages.com.mycompany.mypackage);
 
After that, you can access any of the classes contained in the com.mycompany.mypackage Package.
 
Alternativly, you can access the class directly as follows:
 
var myClass = new Packages.com.mycompany.mypackage.MyClass();
 
by ron-s-6919 (4.5k points)
selected by sam-s-1510
...