Configure the pronunciation feature by profile typeEdit settings in profiles-policy.xml to configure the pronunciation feature according to profile type.
Before you beginTo edit configuration files, use the IBM WAS wsadmin client. See Starting the wsadmin client for information about how to start the wsadmin command-line tool.
About this taskWhen the pronunciation feature is enabled, users can upload a recording of their name being pronounced correctly to their profile. You can enable or disable this feature for specific profile types. You can also configure access control settings for the pronunciation feature according to profile type.
ProcedureThe following steps provide information about the properties that you can set for the pronunciation feature, and the access levels and scopes that you can configure.
- From the dmgr host:
If prompted to specify a service to connect to, type 1 to pick the first node in the list. Most commands can run on any node. If the command writes or reads information to or from a file using a local file path, pick the node where the file is stored.
Check out profiles-policy.xml:
- <working_directory> is the temporary working directory to which the configuration XML and XSD files will be copied. The files are kept in this working directory while you make changes to them.
- <cell_name> is the name of the IBM WAS cell hosting the Profiles application. This argument is required.
Open profiles-policy.xml using a text editor, from the temporary directory to which you checked it out. Edit the following properties for the pronunciation feature as needed.
Enables or disables the profile pronunciation feature.
This property takes a string value. Possible values include:
- true. Enables the pronunciation feature for users with the specified profile type. The user interface displays an icon for the user's pronunciation file and provides options for editing the file.
- false. Disables the pronunciation feature for users with the specified profile type. The feature does not display in the user interface.
Controls user access to update the profile pronunciation file.
Access levels for this property can be defined using one of the following scopes:
<feature name="profile.pronunciation"> <profileType type="default" enabled="true"> <acl name="profile.pronunciation.update" scope="self" /> </profileType> </feature>
The code sample above enables the pronunciation feature for users with the default profile type, but restricts the ability to update pronunciation files to profile owners and administrators.
Save your changes and check profiles-policy.xml back in using the following command:
To exit the wsadmin client, type exit at the prompt. Stop and restart the Profiles server.
Parent topicConfigure features by profile type