![]() |
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.
Gets the location of the page on which the Smartlet is rendered.
Namespace: Smartsite.Scf
Assembly: Smartsite.Scf (in Smartsite.Scf.dll)
Syntax
C# | ![]() |
---|---|
[(.Level0)] [(Name = "{0}.Page")] public static CurrentSmartletGetInstanceLocation( context, bool removeQueryParams ) |
Visual Basic (Declaration) | ![]() |
---|---|
<(.Level0)> _ <(Name := "{0}.Page")> _ Public Shared Function CurrentSmartletGetInstanceLocation ( _ context As , _ removeQueryParams As _ ) As |
Parameters
- context
- IRenderContext
The context.
- removeQueryParams
- Boolean
if set to true remove query parameters.
Field Value
The instance location.Return Value
Locator
Remarks
Use this viper method instead of itemdata.number() to avoid problems when Smartlet code is called in Ajax callback scenarios.
See Also
Smartlet Class
Smartsite.Scf Namespace