The Virtual Member Manager (VMM) has a limitation. There
is no task to update an attribute.
About this task
Remove an attribute for any of the following circumstances:
- You added an attribute to a property extension database that was
spelled incorrectly
- You adapted an attribute to match your LDAP server that was spelled
incorrectly
- Your migration added the attribute
Use caution when you do these steps.
Important: Do
not remove attributes that are populated with user values because
it can cause inconsistencies.
Cluster note: In a clusteredan idle-standby environment, complete these
steps on the deployment manager and then resynch the nodes.
Procedure
-
Before you configure security, use the IBM® WebSphere® Application Server
backupConfig task to create and store a backup of the HCL Digital Experience configuration. Read backupConfig command for information.
- Complete the following steps to remove an attribute that
is stored in a property extension database:
- Open the tool that you use to edit your database.
- Verify that your attribute name is available in the
LAPROP table.
- Delete the required attributes from the LAPROP table.
-
Open the wimxmlextension.xml file in the dmgr_profile_root/config/cells/cellname/wim/model
directory.
-
Locate and delete the propertySchema definition for the
attributes that you 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 your changes to the wimxmlextension.xml file.
-
Open the wimconfig.xml file in the dmgr_profile_root/config/cells/cellname/wim/config
directory.
-
Locate and delete the attributes or propertiesNotSupported definitions for the attributes that you 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 your changes to the wimconfig.xml file.
- Stop and restart all the deployment manager, node agents,
and HCL Portal server to propagate the changes.
- Complete the following steps 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 your changes to the wimxmlextension.xml file.
-
Open the wimconfig.xml file.
-
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 your changes to the wimconfig.xml file.
-
Stop and restart the HCL Portal server.