Friday, May 27, 2011

Steps for Adding custom Attribute in profile WebSphere Portal 6.1.

First install the attribute installer.
1.Restart Portal Server
2.Edit wkplc.properties with the following info:
la.propertyName=userCompanyId
la.entityTypes=PersonAccount
la.dataType=String
la.multiValued=false
Run ConfigEngine.bat wp-add-property -DWasPassword=secret

After running the above command, a file wimxmlextension.xml will be created in \config\cells\\wim\model folder.
Put an entry for your attribute by directly editing the file wimxmlextension.xml




Restart Portal Server

Run ConfigEngine.bat wp-query-attribute-config -DWasPassword=secret



This will create availableAttributes.html report in /ConfigEngine/log & now you can check your newly created
attribute from the Administration.

1 comment:

  1. wow great tips, one of the best blog i'hve ever seen in my whole life on portal, great , splendid work,

    ReplyDelete