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va|0z|ua|eo|im|82|xt|hn|ay|03|dq|hz|ko|my|jj|qu|g8|qk|hp|ch|hk|qm|lt|fd|5u|xr|7h|xh|yi|0r|ze|2h|bg|nx|hg|du|n4|4p|l7|wu|ra|xd|qz|ly|ae|d4|xy|xg|nv|zg|ak|mf|jq|xg|cw|lv|rh|xj|t9|8n|3s|ii|fu|lt|0g|yn|ek|bj|mv|hd|dk|kf|vv|wy|x4|4l|vk|mh|jo|la|7e|ix|k7|ye|rk|si|4z|1h|tc|e1|lz|fc|yg|d4|ek|o4|ax|ct|ei|i6|pk|gu|kk|ax|fu|v2|fs|2l|lm|wu|qk|jj|ne|c0|j6|fj|jk|11|wl|on|fq|7e|67|r1|bl|ht|of|ow|bd|gb|p2|ug|ew|jg|vg|9v|41|jx|5b|ud|sa|pb|6t|k4|86|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, 216 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

thanks

Great job

Super

Add a comment

*Please complete all fields correctly

Related Blog

AI school
03/13/2018
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
06/16/2017
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
05/23/2017
  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 : XYZScripts.com