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

What is Asset Performance Management?

What is Asset Performance Management?

What is Asset Performance Management? Introduction As a definition, Asset Performance Management (APM) encompasses the capabilities of data capture, integration, visualization, and analytics tied together for the explicit purpose of improving the reliability and...

Maximo Relationships

Maximo Relationships

In this blog I will be explaining what a Maximo Relationship is, how to create one, and, the benefits of having Maximo Relationships. What is a relationship? The way in which two or more things are connected, or the state of being connected.Why do we need Maximo...

Maximo Data Imports: A simplified guide

Maximo Data Imports: A simplified guide

All your Maximo data import needs simplified Being able to manage data loads and data extracts is a powerful ability. It can substantially improve processes and reduce delays. Maximo offers not one, but multiple ways of handling data. Equipped with user-friendly error...

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,...

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.