Remove attributes
The Virtual Member Manager has a limitation. There is no task to update an attribute.
Remove an attribute for any of the following circumstances:
- We added an attribute to a property extension database that was spelled incorrectly
- You adapted an attribute to match the LDAP server that was spelled incorrectly
- Your migration added the attribute
Use caution when you do these steps. Do not remove attributes populated with user values because it can cause inconsistencies. In a clustered environment, complete these steps on the deployment manager and then resynch the nodes.
- Before configuring security, use backupConfig to create backup of the portal configuration.
- To remove an attribute stored in a property extension database:
- Open the tool that we use to edit the database.
- Verify the attribute name is available in the LAPROP table.
- Delete the required attributes from the LAPROP table.
- Edit dmgr_profile_root/config/cells/cellname/wim/model/wimxmlextension.xml
- Locate and delete the propertySchema definition for the attributes deleted from the LAPROP table. For example:
<wim:propertySchema nsURI="http://www.ibm.com/websphere/wim" dataType="String" multiValued="true" propertyName="attribute_name"> <wim:applicableEntityTypeNames>PersonAccount</wim:applicableEntityTypeNames> </wim:propertySchema>
- Save the changes to the wimxmlextension.xml file.
- Open wimconfig.xml in the dmgr_profile_root/config/cells/cellname/wim/config directory.
- Locate and delete the attributes or propertiesNotSupported definitions for the attributes deleted from the LAPROP table. For example:
<config:attributes name="attribute_name" propertyName="attribute_name"> <config:entityTypes> PersonAccount </config:entityTypes> <config:entityTypes> Group </config:entityTypes> </config:attributes>or<config:propertiesNotSupported name="attribute_name">
- Save the changes to wimconfig.xml.
- Stop and restart all the deployment manager, node agents, and WebSphere_Portal server to propagate the changes.
- To remove an attribute that is not stored in a property extension database:
- Open the wimxmlextension.xml file.
- Locate and delete the propertySchema definition for the attributes you previously added. For example:
<wim:propertySchema nsURI="http://www.ibm.com/websphere/wim" dataType="String" multiValued="true" propertyName="attribute_name"> <wim:applicableEntityTypeNames>PersonAccount</wim:applicableEntityTypeNames> </wim:propertySchema>
- Save the changes to the wimxmlextension.xml file.
- Open wimconfig.xml.
- Locate and delete the stanza that corresponds to the custom attribute you deleted from the wimextension.xml file. For example:
<config:attributes name="attribute_name" propertyName="property_name"> <config:entityTypes>PersonAccount</config:entityTypes> </config:attributes>
- Save the changes to wimconfig.xml.
- Stop and restart the WebSphere_Portal server.
Parent Add more attributes to VMMPrevious topic: Mapping attributes
Related tasks: