Welcome to Maximo Times

All Things Maximo

My name is Chon, feel free to ask me any question regarding Maximo. I will try to answer them as best as I can.

Member Login

Lost your password?

Not a member yet? Sign Up!

Math Required!
What is the sum of: 3 + 6    

Please leave these two fields as-is:

Protected by Invisible Defender. Showed 403 to 156 bad guys.

Maximo Tips & Tricks

Featured Solutions
EZMaxMobile - Maximo Mobile Integration

EZMaxMobile - Maximo Mobile Integration

Screen shots (click to enlarge & click image to close): [nggallery id=4] Real Time Maximo Mobile Connectivity InterPro Solutions’ has developed a mobile integration framework that provides real time connectivity to Maximo via WiFi or 3G connectivity. Devices such as iPhone, iPad, iTouch, Android, BlackBerry, etc. are now capable of logging into and ...

View Solution...

EZDash - Custom Maximo Dashboard

EZDash - Custom Maximo Dashboard

A web based dashboard that seamlessly interacts with your Maximo maintenance management system. EZDash provides real time interactive graphs and charts for use by staff to monitor and manage work processes, inventory, labor hours, PM schedules, etc. EZDash is easily configured to display a wide range of key performance metrics ...

View Solution...

EZEnergyDash - Custom Maximo Energy Dashboard

EZEnergyDash - Custom Maximo Energy Dashboard

A web based dashboard that seamlessly interacts with your Maximo maintenance management system. EZEnergyDash provides real time interactive graphs and charts for use by staff to monitor and manage and view energy consumption. EZEnergyDash is easily configured to display a wide range of key performance metrics relevant to what’s important ...

View Solution...

WebMaint - Customer Service Request Module

WebMaint - Customer Service Request Module

This web-based add-on to IBM’s Maximo application system provides customers with a simple way to enter service requests and view their previously entered service tickets.  Customers can enter requests without having to be a registered Maximo user, therefore eliminating the need for a user to register or be registered in ...

View Solution...

WebAssign - Workorder Assignment & Scheduling

WebAssign - Workorder Assignment & Scheduling

This web-based add-on to IBM Maximo application provides supervisors and managers with the ability to assign work orders to specific staff as well as track the status of those work orders. Work orders can be assigned on an individual basis or by groups - it as easy as a "point ...

View Solution...




Export data to XML files with MIF

Exporting data with the Integration Framework is alot easier than importing data.  When importing data, we use “Enterprise Services”, but for exporting data we need to use “Publish Channels”.  Of course they are both based on Object Structures.  Out of the box, Maximo provides plenty of Publish Channels and Enterprise Services to satisfy most of our needs.  So for this tutorial, I will show you how to export ITEMS to an XML file.

What you will learn:

  • Setup integration framework global directory
  • Export data to XML file
  • Export data that is formatted correctly (readable)

Before we begin exporting data, we need to specify the global directory for the integration framework which is where the XML file is going to ultimately end up.  If you installed your maximo in the default directory, on your app server, create a new directory under the ‘maximo’ folder called ‘mif-globaldir’, just like so:

C:ibmSMPmaximomif-globaldir

Next log into Maximo and go to System Configuration -> Platform Configuration -> System Properties.  Filter for the value “mxe.int.globaldir”, which is the Integration Global Directory.  This directory holds all the exported XML files, flat files, web services etc.  Set this value to the newly created directory from the previous step.

Then go to Integration -> Publish Channels and search for MXITEMInterface.  I personally like to enable message tracking because I like to see if everything is working, so you can enable that here.  You don’t need to set it up for this tutorial, but if you want to, then you can continue reading or move on to the next step.  To enable message tracking on this interface, click on Select Action -> Message Tracking and click on “Enable Message Tracking?” checkbox.

Next, go to Integration -> External System.  You should have an EXTSYS1 that we will use to export data.  You don’t need to create a new external system here.  IBM actually suggests that you create a new system when importing data so you can use EXTSYS1 as a reference to an out of the box system.  But EXTSYS1 is already setup and ready to use but first make sure that it is enabled.  So, open up that system and click on Publish Channels tab.  Hit enter and you should see all the outbound interfaces available to you.  Filter it and find ‘MXITEMInterface’.  Set the end point to be MXXMLFILE like so:

Publish Channels MXXMLFILE End Point

Publish Channels MXXMLFILE End Point

Save.  To export using this interface, click on the ‘MXITEMInterface’ row and make sure it is highlighted and selected.  Click on the “Data Export” button.  A dialog box opens and you should see two fields: Export Condition and Export Count.  The latter is self explanatory, but the Export Condition is where you specify a where clause to select what ITEMS you want exported.  You can enter “1=1″ to export all the items in the database or you can enter:

itemnum=’12345′

Notice I didn’t type in “where”.  It’s implied.  Next, click on OK and wait for it to complete.  Go to your global directory, in our case it’s “C:ibmSMPmaximomif-globaldir”.  You should now see a bunch of new folders and one of them is ‘xmlfiles’.  Open that and you should see an XML file name something like “EXTSYS1_MXITEMInterface_1243130872220611751.xml”.  The numbers are irrelevant, it’s just a unique id, but you get the idea. You can then open it with IE.

Note: if you open this file with notepad, you will notice that the contents was written all on one line.  This is by default because it’s better for optimization.  In order to export data that is more readable, you have to make changes to the MXXMLFILE end point.  Go to Integration -> End Points and open up MXXMLFILE.  Set the PRETTYPRINT property to 1 and save.  Try your export again.

That’s it.  Really simple huh?  Well, I hope you enjoyed this tutorial.  Please leave a comment.

Tags: , , ,


21 Responses to “Export data to XML files with MIF”

  1. Janhavi says:

    Hi chon,
    i exported data from publish channels for item and asset, now problem is when i m going to export more data for any other publish channels(like labor or craft) i cant see it in mif-globaldir

    what could be the problem?

    many thanks
    janhavi

  2. renukasr says:

    I followed the same steps and yet could not see the files generated.

  3. forozco says:

    Hi Chon,
    Is it possible to export a workflow using MIF to an XML file? Cause I can’t find on Object Structure for workflows (there’s only one, which is consumed by the Migration Manager).
    Thanks!

Leave a Reply

  1. ** NOTE: Please post support questions in our forum. Otherwise, your comments will not be approved.

Please leave these two fields as-is:

Protected by Invisible Defender. Showed 403 to 156 bad guys.

  • What We Can Do for You



    • Syclo Mobile Handheld Solutions
    • Integrations
    • Configurations
    • Support Services
    • Report Development
    • MAXIMO Upgrades
    • Custom Add-On Solutions
    • Engineering Support Services
    • Consulting
  • Clients