DwAreaSearchPageID

Version: - string  

Summary

Returns the ID of the first created search page in the current area.

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetString("DwAreaSearchPageID")

Check if tag has a value

@if(!string.IsNullOrWhiteSpace(GetString("DwAreaSearchPageID"))) { @* Tag has value, so let's do something useful here. *@ }

Assign tag to a value for later use

@{ string storedTag = GetString("DwAreaSearchPageID"); }

Outputting the template tag

<!--@DwAreaSearchPageID-->

Check if string has a value

<!--@If Defined(@DwAreaSearchPageID)--> Let's output this tag here: <strong><!--@DwAreaSearchPageID--></strong> <!--@EndIf(@DwAreaSearchPageID)-->