PRELIMINARY INFORMATION - SUBJECT TO CHANGE
Returns the publication and publicationchannel scoped item code from a given publication or publicationchannel.

Syntax

Smartsite SXML CopyCode image Copy Code
string publication.getitemcode(locator publicationOrChannel, string code)
string publication.getitemcode(string code)

Parameters

Name Data Type Description
publicationOrChannel Locator A locator referencing either a publication or a channel.
code String The item code.

Return Value

Data Type Description
String
SXML