THE BPD Blog

From blogs to case studies to news, we love sharing our tips and tricks for asset management, cloud, IoT and smarter operations.

by | Jan 17, 2018

Passing attachments with your integration to Maximo

The Maximo 7.1.1.6 base services fix pack provides the Maximo Integration Framework with functionality to include and receive attachments as part of an XML message payload.
On the outbound side:

  1. Add DOCLINKS to your integration object structure
  2. Include the non-persistent attribute DOCUMENTDATA. This attribute will hold the actual data of your attachment encrypted in base-64
  3. In your outbound XML payload you MUST include:
    a. <ADDINFO>1</ADDINFO>
    b. <UPLOAD>1</UPLOAD>
    c. <URLNAME>physical path + file name + extension</URLNAME>

Step 3 is very important. It insures that Maximo generates the new attachment file name correctly and ties it to the URL in the new DOCINFO object.
On the inbound side:

  1. Add DOCLINKS to your integration object structure
  2. In the “Inbound Setting Restrictions” override and unrestrict “ADDINFO” and “URLNAME”

I recently completed this as part of an integration from one Maximo system to another. I was moving an SR along with its work log entries and attachments.
Sample XML file
Provided in this technote is a Purchase Order xml file that includes a text file as an attachment. Inclusion of the DOCLINKS object as a child of the PO object in the MXPO object structure is required before attempting importing the sample xml file.

Adel Rustum

Adel Rustum

Adel has been providing consultancy services for Maximo since 2011, tackling everyday user reported issues, implementing solutions, developing new functionality, and making recommendations on using industry best practices. He has international experience in working with clients of different industries, and currently he is based out of BPD's office in Calgary, AB, Canada.

0 Comments

Custom servlet in Maximo

Custom servlet in Maximo

What is a servlet? Servlets are Java classes which service HTTP requests and implement the ‘javax. servlet. HttpServlet’, an abstract class that implements the servlet interface and is specially designed to handle HTTP requests. A  servlet accepts the request,...

9 Recommendations For A Successful SAP & IBM Maximo EAM Interface

9 Recommendations For A Successful SAP & IBM Maximo EAM Interface

Integration is often a key component for getting the most out of your critical IT applications. Modern Enterprise Asset Management systems such as IBM Maximo are designed for integration which can expand their capabilities and allow the flexibility that the industry...

How to call a Report directly from the Action Menu in IBM Maximo

How to call a Report directly from the Action Menu in IBM Maximo

In IBM Maximo, it’s possible to add a direct print option to a report. This adds a printer icon to the toolbar and allows you to run the report with just one click. But for reports where there are parameters required before running, this is not possible… Usually, a user will have to click the “Run Reports” action, then find their report in the list of all reports available for that application. They then click on the one they want before being taken to the IBM Maximo Reports Request page. In this blog I’ll show you how to get around that problem. in our example we use an Action launch point for an Automation Script and link it to a menu item in IBM Maximo Application Designer…

Helpful tips to remember when starting a Maximo Implementation

Helpful tips to remember when starting a Maximo Implementation

After nearly 20 years of implementing Maximo for various organisations across a myriad of industries, there are some basic design principles that I like to follow on a new (greenfield) Maximo installation. Please note that these are some of my personal preferences but...

Implementing Drill-through in a BIRT report

Implementing Drill-through in a BIRT report

More often than not, we may be working with a report which lacks all the necessary details about a particular Work Order or asset. In this instance, we need to access Maximo and retrieve the relevant record to obtain the information we are after. Wouldn’t it be so...

Sign up to our free newsletter to explore emerging technologies, industry events and Maximo best practice.

Come with BPD Zenith to the future of Asset Management

Partner Ecosystem

BPD Zenith partners with a diverse array of the world’s top Technology, Business and Solution Integration leaders.