Maximo

Maximo

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

 View Only
  • 1.  Maximo Mobile 9 - How to filter a json-datasource?

    Posted 2 days ago

    For this datasource:

          <json-datasource id="dsstatusDomainList" id-attribute="value" items="statusItems" selection-mode="single" src="[{}]">
            <schema id="dpyn7">
              <attribute id="pqyvz" name="value"/>
              <attribute id="k8k8k" name="description"/>
              <attribute id="rawnz" name="maxvalue"/>
            </schema>
          </json-datasource>

    How would I filter it to only show the values of INPRG and WMATL? Normally I would do something like mobile-qbe-filter="{{'value': '=INPRG,WMATL', 'domainid':'=WOSTATUS'}}" but I'm not sure what to do with a json-datasource.



    ------------------------------
    Christopher Stewart
    ------------------------------


  • 2.  RE: Maximo Mobile 9 - How to filter a json-datasource?

    Posted 16 hours ago

    You can use the qbe section of the datasource when you want static filters like that. When you are logged into the MAF configuration utility, hit this URL: http://localhost:3001/maximo-app-framework/graphite-documentation/public/datasources/qbefiltering

    If you want to do things more conditionally, I wrote this a while ago. https://community.ibm.com/community/user/viewdocument/maf-configuration-application-fil?CommunityKey=3d7261ae-48f7-481d-b675-a40eb407e0fd&tab=librarydocuments



    ------------------------------
    Steven Shull
    Principal Maximo Solutions Engineer
    Naviam
    Cincinnati OH
    ------------------------------



  • 3.  RE: Maximo Mobile 9 - How to filter a json-datasource?

    Posted 15 hours ago

    Thank you Steven! I was able to get it working. 



    ------------------------------
    Christopher Stewart
    ------------------------------