PRELIMINARY INFORMATION - SUBJECT TO CHANGE
This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.
Returns the publication and publicationchannel scoped item code from a given publication or publicationchannel.

Namespace: Smartsite.Runtime.Modules
Assembly:  Smartsite.Runtime.Modules (in Smartsite.Runtime.Modules.dll)

Syntax

C#Copy imageCopy Code
[]
public static string GetItemCode(
	 context,
	 publicationOrChannel,
	string code
)
Visual Basic (Declaration)Copy imageCopy Code
<> _
Public Shared Function GetItemCode ( _
	context As , _
	publicationOrChannel As , _
	code As  _
) As 

Parameters

context
IRenderContext
The context.
publicationOrChannel
Locator
A locator referencing either a publication or a channel.
code
String
The item code.

Return Value

See Also

Advanced