SlideShare ist ein Scribd-Unternehmen logo
1 von 27
Downloaden Sie, um offline zu lesen
MaxTECH Technical Training
Build a Custom Application to Manage all Queries
Stephen Hume – Senior Maximo Consultant
Agenda
• Introductions 9:00am – 9:15am
• Course Objective 9:15am – 9:30am
• Application Designer
• Database Configuration – Relationships
• Security Administration
• Automation Scripting
• Naming Standards
• Documenting Implementation Steps while you go
• Creating The New Application 9:30am – 10:00am
• Adding data from related tables to the application 10:00am – 10:15am
• Additional configuration of the application 10:15am – 10:30am
• Break 10:30am – 10:45am
• Creating the Automation Script linked to an Action 10:45am – 11:00am
• Adding the Button to Trigger the Automation Script 11:00am – 11:15am
• Testing the Application 11:15am – 11:30am
• Review of the Technical Learnings 11:30am – 11:45am
• Questions, Answers, Plan for next Meeting 11:45am – 12:00Noon
BPD Zenith UK | Canada | USA | Australia | New Zealand 2
Overview
The purpose of this new application is an administrative tool to allow an admin user the ability to modify queries
which have been created by any users in Maximo. The admin user will be able to set a user query as public or
private, modify the SQL, and change the Query Description. The admin user will NOT be able to delete any queries
created by another user using this application. (The MBO rules are still enforced).
This application is very useful for managing all queries in all applications in Maximo. It allows the admin user to see
where queries have been used on start centers. It allows the admin user to see all queries created by users that
may no longer be active in Maximo.
One use case for this tool is that when a user has left the company, the admin user can grant that user access to the
query management application, reset the users password, log in as that user, go to the query management application
and then delete that users queries one at a time. This allows the admin user the ability to keep on top of user queries.
Much of what this application makes possible used to need to be done using back end database updates for query
management.
BPD Zenith UK | Canada | USA | Australia | New Zealand 3
Creating the New Application
Information you need before you create the application:
- Name and Description of the new application
- Module where the new application is going to reside
BPD_QUERY
Query Manager
QUERY
QUERYID
SETUP
When adding this application into other environments
you can use migration manager to move all changes, or you
can replicate the steps manually.
BPD Zenith UK | Canada | USA | Australia | New Zealand 4
Adding New Column to List Tab
Need to add the PUBLIC flag to the list tab to allow you to filter for public and private queries.
Click and Drag a Table Column to the last place on the Right
Right Click on that field and select properties
Attribute = ISPUBLIC
BPD Zenith UK | Canada | USA | Australia | New Zealand 5
Adding Data from Related Tables to the Application
• Adding the Person’s Status and Name
• Creating the Relationship to the Person Table * this only needs to be done once for the entire group
NOTE: There is already a relationship on the Query table called MAXUSER which incorrectly links the
Query to the Person table. So a new relationship is created which properly links the owner of the Query to
the Person Table.
• Adding the related attributes to the List Tab and the Details Tab
Adding Status – Attribute is BPD_OWNER.STATUS
Adding Person’s Name – Attribute is BPD_OWNER.PERSON.DISPLAYNAME
• Making those attributes read only
On the details tab, those fields need to be made read only to ensure that users cannot change status or
Name of the person.
BPD Zenith UK | Canada | USA | Australia | New Zealand 6
Adding Data from Related Tables to the Application
• Adding a table showing which Start Centers are Using the Query
• Create the relationship to the SCTEMPLATE table * this only needs to be done once for the entire group
NOTE: This relationship only needs to be created once for this class. It can be used by all students.
• Adding the table to the applications details tab
Click and drag a new section onto the application details tab at the bottom
Then click and drag a table into that section. Right click on the table and select properties
NOTE: The clause above has been tested and works with the training database (which is DB2).
It may need to be modified if your database is SQL Server.
BPD Zenith UK | Canada | USA | Australia | New Zealand 7
Adding Data from Related Tables to the Application
Properties of the table – Relationship = SCTEMPLATE – datasource ID and Control ID will be different for
each student
Make the input
mode for the table =
readonly so that the data
cannot be updated by
the user.
BPD Zenith UK | Canada | USA | Australia | New Zealand 8
Adding Data from Related Tables to the Application
Add two table columns to the table here are the properties for each column
BPD Zenith UK | Canada | USA | Australia | New Zealand 9
Testing the Application
• Save your changes then OPEN the application under the Administration Module
Hit ENTER on the list tab to get a listing
of all queries in the system.
Then click on the first QUERYID to open
that Query.
BPD Zenith UK | Canada | USA | Australia | New Zealand 10
Testing the Application
Scroll through the Queries by hitting the Next
Record Icon
When you get to the Open Service Requests
you should see that there is an entry in the Start Centers
table, telling you that this query has been used on a
Start Center.
BPD Zenith UK | Canada | USA | Australia | New Zealand 11
Further Refining the Application Design
When an application is created, Maximo by default creates certain signature options, select action entries
and Tool Bar Items, also by default it gives access to those options to the MAXADMIN security group.
• Removing, hiding, renaming signature options
• Removing Select Action Items
Uncheck the Visible Flag on the following Options
DUPLICATE
INSERT
Modify the description of the following Options
DELETE – Change to Delete Record*
NEXT – Change to Next Record
PREVIOUS – Change to Previous Record
SAVE – Change to Save Changes
Uncheck the Visible Flag for
DUPLICATE
BPD Zenith UK | Canada | USA | Australia | New Zealand 12
Further Refining the Application Design
When an application is created, Maximo by default creates certain signature options, select action entries
and Tool Bar Items, also by default it gives access to those options to the MAXADMIN security group.
• Removing toolbar options
Uncheck the Visible Flag on the following Options
INSERT
BPD Zenith UK | Canada | USA | Australia | New Zealand 13
Further Refining the Application Design
• Improving the Default Layout
• Increasing Column Width on the List Tab
In order to modify the width of a column on the list tab, you need to save your changes
then export the XML using the Export ICON
This will open the xml in a new tab of the browser, you need to save a copy of the XML onto your
computer, then edit the xml with a text editor.
BPD Zenith UK | Canada | USA | Australia | New Zealand 14
Further Refining the Application Design
• Improving the Default Layout
• Add width=“n” to the end of the table column where you want to force a new width.
• NOTE: do no use 10 as the width – is it too narrow… use 100 instead
• Then save your changes to the XML file, and Import the XML back into Application Designer using the
IMPORT Icon.
In the example above I used the number 10, this represents 10 pixels in width, you can adjust this number up and
down until you get the desired width. Each time you change the XML using a text editor you will need to Import it
into the application designer. As it turns out 10 was too narrow, we set it to 100 for the display name which was
better suited.
BPD Zenith UK | Canada | USA | Australia | New Zealand 15
Further Refining the Application Design
• Other Design Options
• Adding Colours or Not
If you wanted to add some conditional formatting to your new application you could do the following
- Highlight the Status field in RED if the user is INACTIVE
- Highlight the Public field in GREEN if it is a PUBLIC query
Both of these options would require you to create conditional expressions and then apply a signature
option to the fields you want to highlight.
If time permits, this can be demonstrated in the class.
• Compacting the Design to Minimize Scrolling
When a power application is created by Maximo the default is to add all fields to the detail tab, and
make it so the user will need to do vertical scrolling to see the entire record.
This can be modified by adding sections, section columns and moving fields into the different columns
using Cut and Paste. If there is enough time in the course this will be demonstrated.
• One of the fields the (CLAUSE) field needs to be converted to a Multiline text box.
This is done by adding the multiline box, defining the number of lines (5)
and pointing to the CLAUSE attribute, don’t forget to delete the original CLAUSE
field which was created by the system.
BPD Zenith UK | Canada | USA | Australia | New Zealand 16
Further Refining the Application Design
• Granting Access to the Application
By default, when the new power application was created access was given to the MAXADMIN security
group. If when the application is actually ready access will be given to another security group, you need
to grant access using the Security Group application. You can for example give users “read only” access
to this application, and also ensure that those users do not have the access to open up the record for editing.
• Adding Reports to the Application (Not in scope for this course)
There are no reports for this new application. You could create some useful reports. A Query Listing Report, A
Query Detail Report. Queries for Inactive Users, Public Queries Not on any Start Centers, etc.
These reports can be created using ECLIPSE – BIRT and then added into Maximo using the report
administration tool.
It is also possible to allow users to create their own reports using QBR for this application, saving those reports
and making them available to all users.
BPD Zenith UK | Canada | USA | Australia | New Zealand 17
The need for the Automation Script in this Application
The problem here is that out of the box the QUERY can never be updated by anyone except the person that
created the Query. You could change the “creator” of the query in the backend database, but this would
make the Query fail on any Start Centers where it might be used.
NOTE: The first time we created an automation script for the Query Management application, it was created as an
object level automation script. It was design to run automatically so that Queries were always editable by the
Admin User.
When we upgraded to 7.6 it was noted that start centers were not loading properly when users logged in, we
traced this back to the automation script which was looping through every query and trying to override read-only
features. We then converted the automation script to only fire when a pushbutton is pushed, making much less
intrusive to the system. Lesson learned from this – Automation Scripts need to be used with care as they can truly
cause system performance issues, and in the least expected way.
BPD Zenith UK | Canada | USA | Australia | New Zealand 18
Creation of the Script
Go to the Automation Scripts Application and in the left hand menu click Create – Script with Action Launch
Point.
Give the Launch Point a Unique Name
It will be copied to the Action Field
You can use the same description for
the launch point and action
The OBJECT for this script is QUERY
BPD Zenith UK | Canada | USA | Australia | New Zealand 19
Creation of the Script
Then add five variables:
CLAUSENAME
DESCRIPTION
ISPUBLIC
OWNER
CLAUSE
And for each one click Suppress Validation
Suppress Access Control and Suppress Action
Then click NEXT
Create the script name (Make it the same as the launchpoint name)
BPD Zenith UK | Canada | USA | Australia | New Zealand 20
Creation of the Script
Then input the Source Code for the Script and then click the CREATE button
At this time the ACTION will be created by the system.
BPD Zenith UK | Canada | USA | Australia | New Zealand 21
Adding a button to the Application to Trigger Script
Open the application you created in application designer, then create a new
signature option (same name as the action you created)
Be sure to check the action option for the Signature option or it will not do anything when you
click on the button in the application.
BPD Zenith UK | Canada | USA | Australia | New Zealand 22
Adding a button to the Application to Trigger Script
Drag a Pushbutton Object onto the body of that tab
Then edit the pushbutton properties
Label: Edit this Query
Event: the name of the action you created
Click SAVE – you then need to go to the Security Groups Application
and give access to MAXADMIN Group to the new Security Option.
BPD Zenith UK | Canada | USA | Australia | New Zealand 23
Granting Security Access to the Button
Go to security groups application filter to the MAXADMIN group
On the applications tab filter to your Query Management Application
Then in the signature options make sure the option you create is checked
Save your changes, log out of Maximo, Log back in and then go to your Query Management
application to test the pushbutton.
BPD Zenith UK | Canada | USA | Australia | New Zealand 24
Testing your Application
Go to the Query Management Application you created and test the full application,
Record to record navigation, the unlocking button, displays of person name, status, width
of columns.
You can make adjustments to your design using the application designer, move fields around,
Re-position the pushbutton, adjust field widths, etc.
Once you are happy with the application it would be ready to move to your QA (pre-production environment).
BPD Zenith UK | Canada | USA | Australia | New Zealand 25
Review of Learnings
You have learned the following skills through this training class.
1. How to create a new custom application against an existing Maximo Object
2. How to create relationships and use those relationships to display data from related tables
3. How to create a table of related data in an application.
4. How to remove or hide signature options
5. How to add new signature options
6. How to create an action triggered automation script
7. How to add a pushbutton to an application to trigger an action
8. How to give access to the pushbutton through security
Other ideas for administrative tools in Maximo.
Add a table to the person application to show which person groups that person belongs to
Add a table to the person application to show which security groups a person belongs to
BPD Zenith UK | Canada | USA | Australia | New Zealand 26
Thank You
Stephen Hume
Senior Maximo Consultant
BPD Zenith
stephen.hume@bpdzenith.com
About the Instructor:
Stephen has been working with Maximo for over ten years in a variety of industries (Oil and Gas, Utilities)
He has taught Maximo courses to end users for both Technical and Functional audiences. He created an 8 week
Maximo University course which has been used to teach Maximo Support to new team members.
As a recent member of the Canadian Maximo User Group Steering Committee Stephen is very active in the
Maximo community, preparing and delivery presentations at Maximo User Group meetings and IBM Conferences
throughout North America
BPD Zenith UK | Canada | USA | Australia | New Zealand 27

Weitere ähnliche Inhalte

Ähnlich wie MaxTECH Technical Training - Building a Query Management Application in Maximo

Maximo - Building a Custom Query Management Application
Maximo - Building a Custom Query Management ApplicationMaximo - Building a Custom Query Management Application
Maximo - Building a Custom Query Management Applicationsthume
 
MaxTECH Technical Training Presentation from MaximoWorld 2018
MaxTECH Technical Training Presentation from MaximoWorld 2018MaxTECH Technical Training Presentation from MaximoWorld 2018
MaxTECH Technical Training Presentation from MaximoWorld 2018Helen Fisher
 
Canadian Maximo User Group Technical Training - Maximo Reporting 201
Canadian Maximo User Group Technical Training - Maximo Reporting 201Canadian Maximo User Group Technical Training - Maximo Reporting 201
Canadian Maximo User Group Technical Training - Maximo Reporting 201Helen Fisher
 
SuccessFactors 2H 2021 Sneak Peek by Deloitte Germany
SuccessFactors 2H 2021 Sneak Peek by Deloitte GermanySuccessFactors 2H 2021 Sneak Peek by Deloitte Germany
SuccessFactors 2H 2021 Sneak Peek by Deloitte GermanyChristoph Pohl
 
Configure Versus Customize: Using PeopleSoft Page and Field Configurator
Configure Versus Customize: Using PeopleSoft Page and Field ConfiguratorConfigure Versus Customize: Using PeopleSoft Page and Field Configurator
Configure Versus Customize: Using PeopleSoft Page and Field ConfiguratorSmart ERP Solutions, Inc.
 
m365_slides.pptx
m365_slides.pptxm365_slides.pptx
m365_slides.pptxadewad
 
Application Consolidation PowerPoint Presentation Slides
Application Consolidation PowerPoint Presentation Slides Application Consolidation PowerPoint Presentation Slides
Application Consolidation PowerPoint Presentation Slides SlideTeam
 
Application Consolidation Powerpoint Presentation Slides
Application Consolidation Powerpoint Presentation SlidesApplication Consolidation Powerpoint Presentation Slides
Application Consolidation Powerpoint Presentation SlidesSlideTeam
 
Employee Management System
Employee Management SystemEmployee Management System
Employee Management Systemvivek shah
 
Salesforce Summer'15 release overview
 Salesforce Summer'15 release overview Salesforce Summer'15 release overview
Salesforce Summer'15 release overviewRakesh Gupta
 
Top Tips for Getting the Best from SuccessFactors Q2 2016 Release Universal ...
Top Tips for Getting the Best from SuccessFactors Q2 2016 Release Universal ...Top Tips for Getting the Best from SuccessFactors Q2 2016 Release Universal ...
Top Tips for Getting the Best from SuccessFactors Q2 2016 Release Universal ...NGA Human Resources
 
Summer23-Welly Release Highlights - Stephen Stanley.pdf
Summer23-Welly Release Highlights - Stephen Stanley.pdfSummer23-Welly Release Highlights - Stephen Stanley.pdf
Summer23-Welly Release Highlights - Stephen Stanley.pdfAnna Loughnan Colquhoun
 
KWizCom forms - introduction
KWizCom forms - introductionKWizCom forms - introduction
KWizCom forms - introductionNimrod Geva
 
How to Make Wise Post-Production Changes to Oracle Clinical/Remote Data Captu...
How to Make Wise Post-Production Changes to Oracle Clinical/Remote Data Captu...How to Make Wise Post-Production Changes to Oracle Clinical/Remote Data Captu...
How to Make Wise Post-Production Changes to Oracle Clinical/Remote Data Captu...Perficient, Inc.
 
Customer relationship management
Customer relationship managementCustomer relationship management
Customer relationship managementRohit Gupta
 
ODTUG Learn from Home S E R I E S-Automating Security Management in PBCS!
ODTUG Learn from Home S E R I E S-Automating Security Management in PBCS!ODTUG Learn from Home S E R I E S-Automating Security Management in PBCS!
ODTUG Learn from Home S E R I E S-Automating Security Management in PBCS!Dayalan Punniyamoorthy
 
PURPOSE of the project is Williams Specialty Company (WSC) reque.docx
PURPOSE of the project is Williams Specialty Company (WSC) reque.docxPURPOSE of the project is Williams Specialty Company (WSC) reque.docx
PURPOSE of the project is Williams Specialty Company (WSC) reque.docxamrit47
 
[AIS 2018] Keynote tools and practices - scott davis
[AIS 2018] Keynote tools and practices  - scott davis[AIS 2018] Keynote tools and practices  - scott davis
[AIS 2018] Keynote tools and practices - scott davisAtlassian 대한민국
 
Tuning database performance
Tuning database performanceTuning database performance
Tuning database performanceBinay Acharya
 

Ähnlich wie MaxTECH Technical Training - Building a Query Management Application in Maximo (20)

Maximo - Building a Custom Query Management Application
Maximo - Building a Custom Query Management ApplicationMaximo - Building a Custom Query Management Application
Maximo - Building a Custom Query Management Application
 
MaxTECH Technical Training Presentation from MaximoWorld 2018
MaxTECH Technical Training Presentation from MaximoWorld 2018MaxTECH Technical Training Presentation from MaximoWorld 2018
MaxTECH Technical Training Presentation from MaximoWorld 2018
 
Canadian Maximo User Group Technical Training - Maximo Reporting 201
Canadian Maximo User Group Technical Training - Maximo Reporting 201Canadian Maximo User Group Technical Training - Maximo Reporting 201
Canadian Maximo User Group Technical Training - Maximo Reporting 201
 
SuccessFactors 2H 2021 Sneak Peek by Deloitte Germany
SuccessFactors 2H 2021 Sneak Peek by Deloitte GermanySuccessFactors 2H 2021 Sneak Peek by Deloitte Germany
SuccessFactors 2H 2021 Sneak Peek by Deloitte Germany
 
Configure Versus Customize: Using PeopleSoft Page and Field Configurator
Configure Versus Customize: Using PeopleSoft Page and Field ConfiguratorConfigure Versus Customize: Using PeopleSoft Page and Field Configurator
Configure Versus Customize: Using PeopleSoft Page and Field Configurator
 
m365_slides.pptx
m365_slides.pptxm365_slides.pptx
m365_slides.pptx
 
Application Consolidation PowerPoint Presentation Slides
Application Consolidation PowerPoint Presentation Slides Application Consolidation PowerPoint Presentation Slides
Application Consolidation PowerPoint Presentation Slides
 
Application Consolidation Powerpoint Presentation Slides
Application Consolidation Powerpoint Presentation SlidesApplication Consolidation Powerpoint Presentation Slides
Application Consolidation Powerpoint Presentation Slides
 
KWizCom Forms
KWizCom FormsKWizCom Forms
KWizCom Forms
 
Employee Management System
Employee Management SystemEmployee Management System
Employee Management System
 
Salesforce Summer'15 release overview
 Salesforce Summer'15 release overview Salesforce Summer'15 release overview
Salesforce Summer'15 release overview
 
Top Tips for Getting the Best from SuccessFactors Q2 2016 Release Universal ...
Top Tips for Getting the Best from SuccessFactors Q2 2016 Release Universal ...Top Tips for Getting the Best from SuccessFactors Q2 2016 Release Universal ...
Top Tips for Getting the Best from SuccessFactors Q2 2016 Release Universal ...
 
Summer23-Welly Release Highlights - Stephen Stanley.pdf
Summer23-Welly Release Highlights - Stephen Stanley.pdfSummer23-Welly Release Highlights - Stephen Stanley.pdf
Summer23-Welly Release Highlights - Stephen Stanley.pdf
 
KWizCom forms - introduction
KWizCom forms - introductionKWizCom forms - introduction
KWizCom forms - introduction
 
How to Make Wise Post-Production Changes to Oracle Clinical/Remote Data Captu...
How to Make Wise Post-Production Changes to Oracle Clinical/Remote Data Captu...How to Make Wise Post-Production Changes to Oracle Clinical/Remote Data Captu...
How to Make Wise Post-Production Changes to Oracle Clinical/Remote Data Captu...
 
Customer relationship management
Customer relationship managementCustomer relationship management
Customer relationship management
 
ODTUG Learn from Home S E R I E S-Automating Security Management in PBCS!
ODTUG Learn from Home S E R I E S-Automating Security Management in PBCS!ODTUG Learn from Home S E R I E S-Automating Security Management in PBCS!
ODTUG Learn from Home S E R I E S-Automating Security Management in PBCS!
 
PURPOSE of the project is Williams Specialty Company (WSC) reque.docx
PURPOSE of the project is Williams Specialty Company (WSC) reque.docxPURPOSE of the project is Williams Specialty Company (WSC) reque.docx
PURPOSE of the project is Williams Specialty Company (WSC) reque.docx
 
[AIS 2018] Keynote tools and practices - scott davis
[AIS 2018] Keynote tools and practices  - scott davis[AIS 2018] Keynote tools and practices  - scott davis
[AIS 2018] Keynote tools and practices - scott davis
 
Tuning database performance
Tuning database performanceTuning database performance
Tuning database performance
 

Kürzlich hochgeladen

What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...Technogeeks
 
MYjobs Presentation Django-based project
MYjobs Presentation Django-based projectMYjobs Presentation Django-based project
MYjobs Presentation Django-based projectAnoyGreter
 
Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Andreas Granig
 
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxTier1 app
 
VK Business Profile - provides IT solutions and Web Development
VK Business Profile - provides IT solutions and Web DevelopmentVK Business Profile - provides IT solutions and Web Development
VK Business Profile - provides IT solutions and Web Developmentvyaparkranti
 
Sending Calendar Invites on SES and Calendarsnack.pdf
Sending Calendar Invites on SES and Calendarsnack.pdfSending Calendar Invites on SES and Calendarsnack.pdf
Sending Calendar Invites on SES and Calendarsnack.pdf31events.com
 
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...Natan Silnitsky
 
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...confluent
 
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...Cizo Technology Services
 
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfGOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfAlina Yurenko
 
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...Matt Ray
 
Ahmed Motair CV April 2024 (Senior SW Developer)
Ahmed Motair CV April 2024 (Senior SW Developer)Ahmed Motair CV April 2024 (Senior SW Developer)
Ahmed Motair CV April 2024 (Senior SW Developer)Ahmed Mater
 
SpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at RuntimeSpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at Runtimeandrehoraa
 
Precise and Complete Requirements? An Elusive Goal
Precise and Complete Requirements? An Elusive GoalPrecise and Complete Requirements? An Elusive Goal
Precise and Complete Requirements? An Elusive GoalLionel Briand
 
Implementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureImplementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureDinusha Kumarasiri
 
Comparing Linux OS Image Update Models - EOSS 2024.pdf
Comparing Linux OS Image Update Models - EOSS 2024.pdfComparing Linux OS Image Update Models - EOSS 2024.pdf
Comparing Linux OS Image Update Models - EOSS 2024.pdfDrew Moseley
 
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样umasea
 
Folding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a seriesFolding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a seriesPhilip Schwarz
 
Intelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmIntelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmSujith Sukumaran
 

Kürzlich hochgeladen (20)

Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort ServiceHot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
 
What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...
 
MYjobs Presentation Django-based project
MYjobs Presentation Django-based projectMYjobs Presentation Django-based project
MYjobs Presentation Django-based project
 
Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024
 
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
 
VK Business Profile - provides IT solutions and Web Development
VK Business Profile - provides IT solutions and Web DevelopmentVK Business Profile - provides IT solutions and Web Development
VK Business Profile - provides IT solutions and Web Development
 
Sending Calendar Invites on SES and Calendarsnack.pdf
Sending Calendar Invites on SES and Calendarsnack.pdfSending Calendar Invites on SES and Calendarsnack.pdf
Sending Calendar Invites on SES and Calendarsnack.pdf
 
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...
 
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
 
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
 
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfGOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
 
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
 
Ahmed Motair CV April 2024 (Senior SW Developer)
Ahmed Motair CV April 2024 (Senior SW Developer)Ahmed Motair CV April 2024 (Senior SW Developer)
Ahmed Motair CV April 2024 (Senior SW Developer)
 
SpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at RuntimeSpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at Runtime
 
Precise and Complete Requirements? An Elusive Goal
Precise and Complete Requirements? An Elusive GoalPrecise and Complete Requirements? An Elusive Goal
Precise and Complete Requirements? An Elusive Goal
 
Implementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureImplementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with Azure
 
Comparing Linux OS Image Update Models - EOSS 2024.pdf
Comparing Linux OS Image Update Models - EOSS 2024.pdfComparing Linux OS Image Update Models - EOSS 2024.pdf
Comparing Linux OS Image Update Models - EOSS 2024.pdf
 
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
 
Folding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a seriesFolding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a series
 
Intelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmIntelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalm
 

MaxTECH Technical Training - Building a Query Management Application in Maximo

  • 1. MaxTECH Technical Training Build a Custom Application to Manage all Queries Stephen Hume – Senior Maximo Consultant
  • 2. Agenda • Introductions 9:00am – 9:15am • Course Objective 9:15am – 9:30am • Application Designer • Database Configuration – Relationships • Security Administration • Automation Scripting • Naming Standards • Documenting Implementation Steps while you go • Creating The New Application 9:30am – 10:00am • Adding data from related tables to the application 10:00am – 10:15am • Additional configuration of the application 10:15am – 10:30am • Break 10:30am – 10:45am • Creating the Automation Script linked to an Action 10:45am – 11:00am • Adding the Button to Trigger the Automation Script 11:00am – 11:15am • Testing the Application 11:15am – 11:30am • Review of the Technical Learnings 11:30am – 11:45am • Questions, Answers, Plan for next Meeting 11:45am – 12:00Noon BPD Zenith UK | Canada | USA | Australia | New Zealand 2
  • 3. Overview The purpose of this new application is an administrative tool to allow an admin user the ability to modify queries which have been created by any users in Maximo. The admin user will be able to set a user query as public or private, modify the SQL, and change the Query Description. The admin user will NOT be able to delete any queries created by another user using this application. (The MBO rules are still enforced). This application is very useful for managing all queries in all applications in Maximo. It allows the admin user to see where queries have been used on start centers. It allows the admin user to see all queries created by users that may no longer be active in Maximo. One use case for this tool is that when a user has left the company, the admin user can grant that user access to the query management application, reset the users password, log in as that user, go to the query management application and then delete that users queries one at a time. This allows the admin user the ability to keep on top of user queries. Much of what this application makes possible used to need to be done using back end database updates for query management. BPD Zenith UK | Canada | USA | Australia | New Zealand 3
  • 4. Creating the New Application Information you need before you create the application: - Name and Description of the new application - Module where the new application is going to reside BPD_QUERY Query Manager QUERY QUERYID SETUP When adding this application into other environments you can use migration manager to move all changes, or you can replicate the steps manually. BPD Zenith UK | Canada | USA | Australia | New Zealand 4
  • 5. Adding New Column to List Tab Need to add the PUBLIC flag to the list tab to allow you to filter for public and private queries. Click and Drag a Table Column to the last place on the Right Right Click on that field and select properties Attribute = ISPUBLIC BPD Zenith UK | Canada | USA | Australia | New Zealand 5
  • 6. Adding Data from Related Tables to the Application • Adding the Person’s Status and Name • Creating the Relationship to the Person Table * this only needs to be done once for the entire group NOTE: There is already a relationship on the Query table called MAXUSER which incorrectly links the Query to the Person table. So a new relationship is created which properly links the owner of the Query to the Person Table. • Adding the related attributes to the List Tab and the Details Tab Adding Status – Attribute is BPD_OWNER.STATUS Adding Person’s Name – Attribute is BPD_OWNER.PERSON.DISPLAYNAME • Making those attributes read only On the details tab, those fields need to be made read only to ensure that users cannot change status or Name of the person. BPD Zenith UK | Canada | USA | Australia | New Zealand 6
  • 7. Adding Data from Related Tables to the Application • Adding a table showing which Start Centers are Using the Query • Create the relationship to the SCTEMPLATE table * this only needs to be done once for the entire group NOTE: This relationship only needs to be created once for this class. It can be used by all students. • Adding the table to the applications details tab Click and drag a new section onto the application details tab at the bottom Then click and drag a table into that section. Right click on the table and select properties NOTE: The clause above has been tested and works with the training database (which is DB2). It may need to be modified if your database is SQL Server. BPD Zenith UK | Canada | USA | Australia | New Zealand 7
  • 8. Adding Data from Related Tables to the Application Properties of the table – Relationship = SCTEMPLATE – datasource ID and Control ID will be different for each student Make the input mode for the table = readonly so that the data cannot be updated by the user. BPD Zenith UK | Canada | USA | Australia | New Zealand 8
  • 9. Adding Data from Related Tables to the Application Add two table columns to the table here are the properties for each column BPD Zenith UK | Canada | USA | Australia | New Zealand 9
  • 10. Testing the Application • Save your changes then OPEN the application under the Administration Module Hit ENTER on the list tab to get a listing of all queries in the system. Then click on the first QUERYID to open that Query. BPD Zenith UK | Canada | USA | Australia | New Zealand 10
  • 11. Testing the Application Scroll through the Queries by hitting the Next Record Icon When you get to the Open Service Requests you should see that there is an entry in the Start Centers table, telling you that this query has been used on a Start Center. BPD Zenith UK | Canada | USA | Australia | New Zealand 11
  • 12. Further Refining the Application Design When an application is created, Maximo by default creates certain signature options, select action entries and Tool Bar Items, also by default it gives access to those options to the MAXADMIN security group. • Removing, hiding, renaming signature options • Removing Select Action Items Uncheck the Visible Flag on the following Options DUPLICATE INSERT Modify the description of the following Options DELETE – Change to Delete Record* NEXT – Change to Next Record PREVIOUS – Change to Previous Record SAVE – Change to Save Changes Uncheck the Visible Flag for DUPLICATE BPD Zenith UK | Canada | USA | Australia | New Zealand 12
  • 13. Further Refining the Application Design When an application is created, Maximo by default creates certain signature options, select action entries and Tool Bar Items, also by default it gives access to those options to the MAXADMIN security group. • Removing toolbar options Uncheck the Visible Flag on the following Options INSERT BPD Zenith UK | Canada | USA | Australia | New Zealand 13
  • 14. Further Refining the Application Design • Improving the Default Layout • Increasing Column Width on the List Tab In order to modify the width of a column on the list tab, you need to save your changes then export the XML using the Export ICON This will open the xml in a new tab of the browser, you need to save a copy of the XML onto your computer, then edit the xml with a text editor. BPD Zenith UK | Canada | USA | Australia | New Zealand 14
  • 15. Further Refining the Application Design • Improving the Default Layout • Add width=“n” to the end of the table column where you want to force a new width. • NOTE: do no use 10 as the width – is it too narrow… use 100 instead • Then save your changes to the XML file, and Import the XML back into Application Designer using the IMPORT Icon. In the example above I used the number 10, this represents 10 pixels in width, you can adjust this number up and down until you get the desired width. Each time you change the XML using a text editor you will need to Import it into the application designer. As it turns out 10 was too narrow, we set it to 100 for the display name which was better suited. BPD Zenith UK | Canada | USA | Australia | New Zealand 15
  • 16. Further Refining the Application Design • Other Design Options • Adding Colours or Not If you wanted to add some conditional formatting to your new application you could do the following - Highlight the Status field in RED if the user is INACTIVE - Highlight the Public field in GREEN if it is a PUBLIC query Both of these options would require you to create conditional expressions and then apply a signature option to the fields you want to highlight. If time permits, this can be demonstrated in the class. • Compacting the Design to Minimize Scrolling When a power application is created by Maximo the default is to add all fields to the detail tab, and make it so the user will need to do vertical scrolling to see the entire record. This can be modified by adding sections, section columns and moving fields into the different columns using Cut and Paste. If there is enough time in the course this will be demonstrated. • One of the fields the (CLAUSE) field needs to be converted to a Multiline text box. This is done by adding the multiline box, defining the number of lines (5) and pointing to the CLAUSE attribute, don’t forget to delete the original CLAUSE field which was created by the system. BPD Zenith UK | Canada | USA | Australia | New Zealand 16
  • 17. Further Refining the Application Design • Granting Access to the Application By default, when the new power application was created access was given to the MAXADMIN security group. If when the application is actually ready access will be given to another security group, you need to grant access using the Security Group application. You can for example give users “read only” access to this application, and also ensure that those users do not have the access to open up the record for editing. • Adding Reports to the Application (Not in scope for this course) There are no reports for this new application. You could create some useful reports. A Query Listing Report, A Query Detail Report. Queries for Inactive Users, Public Queries Not on any Start Centers, etc. These reports can be created using ECLIPSE – BIRT and then added into Maximo using the report administration tool. It is also possible to allow users to create their own reports using QBR for this application, saving those reports and making them available to all users. BPD Zenith UK | Canada | USA | Australia | New Zealand 17
  • 18. The need for the Automation Script in this Application The problem here is that out of the box the QUERY can never be updated by anyone except the person that created the Query. You could change the “creator” of the query in the backend database, but this would make the Query fail on any Start Centers where it might be used. NOTE: The first time we created an automation script for the Query Management application, it was created as an object level automation script. It was design to run automatically so that Queries were always editable by the Admin User. When we upgraded to 7.6 it was noted that start centers were not loading properly when users logged in, we traced this back to the automation script which was looping through every query and trying to override read-only features. We then converted the automation script to only fire when a pushbutton is pushed, making much less intrusive to the system. Lesson learned from this – Automation Scripts need to be used with care as they can truly cause system performance issues, and in the least expected way. BPD Zenith UK | Canada | USA | Australia | New Zealand 18
  • 19. Creation of the Script Go to the Automation Scripts Application and in the left hand menu click Create – Script with Action Launch Point. Give the Launch Point a Unique Name It will be copied to the Action Field You can use the same description for the launch point and action The OBJECT for this script is QUERY BPD Zenith UK | Canada | USA | Australia | New Zealand 19
  • 20. Creation of the Script Then add five variables: CLAUSENAME DESCRIPTION ISPUBLIC OWNER CLAUSE And for each one click Suppress Validation Suppress Access Control and Suppress Action Then click NEXT Create the script name (Make it the same as the launchpoint name) BPD Zenith UK | Canada | USA | Australia | New Zealand 20
  • 21. Creation of the Script Then input the Source Code for the Script and then click the CREATE button At this time the ACTION will be created by the system. BPD Zenith UK | Canada | USA | Australia | New Zealand 21
  • 22. Adding a button to the Application to Trigger Script Open the application you created in application designer, then create a new signature option (same name as the action you created) Be sure to check the action option for the Signature option or it will not do anything when you click on the button in the application. BPD Zenith UK | Canada | USA | Australia | New Zealand 22
  • 23. Adding a button to the Application to Trigger Script Drag a Pushbutton Object onto the body of that tab Then edit the pushbutton properties Label: Edit this Query Event: the name of the action you created Click SAVE – you then need to go to the Security Groups Application and give access to MAXADMIN Group to the new Security Option. BPD Zenith UK | Canada | USA | Australia | New Zealand 23
  • 24. Granting Security Access to the Button Go to security groups application filter to the MAXADMIN group On the applications tab filter to your Query Management Application Then in the signature options make sure the option you create is checked Save your changes, log out of Maximo, Log back in and then go to your Query Management application to test the pushbutton. BPD Zenith UK | Canada | USA | Australia | New Zealand 24
  • 25. Testing your Application Go to the Query Management Application you created and test the full application, Record to record navigation, the unlocking button, displays of person name, status, width of columns. You can make adjustments to your design using the application designer, move fields around, Re-position the pushbutton, adjust field widths, etc. Once you are happy with the application it would be ready to move to your QA (pre-production environment). BPD Zenith UK | Canada | USA | Australia | New Zealand 25
  • 26. Review of Learnings You have learned the following skills through this training class. 1. How to create a new custom application against an existing Maximo Object 2. How to create relationships and use those relationships to display data from related tables 3. How to create a table of related data in an application. 4. How to remove or hide signature options 5. How to add new signature options 6. How to create an action triggered automation script 7. How to add a pushbutton to an application to trigger an action 8. How to give access to the pushbutton through security Other ideas for administrative tools in Maximo. Add a table to the person application to show which person groups that person belongs to Add a table to the person application to show which security groups a person belongs to BPD Zenith UK | Canada | USA | Australia | New Zealand 26
  • 27. Thank You Stephen Hume Senior Maximo Consultant BPD Zenith stephen.hume@bpdzenith.com About the Instructor: Stephen has been working with Maximo for over ten years in a variety of industries (Oil and Gas, Utilities) He has taught Maximo courses to end users for both Technical and Functional audiences. He created an 8 week Maximo University course which has been used to teach Maximo Support to new team members. As a recent member of the Canadian Maximo User Group Steering Committee Stephen is very active in the Maximo community, preparing and delivery presentations at Maximo User Group meetings and IBM Conferences throughout North America BPD Zenith UK | Canada | USA | Australia | New Zealand 27