In this lesson, you change the writeUsage value
to use the new write usage in the object definition of the primary
object.
About this task
For this tutorial, the primary object definition for Search
Term Associations in Catalog tools is catBaseSearchTermAssociationsPrimaryObjectDefinition.
Procedure
- In the Enterprise Explorer view, navigate to .
- Right click SearchTermAssociationsPrimaryObjectDefinition.def.
Select .
Tip: To
navigate to the correct file quicker, press CTRL+ALT+L.
The Open OpenLazlo type box appears. In the Enter the name
of the type field, enter catBaseSearchTermAssociationsPrimaryObjectDefinition and
click Open.
- Locate the writeUsage parameter.
The code resembles the following code block:
<PrimaryObjectDefinition
definitionName="catBaseSearchTermAssociationsPrimaryObjectDefinition"
displayName="${catalogResources.SearchTermAssociations}" displayNameProperty="name"
headerIcon="searchTermAssociationsHeaderIcon" icon="searchTermAssociationsIcon"
helpLink="concepts/cpnsearchass.htm" idProperty="catalogId" isBaseDefinition="true"
propertiesDefinitionName="catSearchTermAssociationsProperties" writeUsage="IBM_ManageCatalog
"
searchType="FindSearchTermAssociations">
- Change the writeUsage parameter to EXT_ManagerSearchTermAssociation so
that the code resembles the following code block.
<PrimaryObjectDefinition
definitionName="catBaseSearchTermAssociationsPrimaryObjectDefinition"
displayName="${catalogResources.SearchTermAssociations}" displayNameProperty="name"
headerIcon="searchTermAssociationsHeaderIcon" icon="searchTermAssociationsIcon"
helpLink="concepts/cpnsearchass.htm" idProperty="catalogId" isBaseDefinition="true"
propertiesDefinitionName="catSearchTermAssociationsProperties" writeUsage="EXT_ManageSearchTermAssociation"
searchType="FindSearchTermAssociations">