Treinamento Workflow IBM Maximo (gratuito em português)

Treinamento IBM Maximo Workflow – em video e texto

 

 

Anúncios

MAXIMO Conditional UI property

From Maximo 7.1 on it is possible to use conditional UI properties to manipulate screen elements. I will show you how to change some properties of a text field based on a condition.

In this example, the field PERSON.DEPARTMENT will change its label, colors and input mode based on Job Code value (PERSON.JOBCODE) from People application.

The requirement is:

If Job Code is INTERNAL, the PERSON.DEPARTMENT field must be green with white value and required:

ScreenHunter_03 Dec. 15 11.10

 

If the Job Code has any other value, the PERSON.DEPARTMENT field must be blue with white value and label changed to “Company”, also with input mode set as required.

ScreenHunter_06 Dec. 15 11.14

Getting our hands dirty

First thing is to create a new Condition in “Conditional Expression Manager” application. This is self explanatory (if not then ask me).

ScreenHunter_08 Dec. 15 11.18

Now, in application designer, open PERSON app and select the PERSON.DEPARTMENT field.

Go to Advanced tab in the control properties  configuration and choose a Signature Option:

ScreenHunter_09 Dec. 15 11.21

I am using READ as signature option for this example, but you should create your own, because the UI rule is replicated to other elements using the same Signature. To create a new Signature Option, you can easily do it through select action.

After filling the Signature Option field, click on “Configure Conditional Properties” button:

ScreenHunter_10 Dec. 15 11.23

Select the Security group (or groups) that the rule will apply.

Next, select the condition previously created. In our case “1002”.

ScreenHunter_12 Dec. 15 12.56

Now, for the magic trick to work, you must fill the property values for the condition (true and false):

ScreenHunter_12 Dec. 15 13.01

ScreenHunter_12 Dec. 15 13.19

cssclass is used to define the color of the button’s background and its value (use a blank space between the values).
inputmode to set the field as required and label changes the field display title.

 

If you want to know more about some other properties, check this out:

IBM – property values

Check the following link to see more style options for the screen elements:

Ibm – styles for properties

This small piece of knowledge useful might be. If it is not, then my time I wasted, young padawan.

How to set a default value for search fields

Did you know that it is possible to set a default value for search fields in Maximo?

There are two ways of doing it. The first way is through a Java Class, but the easiest way is by using the application designer application.

For this example, I will set a filter for “Labor Reporting” application.

In Application Designer, open LABREP.XML and click

Select Action -> Toggle show Conditional UI Controls

defaultValue001

Now you will be able to see UI Controls.

Next, drag the Default Value control and drop it over the field you need to add the filter value.

defaultValue002

Click on defaultvalue text and bring the control options window.

Fill in the values as needed.

defaultValue003

You need the ATTRIBUTE, the VALUE and the DEFAULT TYPE set to “Query”.

Save the record and test it:

defaultValue004

Check that the craft id field has “ELECT” as default value.

 

Using Gmail over SSL with Maximo 7.6 (Websphere)

You can easily configure a gmail address to use with Maximo. It takes two main steps to do it:

  1. Configure Websphere
  2. Configure MAXIMO System Properties

Websphere

First, we need to add a new certificate for gmail on WAS. Go to “SSL Certificate and Key Management”:

img01

Now look for the menu at the right side of the screen and go to “Key Stores and Certificates -> NodeDefaultTrustStore -> Signer Certificates” and click the “Retrieve From Port” button:

img02

Now fill in the values like the screen bellow:

img03

Host: smtp.gmail.com
Port: 465
Alias: gmail

IBM Maximo System Proprerties

Now go to System Properties to configure the email info like the screen bellow:

img04

mail.smtp.host: smtp.gmail.com
mail.smtp.ssl.enable: true
mxe.smtp.password: the gmail password (optionally you can mask the value)
mxe.smtp.user: the email address (in this case maximocon.com is a gmail address)

Now, to verify if it’s working you can reset a user password:

img05

img06

That’s all. Now you can configure comunication templates, use mail listeners with escalations and worklflows and any other resources that you need to send emails.

Attachment file types

Hello everyone. This is my first post on this blog. We will begin talking about a technical matter: how to setup new allowed file type extensions for attach documents inside Maximo applications. The documents are stored through a HTTP Server (usually IBM Http Server, which is a variation of Apache HTTP Server). This is a pretty simple one, but I hope it helps new consultants out there :-).

Go to System Properties application:

Look for mxe.doclink.doctypes.allowedFileExtensions property:

Valid extensions must be set as shown above.

If you make any changes, you need to flag the property and refresh it:

Is that simple. Try to explore other system properties. Later I’ll create more posts on that subject.