Maximo Open Forum

 View Only
  • 1.  Add Lookup for Numeric Domain Description

    Posted 05-04-2021 11:08
    ​​Hello All!  First time poster, so please forgive any mistakes.  We are on version 7.6.1.2.

    I have a numeric domain set up that has an ID and a description (there will eventually be more values):

    This domain is tied to a field called "Failure Record Type" and utilizes a multipart text box, so that when the user clicks the Select Value option next to the ID field, the domain dialog will be displayed:

    When clicking a domain value, the ID and description are displayed on the screen correctly.
    However, I would LIKE if the ID value (34) were not displayed on the screen, and the lookup was instead on the domain description (Latent Overstress Only).

    The domain ID (34) is what is being stored on the database, but the user does not need to see that value, and instead they only need to see the domain description on the screen.  Is this even possible (without storing the domain description to the database)?

    Thanks for any feedback!
    Mark


    #Customizations

    ------------------------------
    Mark Hlavenka
    Boeing
    ------------------------------


  • 2.  RE: Add Lookup for Numeric Domain Description
    Best Answer

    Posted 05-04-2021 12:55
    Are you worried that you'll have a large value list? If not I'd suggest not using a textbox control at all and use a combobox instead. Set the attribute to the be the attribute on your object and then the display attribute to be description. The user will only see the description and choose it based on description but behind the scenes it'll take the value and store it in the appropriate attribute.

    The only drawback is there is no searching so if you have large value lists then that won't work.

    ------------------------------
    Steven Shull
    Projetech Inc.
    ------------------------------



  • 3.  RE: Add Lookup for Numeric Domain Description

    Posted 05-04-2021 14:14
    Genius!  That was exactly what I needed.  Thanks Steven.

    Mark​

    ------------------------------
    Mark Hlavenka
    Boeing
    ------------------------------