PRELIMINARY INFORMATION - SUBJECT TO CHANGE
Returns the publication scoped contenttype number for the specified publication (if it exist), otherwise the system contenttype number.

Syntax

Smartsite SXML CopyCode image Copy Code
integer publication.contenttypes.getnumber(locator publication, string contentTypeCodeOrIdentifier)
integer publication.contenttypes.getnumber(string contentTypeCodeOrIdentifier)

Parameters

Name Data Type Description
publication Locator The publication.
contentTypeCodeOrIdentifier String The ContentType code or globally unique identifier.

Return Value

Data Type Description
Integer
SXML