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
    ------------------------------