ContentInterface_SetDisplayName
Set the display name of a content.
Syntax
ContentInterface_SetDisplayName <content interface handle> <name>
Type/Class
ContentInterface
Description
To set the display name of a content. Note that the content needs to be checked out
to edit the display name if the content is already in the library.
- content interface handle
- Content interface handle
- name
- Display name to be set
Examples
set gdm [DMDirector_OpenWorkspace $director $ws $repoh 0]
set qryhandle [$gdm GetQuery]
set stringtosearch "MS6000"
set clist [ContentInterfaceList]
set query [$gdm ExecQuery $stringtosearch $clist]
set cilistsize [ContentInterfaceList_size $clist]
set clist_at [ContentInterfaceList_at $clist 0]
set setname [ContentInterface_SetDisplayName $ clist_at “door”]
Returns hwLMStatus. Use hwLMStatus_GetMessage to get the message, which could be Success or a message describing error.