pt|rq|ke|sc|ou|fu|66|8f|im|zv|u5|xk|sa|bt|gp|ox|qc|gx|sz|50|4x|rr|cf|ki|yg|on|q7|fi|5z|xh|vx|pu|hx|1i|sc|jg|y6|k4|ss|5i|1e|we|m7|jw|gc|eg|m2|ht|lc|by|vl|qg|wr|jm|98|q5|2j|pl|6x|1m|gl|ko|cj|of|ep|1m|hp|px|3u|aw|sc|uk|db|t0|eg|5o|ub|qp|wm|px|yh|ua|k8|yc|13|lf|d1|29|99|d4|k6|1x|pt|bk|5t|3j|74|ny|q3|ww|cn|tf|ki|xl|52|qd|js|lv|kk|jg|bf|ou|tx|nz|rm|tm|f4|a3|0q|vw|bx|a4|4p|vr|fk|pk|am|l4|6o|dj|ca|px|wf|hx|hw|5m|cw|se|jy|4i|ev|7l|1i|in|w6|l5|dl|0u|jn|kt|eb|oj|6o|uz|q6|vr|ma|jn|y2|ya|iy|fa|fq|zy|l6|e2|f5|pt|ac|y1|3h|v5|0t|lo|da|7t|ik|cx|gj|lg|3r|fy|ze|7t|z2|wo|gf|hs|nz|fw|f2|8z|3c|b7|qc|wq|y8|mk|5a|dr|ab|1 IBM Maximo: How to add Social Networking buttons to your application - Internet of Ideas

IBM Maximo: How to add Social Networking buttons to your application

IBM Maximo: How to add Social Networking buttons to your application

11/30/2015 | Developer

In the past months I designed a solution to integrate IBM Maximo and Twitter to address a common requirement: to notify the users when something happen in IBM Maximo. For example an user group should be notified when an workorder change status. The solution is based on Twitter4J library, a  Java Twitter’s API library.

In this article I’m showing you how to add Social Networking button to your application, for example the Twitter button to your Maximo Service Request (SR) application:

Twitter Button

Twitter Button


This feature may address the following Customer’s requirement: sending a notifications for Service Requests ‘s updates. In this scenario instead of to send email notifications for a Service Request I’m showing you how to send a Tweet to notify an user.


FIRST of all you have to define a new application in your Twitter account:


IBM Maximo Twitter Application definition

IBM Maximo Twitter Application definition


to grant the application authorization to post on the user’s behalf. In our scenario the Maximo Java code will post using my Twitter account by Outh authentication. You can easily create an Twitter application in your account here.


SECOND you have to extend the TICKET object with two attributes (using Maximo database configuration) :

  • TWITTERACCOUNT (ALN, 15)  to store the Twitter user account
  • TWEETTHISTEXT (ALN, 140) to store the text to tweet


THIRD you have to modify the SR application with the following items (using Maximo application designer) :

  • two text field associated with two new attributes created on TICKET object.
  • a button, that is your social network button.
  • a signature to manage the button-pressed event action, see IBM Maximo application developer guide for details.

You can use your Tweet button preferred image in maximo\applications\maximo\maximouiweb\webmodule\webclient\skins\tivoliXY\images ,  remember to rebuild & redeploy the Maximo ear in your Application Server before to use the new SR application.

At the end the SR application looks like this one:


IBM Maximo SR application with Tweet Social Button

IBM Maximo Service Request application with Tweet Social Button


FOUR you have create a Maximo Java custom action to handle the buttonpressed event. Your class must implement the psdi.common.action.ActionCustomClass interface and it must to implement the applyCustomAction method



I have also used a private method to tweet message



the complete and tested Java class here

TweetThisTextAction (4.9 KiB, 247 downloads)

Last step before to use the new social button is to define the custom action using the signature name previously defined in SR application design (using Maximo action application) :


Java Custom Action used to tweet

Java Custom Action used to tweet


Finally I pressed on my Social button to tweet to @gmnesodo user using my personal account linked to Maximo application:


Tweet from Maximo SR

Tweet from Maximo SR


So the tweet is composed by the Service Request number and the text (Everything in its Right Place, “Radiohead, Op. Cit.”) previously inserted in SR application’s field.

Enjoy using social networking button in IBM Maximo, your comments and suggestions are welcome.

Blog Comments

Great work !

Mario Noioso

Thanks a lot !!!

Mario Noioso

Thank you all, this post has gone beyond my expectations !!! 🙂

Great job

very interesting, thanks for sharing

Outstanding work !

Mario Noioso


Great job


Add a comment

*Please complete all fields correctly

Related Blog

AI school
Become an AI expert through Microsoft hands-on training course program, dive in and learn how to start building intelligence into your solutions with the Microsoft AI platform. The school includes...
microsoft azure
Microsoft Azure is a global, trusted, and hybrid cloud platform that enables organizations to quickly build, deploy, and manage applications across a large network of Microsoft-managed data centers, supporting migration...
Microsoft loves Linux
  Few year ago Microsoft CEO Satya Nadella said “Microsoft Loves Linux” during an event in San Francisco. This is not love at first sight. Modern IT is powered by...
HTML Snippets Powered By :