Maximo Open Forum

 View Only
  • 1.  Database configuration Application designer

    Posted 04-20-2023 10:03

    How to create a non-persistent checkbox high priority on the pr object which is checked by default. Also add that in pr main tab. 
    I'm new to maximo and requires a deep explanation and demo for the same.


    #EverythingMaximo

    ------------------------------
    Gaurav Sharma
    ------------------------------


  • 2.  RE: Database configuration Application designer

    Posted 04-20-2023 23:45

    Hi Gaurav

    here are the general guideline

    1. you need to create the non-persistent attribute from database Configuration to object PR, define the data type i.e. SMALLINT
      2. Every changes to database object, you need to run as Admin Mode by click on Manage Admin Mode on action menu
      3. Apply Configuration Changes
      4. You can use DefaultValue control in Application designer to set the checkbox. To add that field, just use a Check box control, configure its properties by the attribute you just created (1)  and put it on PR main tab.



    ------------------------------
    wira m sukoco
    ------------------------------



  • 3.  RE: Database configuration Application designer

    Posted 04-20-2023 23:54

    Hi Gaurav,

    First you have to create a non-persistent attribute call "HIGHPRIORITY" in PR Object.
    Step 1: Create a Non-Persistent attribute in PR object and name it as "HIGHPRIORITY"
    Go to Database Configuration Application --> open PR object --> move to Attribute Tab --> Create  a new Attribute (name it as HIGHPRIORITY, provide the title and description) --> Uncheck the "Persistent" checkbox if checked--> Provide the "Default Value" as 1 --> Save the Object --> Turn the Admin Mode On --> Run the DB Configuration


    Step 2: Adding and defaulting the Flag in PR application UI
    Go to Application Designer --> Open the PR application --> Export the application xml and save it as Backup --> Now add a Checkbox Property in the application xml, name it as "High Priority" and bind it to the PR.HIGHPRIORITY attribute -->  Import the application xml.

    (Note: You can directly add a checkbox Property from Control Palette option from Application designer UI and name it as "High Priority" and associate it to the PR.HIGHPRIORITY attribute)

    Step 3: Verify it in PR application.
    Go to the PR application and create a new PR and verify the "High Priority" field is visible in PR application and it has been checked by default.





    ------------------------------
    Subhransu Sekhar Sahoo
    Tata Consultancy Services
    ------------------------------