Virtual member manager is configured to use the dynamic model.
You can create new property types and add them to existing virtual member
manager built-in entity types at deployment.
About this task
You need to add new property types to virtual member manager built-in
entity types at deployment.
Procedure
- Stop the virtual member manager service.
- Open wimxmlextension.xml under the VMM_HOME\model directory. If this file does not exist,
create a new one with the same name.
Note: VMM_HOME is the directory where
the virtual member manager files are located. This location is set to either
the system property wim.home or user.install.root/config/cells/local.cell/wim.
- Edit wimxmlextension.xml and add the definitions of the new property
types and the entity types they apply to. Ensure that the XML
is well-formed and conforms to the schema defined in wimschema.xsd.
For
example, the following sample defines a new property type called “postOfficeBox”
and adds this property type to the virtual member manager built-in entity
type “Person”:
<?xml version="1.0" encoding="UTF-8"?>
<sdo:datagraph xmlns:sdo="commonj.sdo"
xmlns:wim="http://www.ibm.com/websphere/wim">
<wim:propertySchema nsURI="http://www.yourco.com/wim/yourext"
dataType="STRING" multiValued="true" propertyName="postOfficeBox">
<wim:applicableEntityTypeNames>Person</wim:applicableEntityTypeNames>
</wim:propertySchema>
</wim:schema>
</sdo:datagraph>
- Manually add the new property types to each repository adapter.
- LDAP adapter
- Add the mapping of the new property types to LDAP attributes to the wimconfig.xml
configuration file.
- DB adapter
- Add the definition of the new property types to the property XML file
of DB Adapter (wimDBProperties.xml) and run DB property loader.
- Restart the virtual member manager service.