Maximo Open Forum

 View Only
  • 1.  Lookup Value Mismatch in IPAD for Maximo Mobile

    Posted 10-24-2023 12:05

    We have configured one custom look up for one of the maximo field.The lookup is based on an ALNDOMAIN.Required changes are done at technician application xml level and custom code is written to populate the look up values.Correct values are showing from the dekstop app but somehow from IPAD correct lookup values are not showing.It seems from IPADS correct domain values are not getting filtered.

    Anybody have faced such issue?


    #Mobility

    ------------------------------
    Souvik Dutta
    TCS
    ------------------------------


  • 2.  RE: Lookup Value Mismatch in IPAD for Maximo Mobile

    Posted 10-24-2023 12:51

    The data for a given object (ALNDOMAIN in this case) is stored in the same table in the sqlite database for all the datasources where the main object is that table. What normally happens is customers are trying to use something like a where="domainid="CREWID"" or a saved query that reduces the datasource in web to only the 1 domain. These queries and where clauses are evaluated on the server so they work in the web but can't be evaluated on the mobile device. 

    You can manually filter using the setQBE functionality if you want but I'd recommend using the mobile-qbe-filter on the datasource like:

    <maximo-datasource id="crewDs" lookup-data="true" object-structure="mxapialndomain" offline-immediate-download="true" page-size="1000" selection-mode="single" mobile-qbe-filter="{{'domainid': '=CREWID'}}">

    This will cause the framework to apply that filter any time the datasource is referenced on mobile.



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



  • 3.  RE: Lookup Value Mismatch in IPAD for Maximo Mobile

    Posted 10-14-2024 10:54

    We have a similar issue with Maximo mobile app (ipad), the WOREJECT (OOTB) domain lookup values don't show at all. Whilst on the rolebased technician the value in the domain are shown. Anybody know how to fix that



    ------------------------------
    Hessel Ebbes
    BAM Infra NL
    ------------------------------



  • 4.  RE: Lookup Value Mismatch in IPAD for Maximo Mobile

    Posted 10-15-2024 09:48

    When you see data in the web and not mobile, it's typically 1 of 2 things.
    1) You have multiple saved queries for the object structure. The problem with this is that Maximo Mobile can only download lookup data using 1 query across all datasources in all applications. If you have 1 saved query that says domainid='DOMAIN1' and another saved query that says domainid='DOMAIN2', you will only have the values for DOMAIN1 or DOMAIN2 depending on which datasource is downloaded first. ALNDOMAIN we typically download the entire table to support meter readings and other types of domains. For ALNDOMAIN resources where you need a specific domain, you should do something like this:

    <maximo-datasource id="crewDs" lookup-data="true" object-structure="mxapialndomain" page-size="1000" selection-mode="single" where="domainid=&quot;CREWID&quot;" mobile-qbe-filter="{{'domainid': '=CREWID'}}">

    I covered this in the Overview page in the Mobile Developers section of the wiki that is accessible in the Developer Documentation in the configuration utility.

    2) If it isn't ALNDOMAIN, where we normally download all values automatically, you need to update your supporting (or lookup) data. When changes occur in the application (adding new lookup datasources), these are not automatically retrieved. So you may not have the data in sqlite because of changes you made since the lookup data was downloaded. Updating your supporting data should cause it to get downloaded. 



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