Maximo Open Forum

 View Only
  • 1.  Set checkbox to checked by default in pop-up dialog boxes

    Posted 05-13-2021 10:40
    In several places in Maximo (7.6.0.10) our users interact with a dialog box (e.g. Inventory Re-order) that include a checkbox. In some dialog boxes we want a certain box checked by default, instead of relying on policy/practice to have a user mark the box checked.

    Any suggestions on how to make a check box "checked" by default through Application Designer?
    #Administration

    ------------------------------
    --------------------------------
    Jason Verly
    jason.verly@agropur.com
    ------------------------------


  • 2.  RE: Set checkbox to checked by default in pop-up dialog boxes

    Posted 05-14-2021 08:33
    I'd utilize MBO defaults where possible, though non-persistent objects often don't utilize the database defaults. Utilizing a default value control you can set a checkbox to be enabled utilizing Application Designer. For my example, I set the REORDERSOFT (Include Soft Reservations) to True (Checked) when it's normally False. Open the dialog in question and add a default value control in the same section. Attribute should be the attribute you want to update. For the value, provide a 1 or 0. And for the Default Type set it to Insert. 



    Then when you open the dialog you should see it checked:


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



  • 3.  RE: Set checkbox to checked by default in pop-up dialog boxes

    Posted 05-19-2021 10:55
    There must be a subtle difference between 7.6.0.x and 7.6.1.x. I used the "Default Value" method you described and when it didn't work I assumed there was something else I had to do to get the check boxes to default to checked. 


    When running re-order the check box is not defaulted to checked.



    ------------------------------
    Jason Verly
    Agropur
    ------------------------------



  • 4.  RE: Set checkbox to checked by default in pop-up dialog boxes

    Posted 05-19-2021 11:07
    I switched to that attribute to make sure that a bean class wasn't impacting the value in some way and in a 7.6.1.2 and 7.6.0.9 demo environment it worked for me. It's possible that it's broken on some 7.6.0.X versions, but I don't remember seeing anything like that. I'd try some other YORN attributes to see if those work. If you don't mind sharing your exact version I can see if we have an environment on that version for testing. 

    If other YORN attributes work, I'd check to make sure there isn't an automation script on REORDERITEMS that could be overriding your value.

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



  • 5.  RE: Set checkbox to checked by default in pop-up dialog boxes

    Posted 05-24-2021 11:23
    Got it to work. Noticed there are 2 re-order screens in Inventory and I was trying to update one that isn't called from the List tab.

    ------------------------------
    Jason Verly
    Agropur
    ------------------------------