Maximo

Maximo

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

 View Only
Expand all | Collapse all

Intended use case for Application Designer --> CTRL_DEFAULT.FROMATTRIBUTE ?

  • 1.  Intended use case for Application Designer --> CTRL_DEFAULT.FROMATTRIBUTE ?

    Posted Sun November 14, 2021 04:18 PM
    Edited by System Admin Wed March 22, 2023 11:50 AM
    MAM 7.6.1.2:

    Application Designer:

    What is the intended use case for CTRL_DEFAULT.FROMATTRIBUTE ?

    (From Attribute field)

    Thanks.
    #AssetandFacilitiesManagement
    #Maximo


  • 2.  RE: Intended use case for Application Designer --> CTRL_DEFAULT.FROMATTRIBUTE ?

    Posted Sun November 14, 2021 04:20 PM
    Edited by System Admin Wed March 22, 2023 11:51 AM
    Related:

    How to set the default value of a field in Maximo --> "The Application Designer way"

    The second way to set a field default in Maximo is by using a Default Object in Application Designer.
    Launch Application Designer and select the application in which you want to set a default.
    From the Select Action menu, select the Toggle/Show All Controls option.
    Select the Tab of the application the field exists on.
    Select the Control Palette icon and drag and drop a Default Object object to the section the field you want to set the default on exists in.
    Highlight the defaultvalue… and select the Control Properties icon.
    Enter the attribute for the field you want to set the default value for, this value can be found by looking at the properties for the field. Also enter the default value for the field.
    Save and test your application…

    Setting field defaults (three different techniques)


    #AssetandFacilitiesManagement
    #Maximo


  • 3.  RE: Intended use case for Application Designer --> CTRL_DEFAULT.FROMATTRIBUTE ?

    Posted Mon November 15, 2021 10:02 AM
    Can't say I've every used it, but the Application Designer guide basically says that with a Default Value Control, you either enter a static value (as you did by entering 'python' in your screenshot), or "Specify values in the From Data Source ID and the From Attribute fields to read a value from the database." -- so you have to use both of those together.

    It says of the From Data Source ID field:  If you do not configure a static default value in the Value field, specify the data source ID to use as the data source for the From Attribute field.

    Then for the From Attribute: If you do not configure a static default value in the Value field, specify a From Attribute that updates or queries the database with its value.

    ------------------------------
    Travis Herron
    ------------------------------