Adding a Paperclip Attachment Icon to the Work Order List Tab in Maximo
Have you ever wanted to display a paperclip attachment icon directly in the Work Order List tab instead of opening each Work Order first and then checking its attachments?
Here is a simple approach that worked for me in WOTRACK and PLUSPWO.
What We Want to Achieve
The requirement was to have a paperclip icon beside each Work Order in the List tab.
When the user clicks the icon, Maximo should open a dialog displaying the attachments associated with that Work Order.
The overall flow is:
Work Order List → Paperclip Icon → Attachment Dialog → DOCLINKS → Work Order Attachments
1. Add the Attachment Icon to the List Table
First, locate the main List table and its tablebody.
For example:
results_showlist_tablebody
Inside this tablebody, add a new tablecol before the existing bookmark column.
The important part is the following configuration:
id="results_showlist_tablebody_attachments"
mxevent="wotrackviewattachments"
mxevent_desc="View Attachments"
mxevent_icon="designer/attachments.gif"
type="event"
filterable="false"
sortable="false"
The complete control is:
What do these properties do?
type="event"
Makes the column an action/event column.
mxevent="wotrackviewattachments"
Specifies the event that will be triggered when the user clicks the icon.
mxevent_desc="View Attachments"
Provides the description/tooltip for the action.
mxevent_icon="designer/attachments.gif"
Uses the standard Maximo attachment/paperclip icon.
filterable="false"
Prevents the attachment column from appearing as a filterable column.
sortable="false"
Prevents users from sorting based on this action column.
2. Create the Attachment Dialog
Next, create a custom dialog in the same application presentation.
The important configuration here is:
id="wotrackviewattachments"
and:
relationship="DOCLINKS"
Example:
<table id="wotrackviewattachments_table" inputmode="readonly">
<tablebody id="wotrackviewattachments_tablebody">
<tablecol dataattribute="document" id="wotrackviewattachments_tablebody_1" label="Document" type="openurl" urlattribute="weburl"/>
<tablecol dataattribute="docinfo.description" id="wotrackviewattachments_tablebody_2" label="Description" sortable="false"/>
<tablecol dataattribute="doctype" id="wotrackviewattachments_tablebody_3" label="Document Folder"/>
<tablecol dataattribute="docversion" id="wotrackviewattachments_tablebody_4" label="Document Version"/>
<tablecol dataattribute="printthrulink" id="wotrackviewattachments_tablebody_5" label="Print"/>
<tablecol dataattribute="ownertable" id="wotrackviewattachments_tablebody_6" label="Application"/>
</tablebody>
</table>
<buttongroup id="wotrackviewattachments_buttons">
<pushbutton default="true" id="wotrackviewattachments_ok" label="OK" mxevent="dialogok"/>
</buttongroup>
3. The Important Part: DOCLINKS
The key configuration in the dialog is:
relationship="DOCLINKS"
This tells Maximo that the dialog should work with the DOCLINKS relationship and display the documents/attachments associated with the current record.
The connection between the List tab and the dialog is:
mxevent="wotrackviewattachments"
↓
dialog id="wotrackviewattachments"
↓
relationship="DOCLINKS"
↓
Work Order Attachments
So the mxevent value must match the dialog ID.
4. Where to Place the New Column
Your existing List table may look something like:
results_showlist_tablebody
Existing columns...
**Attachment tablecol**
**Bookmark column**
The important thing is to add the attachment tablecol inside the existing List table's tablebody.
For example:
Existing columns...
<tablecol filterable="false" id="results_showlist_tablebody_attachments" mxevent="wotrackviewattachments" mxevent_desc="View Attachments" mxevent_icon="designer/attachments.gif" sortable="false" type="event"/>
Existing bookmark column...
5. Why Use a tablecol Instead of an attachments Control?
One approach might be to try adding an attachments control directly inside the List table.
I would not recommend doing that for this requirement.
The List tab is displaying multiple Work Order records, so the attachment action needs to operate against the current/selected row.
Using an event-based tablecol gives us a clean pattern:
tablecol
mxevent
mxevent_icon
↓
Attachment Dialog
↓
DOCLINKS
This keeps the attachment functionality separate from the existing List table data columns.
6. Be Careful With Control IDs
One issue that is easy to run into when modifying Maximo application XML is duplicate control IDs.
Every control in the presentation should have a unique id.
For example:
results_showlist_tablebody_attachments
and:
wotrackviewattachments
must not already exist elsewhere in the presentation.
Otherwise, Application Designer can throw an error such as:
BMXAA0926E - You cannot import the presentation because control id [...] occurs more than once.
Also, avoid renaming existing control IDs unless you have a specific reason to do so.
Existing IDs can be referenced by other controls, bindings, or application configuration.
7. Reusable Pattern
The nice thing about this approach is that it can be reused in other Maximo applications.
For the List table, use:
mxevent_icon="designer/attachments.gif"
and point the event to your attachment dialog:
mxevent="YOUR_ATTACHMENT_DIALOG_ID"
Then create the dialog with:
id="YOUR_ATTACHMENT_DIALOG_ID"
and:
relationship="DOCLINKS"
For example:
mxevent="wotrackviewattachments"
matches:
id="wotrackviewattachments"
8. Where I Used This
I implemented this approach in:
WOTRACK
and
PLUSPWO
The changes were focused on adding the attachment functionality to the List tab without intentionally changing the existing application fields, tabs, or other controls.
Final Takeaway
If you need a paperclip attachment icon directly in a Maximo List tab, an effective pattern is:
Event tablecol + Maximo attachment icon + custom dialog + DOCLINKS relationship
The most important pieces are:
mxevent_icon="designer/attachments.gif"
mxevent="wotrackviewattachments"
id="wotrackviewattachments"
relationship="DOCLINKS"
The complete flow is:
Paperclip Icon
↓
mxevent
↓
Attachment Dialog
↓
DOCLINKS
↓
Attachments for the Current Work Order
This approach can be adapted to other Maximo applications where you want users to access record attachments directly from a List tab.
#Administration#Analytics#Architecture#Assets#CivilInfrastructure#Customizations#EndUser#EverythingMaximo#HSE/OilandGas#Infrastructure#Integrations#Inventory#IoT#LifeScience/Calibration#Linear#MaximoApplicationSuite#MaximoForAviation#MaximoUserGroups#Mobility#Nuclear#Procurement#Reporting#Scheduling#Security#ServiceProvider#Spatial#Transportation#Utilities#WorkCenters#WorkManagement#MaximoVisualInspection#Predict#Monitor#Health#Assist#Safety------------------------------
Gopireddy Jaswanth reddy
Thiran tech
------------------------------