Infor IDM integration

Infor IDM integration

InterFormNG2 IDM Integration Module

 

The IDM integration module provides InterFormNG2 users with an option to upload documents to IDM as part of an InterFormNG2 workflow. It also allows you to read documents from IDM via a custom URL.

 

Below is a more detailed description of the functionality, followed by some technical details of how it has been implemented.

 

Prerequisites

You need a license code for InterFormNG2, which includes the Infor IDM module.

You need to get an ION API file, that has been generated in Ming.le. You need to contact Infor for more details about this file.

 

 

Connection Settings

In order to use the IDM module, you first need to configure a connection in the InterFormNG2 tenant settings. You find can see this configuration, if you look into the tenant settings. If the IDMConnector jar file has been copied into the modules folder as described in the Prerequisites section above, then you can find the Infor Document Management setting on the left under Workflow:

 

NG2IDM0001

 

Here you see this configuration screen:

 

NG2IDM0002

 

On the screen above you setup a name for the connection, and click the icon 'choose file' to load the ION API file, that has been generated in Ming.le. You can define multiple connections and you refer to them in InterFormNG2 via the name specified in the top. The default name is 'Default'.

 

 

Upload to IDM from a workflow

As part of an NG2 workflow, you can upload any kind of document to IDM. This is done by inserting the “To Infor Document Mangement” component in the workflow. In the component’s properties, you have to specify the IDM document type that you want the document to be uploaded as. You can also specify a number of IDM attributes and the values that they should have. These attributes will be set in IDM on the uploaded document. Currently we are limited to three attributes, but this could be increased easily. However, due to limitations in the workflow UI, it has to be a fixed maximum.

For both document type and attributes, you have to use the actual name, not the display name.

In the below screenshot, the value names are hard-coded, but it is also possible to get these values from the workflow input XML (which is probably what will be done in most real-world scenarios).

You can also set the name of the access control list that should be attached to the document. This is an optional field, that can be left empty.

 

 

Use a document from IDM

In several places in InterFormNG2, it is possible to fetch a resource via a URL, for instance to embed it in a generated PDF. With the IDM module, you can use a custom URL to retrieve documents from IDM. 


For instance if we wanted to retreive a previously uploaded document, and embed it in a PDF that we generate later, we can do that with a URL that looks like this:

idm://<IDM-Instance-Name>/<Filename>?documentType=<IDM-Document-Type>&<IDM-Attribute-Name>=<Value>

 

As IDM-Instance-Name use the name of the IDM instance as configured in tenant settings.

As Filename, use any filename that you wish, however for images the extension must match the image type (i.e. .JPG) in order for InterFormNG2 to read it correctly. In case of embed file, the filename is also used as the default filename of the attachment in the PDF.

As IDM-Document-Type use the name of the document type to search for. This must be the actual name, not the display name.

As IDM-Attribute-Name use the name of the attribute to use as search criteria. This must be the actual name, not the display name. Multiple attributes can be added to the URL. It is also possible to use multi-value attributes in the search criteria. Multi-value attributes are considered matching if just one of the multiple values match the search value.

 

Example:

 

idm://Default/DemoDoc.pdf?documentType=MDS_File&Path=Demo_Id100&MDS_Name=Demo

 

Note that if the URL parameters match more than one document, then the first match will be returned.

Note that as with any other URL, special characters have to be URL encoded.


    • Related Articles

    • Infor M3 integration

      A special Infor M3 module for InterFormNG2 can help you to integrate InterFormNG2 with the ERP solution, M3 from Infor. The exact integration setup depends on the version of M3, that you are running. The description below covers version 10.2, but in ...
    • To Infor Document Management

      The basic output workflow component, To Infor Document Management is for the Infor IDM module only. This component can store the payload of a workflow into Infor IDM. The To Infor Document Management component has these parameters: IDM instance This ...
    • Sharepoint integration module

      With the Sharepoint integration module you can create/updates a document in SharePoint online from the current workflow payload. Note that the size of the document to upload must be less than 4 MByte. Office 365 Configuration In order to use the ...
    • Infor System-Link request

      The workflow component, Infor System-Link request is a prerequisite for other Infor System-Link components like the Create attachment with Infor System-Link component. The Infor System-Link request component has this parameter: In order to the ...
    • Infor System-Link configuration

      One of the systems with which you can communicate in InterFormNG2 is Infor System-Link. For doing that you need to define a configuration which you can setup if you are signed on to a tenant and then select Settings in the top ribbon: Then you select ...