HyperWorks Desktop

ContentInterface_SetDisplayName

ContentInterface_SetDisplayName

Previous topic Next topic No expanding text in this topic  

ContentInterface_SetDisplayName

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

NAME  


ContentInterface_SetDisplayName

 

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.

 

ERRORS


 

SEE ALSO


ContentInterfaceList_size

hwLMStatus_GetMessage