Extending Profiles configuration attributes

Checking out the Profiles configuration puts several files on the local system, including profile-config.xml and profiles-types.xml. Edit profile-config.xml to extend attributes and then add the attributes to each declared profile in profiles-types.xml.

Procedure

  1. From the command prompt, go to the directory where the Deployment Manager is installed and start the wasadmin client.
  2. Check out the configuration files to the temporary location that you downloaded Touchpoint to.
  3. Run the following command to start the Profiles administration script:
    execfile("profilesAdmin.py")
    ProfilesConfigService.checkOutConfig("working_directory", "cell_name")
    Example: ProfilesConfigService.checkOutConfig("/opt/my_temp_dir", AdminControl.getCell())
  4. Back up the file profile-config.xml, as in the following examples: .

    Linux: /opt/IBM/WebSphere/AppServer/profiles/AppSrv01/config/cells/connectionsCell/LotusConnections-config/profile-config.xml

    Windows: C:\Program Files (x86)\IBM\WebSphere\AppServer\profiles\AppSrv01\config\cells\win16008Cell01\LotusConnections-config\profiles-config.xml

  5. Open the file in edit mode, and then add the following lines to the section for <profileExtensionsAttributes>:
    <!-- START IBM Connections Touchpoint -->
    <simpleAttribute extensionId="recommendedTags" length="256" sourceKey="recommendedTags" />
    <simpleAttribute extensionId="departmentKey" length="256" sourceKey="departmentKey" />
    <simpleAttribute extensionId="privacyAndGuidelines" length="256" sourceKey="privacyAndGuidelines" />
    <simpleAttribute extensionId="touchpointState" length="256" sourceKey="touchpointState" /> <richtextAttribute
    extensionId="touchpointSession" maxBytes="1000000" sourceKey="touchpointSession" />
    <!-- END IBM Connections Touchpoint -->
  6. Locate the following line and make sure that the value is set to true. Change the value if necessary:
    <!-- variable full text index -->
    <property name="com.ibm.lconn.profiles.config.variableFullTextIndexEnabled" value="true"/>
  7. Save profile-config.xml.
  8. Now, back up the file profiles-types.xml as in the following examples:

    Linux: /opt/IBM/WebSphere/AppServer/profiles/AppSrv01/config/cells/connectionsCell/LotusConnections-config/profile-type.xml

    Windows: C:\Program Files (x86)\IBM\WebSphere\AppServer\profiles\AppSrv01\config\cells\win16008Cell01\LotusConnections-config\profiles-types.xml

  9. Open the file in edit mode and apply the following lines from <install-package>/LotusConnections-config/profiles-types.xml to the section for <type> :
    <!-- START IBM Connections Touchpoint -->
    <property>
    	<ref>recommendedTags</ref>
    	<updatability>readwrite</updatability>
    	<hidden>true</hidden>
    	<fullTextIndexed>false</fullTextIndexed>
    </property>
    <property>
    	<ref>departmentKey</ref>
    	<updatability>read</updatability>
    	<hidden>true</hidden>
    	<fullTextIndexed>true</fullTextIndexed>
    </property>
    <property>
    	<ref>privacyAndGuidelines</ref>
    	<updatability>readwrite</updatability>
    	<hidden>true</hidden>
    	<fullTextIndexed>false</fullTextIndexed>
    </property>
    <property>
    	<ref>touchpointState</ref>
    	<updatability>readwrite</updatability>
    	<hidden>true</hidden>
    	<fullTextIndexed>false</fullTextIndexed>
    </property>
    <property>
    	<ref>touchpointSession</ref>
    	<updatability>readwrite</updatability>
    	<hidden>true</hidden>
    	<fullTextIndexed>false</fullTextIndexed>
    </property>
    <!-- END IBM Connections Touchpoint -->
  10. Save profiles-types.xml.