Configure a new custom property

  • Identify the parent ID:

    set newmp [$AdminConfig getid /Cell:cellname/Node:nodename/MailProvider:MP1/]
    

    Example output:

    MP1(cells/cellname/nodes/nodename:resources.xml#MailProvider_1)
    

  • Create J2EE resource property set:

    set newPropSet [$AdminConfig create J2EEResourcePropertySet $newmp {}]
    

    Example output:

    (cells/cellname/nodes/nodename:resources.xml#J2EEResourcePropertySet_2)
    

  • Get required attributes:

    $AdminConfig required J2EEResourceProperty
    

    Example output:

    Attribute       Type
    name		    String
    

  • Set up the required attributes:

    set name [list name CP1]
    set cpAttrs [list $name]
    

    Example output:

    {name CP1}
    

  • Create a J2EE resource property:

    $AdminConfig create J2EEResourceProperty $newPropSet $cpAttrs
    

    Example output:

    CP1(cells/cellname/nodes/nodename:resources.xml#J2EEResourceProperty_2)
    

  • Save changes:

    $AdminConfig save
    

 

IBM is a trademark of the IBM Corporation in the United States, other countries, or both.