Windows stand-alone: Remove attributes

Due to a Virtual Member Manager (VMM) limitation, there is currently no task to update an attribute. Therefore, if you added an attribute to property extension database or when adapting attributes to match LDAP server that were spelled incorrectly or already added due to migration, remove the attribute from the database. Use caution when performing these steps.

To remove an attribute from database:

Do not remove attributes that have already been populated with user values because this can cause database inconsistencies.
Cluster note: In a clustered environment, perform the following steps on the dmgr and then resynch the nodes.

  1. To remove an attribute stored in a property extension database; this is an attribute that was added using the wp-add-la-property task.

    1. Open the tool you use to edit database.

    2. Verify that attribute name is available in the LAPROP table.

    3. Delete the required attributes from the LAPROP table.

    4. Open the wimxmlextension.xml file, located in the WP_PROFILE/config/cells/cellname/wim/model directory.

    5. 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>

    6. Save changes to the wimxmlextension.xml file.

    7. Open the wimconfig.xml file, located in the WP_PROFILE/config/cells/cellname/wim/config directory.

    8. Locate and delete the propertiesNotSupported definitions for the attributes that you deleted from the LAPROP table; for example:

        <config:propertiesNotSupported name="attribute_name">

    9. Save changes to the wimconfig.xml file.

    10. Stop and restart the server1 and WebSphere_Portal servers from the WP_PROFILE/bin directory.

  2. To remove an attribute that is not stored in a property extension database:

    1. Open the wimxmlextension.xml file.

    2. Locate and delete the propertySchema definition for the attributes you previously added:

        <wim:propertySchema nsURI="http://www.ibm.com/websphere/wim" dataType="String"
                multiValued="true" propertyName="attribute_name">
           <wim:applicableEntityTypeNames>PersonAccount</wim:applicableEntityTypeNames>
            </wim:propertySchema>

    3. Save changes to the wimxmlextension.xml file.

    4. Open the wimconfig.xml file.

    5. 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>

    6. Save changes to the wimconfig.xml file.

    7. Stop and restart the server1 and WebSphere_Portal servers.


Parent

Adapt the attribute configuration


Previous

Map attributes

 


+

Search Tips   |   Advanced Search