Maximo

 View Only
Expand all | Collapse all

Not able to add lookup headers in Asset lookup in Maximo Mobile

  • 1.  Not able to add lookup headers in Asset lookup in Maximo Mobile

    Posted Tue December 05, 2023 12:14 PM
      |   view attached

    We are not able to add headings to the lookup attributes in Asset lookup in Maximo mobile. Can someone please suggest a way of doing this. It is required as it is difficult to identify the attributes and looks less user friendly.

    Please refer the attached image where we have 4 attributes in the asset lookup- Assetnum, Asset Description, Location description and physical location. Please suggest a way to have a heading above the lookup attributes.



    ------------------------------
    Simple Jain
    ------------------------------



  • 2.  RE: Not able to add lookup headers in Asset lookup in Maximo Mobile

    Posted Tue December 05, 2023 02:52 PM

    Hi Simple Jain

    In my opinion IBM did that on purpose to save space in Mobile devices and to make user interface more clear and lightweight. Please also observe that depends of the mobile device screen size information about "location description" can be displayed in second line and because of that it could be hard to develop headers label.  I also understand that for some users this information could be relevant especially when they have first contact with Maximo Mobile. In connection to that I suggest you to check if tooltip-text property that is available in label tag will fit your needs. 

    <adaptive-column small-width="33" medium-width="33" large-width="15" xlarge-width="15" id="egvg6">
        <label tooltip-text="Asset Number" label="{item.assetnum}" id="yr9q4"/>
    </adaptive-column>


    ------------------------------
    Bartosz Marchewka
    IBM Maximo Consultant
    AFRY
    ------------------------------



  • 3.  RE: Not able to add lookup headers in Asset lookup in Maximo Mobile

    Posted Wed December 06, 2023 06:49 AM

    HI Bartosz Marchewka,

    Thank you for your reply.

    As per your suggestion I have tried the below, but it is not working as desired. Tooltip generally by clicking onto the label, but here the label are the asset values so as soon as we click the asset value it is selecting that asset from the lookup and not showing the tooltip.

    <adaptive-column small-width="33" medium-width="33" large-width="15" xlarge-width="15" id="egvg6"> <label tooltip-text="Asset Number" label="{item.assetnum}" id="yr9q4"/> </adaptive-column>


    Also, we have configured the Location description label with wrap="true" to display the value in the multiple lines so that the full description would be visible otherwise as per OOTB configuration the location description got trimmed as the number of characters are increased.

    Regards,

    Simple.



    ------------------------------
    Simple Jain
    ------------------------------



  • 4.  RE: Not able to add lookup headers in Asset lookup in Maximo Mobile

    Posted Wed December 06, 2023 01:10 PM

    Hi Simple,

    Yesterday I tested it only in Role Based Application but today I published changes to my local dev environment and I can't reproduce the issue that you described in v810. I can see value of the tooltip in Android device and it will not select asset automatically. Please see the screen below. 

    I found out another solution that maybe will work for you.
    Please apply this code in your environment and do some tests (as you can see I replaced label tag with field tag)
    <adaptive-column small-width="33" medium-width="33" large-width="15" xlarge-width="15" id="aey_5">
          <field icon-label="carbon:help" wrap="true" tooltip-text="Asset Number | Description | Location Description" id="cInformationAssetNumField">
                <sub-field value="{item.assetnum}" id="cInformationAssetNumSubField"/>
          </field>
    </adaptive-column>
    Result in Android device:


    ------------------------------
    Bartosz Marchewka
    IBM Maximo Consultant
    AFRY
    ------------------------------



  • 5.  RE: Not able to add lookup headers in Asset lookup in Maximo Mobile

    Posted Wed December 13, 2023 08:32 AM

    Hi Bartosz Marchewka,

    Thanks for your suggestion.

     I tried again and able to see the tooltip.

    Regards,

    Simple. 



    ------------------------------
    Simple Jain
    ------------------------------



  • 6.  RE: Not able to add lookup headers in Asset lookup in Maximo Mobile

    Posted Fri December 15, 2023 05:52 AM

    Hi @Bartosz Marchewka and everyone,

    I was trying tooltip with button element. Like we have in workorder details page for Material and tools, report workpage etc.

    With that button, we tried using tooltip and hover both element, but it was not showing any help-text in RBA, when you put your cursor on those icons.

    FYI. with those buttons, LABEL element is not defined. so we have also not added.

    We wanted the hover to work without defining the label. If we add label, it will show on the screen user interface, which will not be a good experince for the users.

    Any idea on how to show tooltip or hover for button icons in Role based app without defining the label?

    Thanks



    ------------------------------
    Ritesh Ranjan
    ------------------------------



  • 7.  RE: Not able to add lookup headers in Asset lookup in Maximo Mobile

    Posted Mon December 18, 2023 02:41 AM

    Hi Ritesh

    Unfortunately I don't have any hint. I thought that you could use hover-tooltip property that is available in button component but for me it doesn't work.



    ------------------------------
    Bartosz Marchewka
    IBM Maximo Consultant
    AFRY
    ------------------------------



  • 8.  RE: Not able to add lookup headers in Asset lookup in Maximo Mobile

    Posted Mon December 18, 2023 07:08 AM
    Yes.. did not work me too.

    It would be great to have that which in turn going to help during training to users or technicians. 
    'The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com'

    Internal - General Use






  • 9.  RE: Not able to add lookup headers in Asset lookup in Maximo Mobile

    IBM Champion
    Posted Sun December 10, 2023 09:52 PM

    You can change the list layout. It doesn't need to be in a "table format". Here is an example of my asset lookup.

    <lookup-with-filter datasource="assetLookupDS" enable-barcode-scanner="true" has-filter="true" id="assetLookup" lookup-heading="Assets" on-item-click="chooseAssetItem" show-count="true" show-search="true" width="99">
              <list-item>
                <box direction="column" fill-child="true" fill-parent="true">
                  <box direction="row" horizontal-align="start" manage-children="false" vertical-align="center">
                    <label label="Asset:" padding="top"/>
                    <label label="{item.assetnum}" padding="top" wrap="true"/>
                  </box>
                  <box direction="row" horizontal-align="start" manage-children="false" vertical-align="center">
                    <label label="Description:" padding="top"/>
                    <label label="{item.description}" padding="top" wrap="true"/>
                  </box>
                  <box direction="row" horizontal-align="start" manage-children="false" vertical-align="center">
                    <label label="Location:" padding="top"/>
                    <label label="{item.location}" padding="top" wrap="true"/>
                  </box>
                  <box direction="row" horizontal-align="start" manage-children="false" vertical-align="center">
                    <label label="Address ID:" padding="top"/>
                    <label label="{item.saddresscode}" padding="top" wrap="true"/>
                  </box>
              </list-item>
            </lookup-with-filter>


    ------------------------------
    Maycon Belfort
    Consultant
    BPD Zenith
    Melbourne
    Australia
    ------------------------------



  • 10.  RE: Not able to add lookup headers in Asset lookup in Maximo Mobile

    Posted Fri December 15, 2023 01:54 AM

    Hi Maycon Belfort,

    Thanks for your suggestion.

    I tried your solution, and it is working fine as an alternative for lookup attribute headers.

    Regards,

    Simple.

    Simple. 



    ------------------------------
    Simple Jain
    ------------------------------