Maximo Open Forum

 View Only
  • 1.  Maximo Mobile - custom filters technician application

    Posted 12-09-2024 14:12

    Hi,

    I am attempting to create an additional filter option on the technician application. Looking for steps to get this added.


    #Mobility

    ------------------------------
    Anisah Ramautarsingh
    Argus Consulting
    ------------------------------


  • 2.  RE: Maximo Mobile - custom filters technician application

    Posted 12-13-2024 09:11

    Filters are controlled via lookup-map being defined on the attributes. Since this is the TECHMOBILE application, you would want to do this to the dswolist datasource which is used as original datasource for the list page (then gets overridden with each of the queries). An example of how we did this for asset is below.

    You'll see some lookup-map examples that just reference a name rather than a datasource. This depends on a file that customers can't modify so you cannot add new values to it. I won't get into all the details as to why, but you're better off with the datasource approach. 

    Like we did in this example, you typically want this datasource to be a maximo-datasource-override of your existing datasource. This is done for two reasons. The first is you want to enable multiple selections (so you can pick multiple assets to filter by for example) which is typically not enabled on the original datasource. The second is by making it its own datasource, actions done in the application that would filter the out of the box datasource will not impact your filter datasource and vice versa. In this example, we added 

    <maximo-datasource-override id="assetFilterDS" selection-mode="multiple"/>
    to the assetLookupDS datasource to use for our filter.
    I don't believe it is currently possible to have a filter without a value list. For example, filtering on the description field or on a date field. I know we are looking to do additional enhancements in future releases to support some of these use cases.



              <attribute id="j6w_q" name="assetnum" searchable="true">
                <lookup-map datasource="assetFilterDS" id="w9e2y">
                  <lookup-return datasource-field="assetnum,description" id="yk9nw" lookup-field="displayValue"/>
                  <lookup-return datasource-field="assetnum" id="qmgmg" lookup-field="value"/>
                </lookup-map>
              </attribute>



    ------------------------------
    Steven Shull
    IBM
    ------------------------------



  • 3.  RE: Maximo Mobile - custom filters technician application

    Posted 02-27-2025 22:50

    I am facing similar issue.. but Slightly different.

    Trying to add a field in asset Filter while creating work order.

    I would like to add a custom field xaltassetid from asset table. Below Vendor? How can we achieve this?

    Also , WHen I add this custom field in shared Lookup and data source, I still don't see its value getting populated.

    screenshots below

    Here is the screenshot after publishing result.

    Showing blank values though values exists

    Any Thoughts appreciated



    ------------------------------
    Sai J
    Confidential
    ------------------------------