WebSphere Portal Server - Re: Adding user attributes to database-only portal

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere Portal Server > June 2006 > Re: Adding user attributes to database-only portal





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: Adding user attributes to database-only portal

2006-06-29, 7:23 pm

I use a Cloudscape database as the user registry for Portal Server 6.
I am trying to add new user attributes to WMM. I made CS_HOME point to the Cloudscape directory. I have updated wmmAttributes.xml and wmmDBAttributes.xml and run attributeLoader.bat. The entries I added:
- to wmmAttributes.xml:
<attribute wmmAttributeName="IsNewHire"
applicableMemberTypes="Person"
dataType="String"
valueLength="3"
multiValued="false"/>
<attribute wmmAttributeName="IsManager"
applicableMemberTypes="Person"
dataType="String"
valueLength="3"
multiValued="false"/>
- to wmmDBAttributes.xml:
<attributeMap wmmAttributeName="IsNewHire"
pluginAttributeName="IsNewHire"
applicableMemberTypes="Person"
dataType="String"
valueLength="3"
multiValued="false"
readOnly="false"/>
<attributeMap wmmAttributeName="IsManager"
pluginAttributeName="IsManager"
applicableMemberTypes="Person"
dataType="String"
valueLength="3"
multiValued="false"
readOnly="false"/>
I made the new attributes visible in the Profile Management and Manage Users And Groups portlets. But when I try to set a value of any of these attributes for any user, I get the error: ?EJPSG0007E: One of the attribute specified is not defined for th
is member type.?
I think it is because attributeLoader.bat adds attributes into the lookaside directory (the attrloader.log has the statement ?Loading attribute data into lookaside directory?), and I do not use this directory (wmm.xml has the lookaside attribute set t
o false). Could you tell me how to add new attributes in my case using attributeLoader.bat or in any other way?
Thank you.

vlad_IBMer
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com