Overview

Sections

Batch Update from IDM Utilities Tool

Beginner | 15 Minutes

Document Management

Business Problem

Your organization has a collection of digital documents in IDM that contain incorrect attributes, and you need to modify them in bulk. Alternatively, you may want to reorganize your data by updating multiple files. You are seeking an automated and efficient solution to accomplish this task in order to reduce labor costs.

📋 Requirements

  • A basic understanding of how to use the command line is recommended for this guide.
  • IDM-Administrator role
  • User privileges to:
  • ION Desk (IONDeskAdmin)
  • ION API Gateway (IONAPI-Administrator)
  • This will involve running a local program that connects to the Infor Cloud. Large imports and exports can consume a lot of memory on the local machine, so 16GB RAM is recommended.
  • Java 8+ is required on the local machine.

If Java 11+ is used then JavaFX needs to be installed as well (https://openjfx.io/). The Utilities tool can be started from command line where the “module-path” points to the JavaFX directory:

java -Xms1024m -Xmx1024m –module-path “C:\Program Files\Java\javafx-sdk-11.0.1\lib” –add-modules=javafx.controls,javafx.fxml,javafx.web -jar Utilities-.jar

Tutorial

Batch updating documents via the Infor Document Management (IDM) Utilities tool allows mass changing of document metadata.

1

Finding the IDM Utilities Tool

To access the Batch Update function in IDM, navigate to the Control Center.

  • Select the Tools tab → Click Utilities → Click Download.

This guide focuses specifically on the IDM Utilities' Bulk Import function.

2

Starting Up the Tool

There are two JAR files in the unzipped utilities package. The one to run does not have “sources” at the end.

The IDM Utilities tool can be run entirely from the command line, but a GUI is also available.

To launch the tool:

  1. Navigate to the folder.
  2. Type "cmd" in the folder address bar and press Enter (opens the command line in that folder).
  3. Run the following command: java -jar <ExecutableJarFileName>.jar Example: java -jar Utilities-2022.08.00-47.20220728T090651Z.jar

3

Setting Up the IONAPI File

To connect IDM Utilities to your environment, generate an IONAPI file:

  1. Navigate to Infor API Gateway → Click Authorized Apps.
  2. Search for "IDM" (look for an API labeled "Backend Service").

Note: The name of this API may differ from the screenshot below. It should be a "Backend Service" API.

3. Click on the API → Scroll to Download Credentials → Click Download.

4. Enable "Create Service Account", enter your name, and download the file.

4

Running the Tool

Using the previously mentioned JAR command, start the tool and upload the IONAPI file. The interface should resemble the following:

Select the Batch Update tab.

Important Notes:

  1. The XQuery must not reference documents after they’ve been edited to avoid an infinite loop.
  2. Thread and Batch Size are set to their default maximum values.
  3. You can optionally set the ACL for the documents.
  4. Additional arguments specify attributes to change, e.g.: MDS_Name "ABC" MDS_Status 20
5

(Optional) Generating XQuery

For those unfamiliar with XQueries, use the IDM XQuery Builder to create one.

  1. Open IDM XQuery Builder within IDM.
  2. Enter your search criteria.
  3. Click "Enter Query Manually" to generate the XQuery.

Example Query:

/Simple_PO_Document[@Simple_PO_Status="For Approval"]

Video Guide

Warch Here

Command Line Arguments

To run IDM Utilities via command line, use:

Argument
Description

xquery

Search query. If used alone, it returns only the number of matched documents without making changes.

acl

(Optional) Sets an access control list (ACL) on matched documents.

Example Command:

Bash
java -jar <ExecutableJarFileName>.jar

Example:

Bash
java -jar Utilities-2022.08.00-47.20220728T090651Z.jar

6

Running the Batch Update

Once all arguments and the search query are set, batch processing begins. The screen will look like this:

Was this section helpful?

What made this section unhelpful for you?

On this page
  • Batch Update from IDM Utilities Tool
View as Markdown

Ask an AI

Open in ChatGPTOpen in Claude