Scripts in IDM/OpenIDM

This book provides information on scripts in IDM/OpenIDM, including troubleshooting them.

Printer friendly view

Table of Contents

  • 1 Frequently asked questions
    • 1.1 FAQ: Scripts in IDM/OpenIDM
  • 2 Groovy
    • 2.1 How do I call one Groovy script from another in IDM/OpenIDM (All versions)?
    • 2.2 How do I invoke a jar file from a Groovy script in IDM/OpenIDM (All versions)?
    • 2.3 How do I add logging to Groovy scripts in IDM/OpenIDM (All versions)?
    • 2.4 How do I debug server-side Groovy code in IDM/OpenIDM (All versions)?
  • 3 JavaScript
    • 3.1 How do I load JavaScript functions into IDM/OpenIDM (All versions)?
    • 3.2 How do I write to a file using JavaScript on a custom endpoint in IDM/OpenIDM (All versions)?
    • 3.3 How do I update attributes stored in arrays in IDM/OpenIDM (All versions) using JavaScript?
    • 3.4 Error when loading JavaScript functions into other scripts in OpenIDM 3.x and 4.x
    • 3.5 How do I add logging to JavaScript files in IDM/OpenIDM (All versions)?
    • 3.6 How do I debug server-side JavaScript code in OpenIDM 3.x and 4.x?
  • 4 How do I load OSGI bundles and JAR files into IDM/OpenIDM (All versions)?
  • 5 Workflow
    • 5.1 How do I use workflow scripts to make calls back to IDM/OpenIDM (All versions)?
    • 5.2 How do I use RequireJS to load dependencies inside a workflow in IDM 5.x, 6 and OpenIDM 4.x?
  • 6 How do I customize exceptions thrown for custom endpoints in IDM/OpenIDM (All versions)?