Treinamento IBM Maximo Workflow – em video e texto
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:
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.
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).
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:
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:
Select the Security group (or groups) that the rule will apply.
Next, select the condition previously created. In our case “1002”.
Now, for the magic trick to work, you must fill the property values for the condition (true and false):
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:
Check the following link to see more style options for the screen elements:
This small piece of knowledge useful might be. If it is not, then my time I wasted, young padawan.
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
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.
Click on defaultvalue text and bring the control options window.
Fill in the values as needed.
You need the ATTRIBUTE, the VALUE and the DEFAULT TYPE set to “Query”.
Save the record and test it:
Check that the craft id field has “ELECT” as default value.
You can easily configure a gmail address to use with Maximo. It takes two main steps to do it:
First, we need to add a new certificate for gmail on WAS. Go to “SSL Certificate and Key Management”:
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:
Now fill in the values like the screen bellow:
IBM Maximo System Proprerties
Now go to System Properties to configure the email info like the screen bellow:
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:
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.
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.