MCRScriptTranslation::getTitleOrDefaultTitle Method
Retrieves the script title of a product.
Syntax
client server public static MCRScriptID getTitleOrDefaultTitle(RefRecId _scriptRecId, LanguageId _languageId)
Run On
ClientOrServer
Parameters
- _scriptRecId
Type: RefRecId Extended Data Type
The ID of a product for which a name is retrieved.
- _languageId
Type: LanguageId Extended Data Type
The ID of a language in which a name is retrieved.
Return Value
Type: MCRScriptID Extended Data Type
A name of a product.
Remarks
If a name in the language specified by the _languageId parameter is not found then a name in the system language is returned.