• Resources
    • Documentation
    • Knowledge Base
    • Forum
    • Webinars
    • Courses
    • FAQ
    • Changelog
    • Blog
    • Swag Shop
  • Marketplace
  • Start for Free
  • Login
  • Resources
    • Documentation
    • Knowledge Base
    • Forum
    • Webinars
    • Courses
    • FAQ
    • Changelog
    • Blog
    • Swag Shop
  • Marketplace
  • Start for Free
  • Login
home/Knowledge Base/How to's/How to integrate and use external libraries in Simplifier Apps

How to integrate and use external libraries in Simplifier Apps

97 views 1 December 10, 2020 March 3, 2021 Marie

Prerequisites

You need a zip file containing the desired Javascript library code (.js, or .min.js) [e.g., tesseractJS-2_1_4].

Step 1 – Upload the library js code

From the Simplifier Dashboard click ‘Applications’ and select the ‘libraries’ tab:

Click ‘+’ to upload your library code:

Enter ‘name’ and ‘version’ details, and upload the zip file:

Step 2 – Integration code

Enter the code snippet which should be used to integrate the Javascript code of the library:

In this case, we use the ‘addScript’ method for integration. The first parameter is the relative path to the Javascript file in your zip folder (.js or .min.js). The second parameter defines a name which can be used to specify dependencies between this library and possible others, which are also integrated via ‘addScript’ in this code block (cf. Example – Simplifier Documentation).

Further available integration methods (e.g., for integration .css styles) can be found in the Simplifier Documentation.

Click ‘Save’ to finish the upload and integration step.

Step 3 – Add library to Simplifier App

Now, go to your Simplifier App, where you want to use the library. Open the ‘libraries’ tab in the Application Editor:

Click ‘+’, use the search bar to find your library, and select it:

Now, the library is added to the list of available libraries:

Step 4 – Use library in Simplifier App

The library can now be used in Scripts in the Process Designer:

Please be aware that a new file upload (Step 1), changes concerning the script (Step 2), or app (Step 3) integration take only effect when deploying the app.

Was this article helpful?

1 Yes  No
Related Articles
  • Drawing on Images with the SignaturePad Widget
  • Create Test Cases With The UI5 Test Recorder
  • Using the Charts Widget
  • Working with Drag and Drop
  • Currency formatting with UI5 type binding
  • How to check Simplifier Token Validity
Leave A Comment Cancel reply

You must be logged in to post a comment.

Trending
  • Introduction
  • Install Simplifier on Azure
  • Use SAP UI Theme Designer
  • OpenUI5, SAPUI5 and Fiori
  • Create your first Application
  • Execute Google Scripts via API
  • Prerequisites & Helpful Links
  • How to integrate with SAP Business API Hub
  • Use ContentRepository Plugin to handle Files from your Windows Share Volume
  • Identity Provider Setup

Our support Staff is available 9 AM - 6 PM, Monday to Friday. Please be patient when posting an issue as staff may not be in the same timezone as you.

  • Contact | Imprint | Privacy | © 2020 Simplifier AG. All Rights Reserved.