Add new attribute to Look Aside database

Once the look aside database is configured you can add attributes to it by following these steps.

  • Open the wp_add_LA.properties file that you used for Configuring Lookaside database and set values for following properties like this

    # Name of the property to be added.
    la.propertyName=favoriteMovie

    # A list of entity types, the new property is applicable to
    # Can be one of the following:
    # PersonAccount
    # Group
    # PersonAccount,Group
    la.entityTypes=PersonAccount

    # Data type. For example String.
    la.dataType=String

    # Defines if the property can contain multiple attributes or not. true or false
    la.multiValued=true

    Here i am configuring it to add favoriteMovie attribute to PersonAccount type. It is of String type and can have multiple values

  • After configuring wp_add_LA.properties file execute following Configuration task to make the changes

    ./ConfigEngine.sh wp-add-la-property -DWasPassword=wasadmin -DparentProperties=/software/WebSphere/wp_profile/ConfigEngine/config/helpers/wp_add_LA.properties


  • Restart the WebSPhere_Portal server for changes to take effect

No comments: