Maximo

Maximo

Come for answers, stay for best practices. All we're missing is you.

 View Only

Drilldown Limit 

Sun March 08, 2020 06:57 PM

Drilldown Limit can be changed in two ways in Maximo

1. System Level (Global)
2. Tree Control Level (library.xml)

System Level (Global)

In Maximo we can change the drilldown limit to display children for each parent. Modifying the maxchildren to a different value in control-registry.xml is a way to give a new default value for drilldown. This global change will be used for all drilldowns in Maximo, and this value can be overridden by specifying a different value for the specific tree control.

1. STOP the MXServer.
2. Go to the Maximo\Applications\Maximo\Properties folder.
3. Open control-registry.xml with Wordpad or another text editor.
4. Search for maxchildren and by default you will see this:

5. Change the default value for maxchildren.
6. Save the changes.
7. Rebuild and redeploy the EAR files for the changes to take effect

Tree Control Level (library.xml)

1. To change the Location Drilldown limit, first go to the 'Application Designer'.
2. Click Select Action -> Export System XML

3. Export the LIBRARY xml by clicking on the blue arrow icon on the right.



4. The xml file opens in a browser. Save it to the disk and open with the text editor.



5. Search for id="locations_tree" or relationship="LOCATIONS".
6. Next, insert the text maxchildren="500" after the relationship="LOCATION" and the limit can be anything you like.
7. Save the file.
8. Now the xml should be like this:

<tree beanclass="psdi.webclient.beans.common.DrilldownTreeBean" checkfornewnodes="true" height="150" id="locations_tree" ignorestructurechange="true" orderby="location asc" relationship="LOCATIONS" maxchildren="500" selectfirstnode="true" width="500">

9. This will now change the location drilldown to the specified limit.
10. After you made your changes and saved, it's time to import the xml back into the System.
11. Go to the Application Designer and on the tab menu click on the import icon.


12. Browse for the xml file you just made changes to. Click OK to import the file.
13. You should now have changed the limit for the drilldown to suit your needs.
14. Test the Drilldown functionality.

Another Example - Classification Drilldown

1. The administrator has the flexibility to give different values to different tree controls.
2. For example, maxchildren="1000" in Classification drilldowns and maxchildren="500" to Asset Location Drilldown.
3. If the "Classify" drilldown in the library.xml has explicitly specified a maxchildren, then it will override the default in the control-registry.xml.
4. The example below has maxchildren="1000".
5. 1000 will override any number defined in the control-registry.xml.

<dialog id="associateClassification" label="Classify">

<tree beanclass="psdi.webclient.beans.assetcat.AssociateSpecBean" height="250" id="associateClassification_tree"

maxchildren="1000" mboname="CLASSSTRUCTURE" openfirstlevel="false" width="600">

 








#Maximo
#MaximoEAM
#AssetandFacilitiesManagement
#drilldown

Statistics
0 Favorited
9 Views
0 Files
0 Shares
0 Downloads