AppItemUrl

Version: - string  

Summary

Returns the URL to the app item (e.g. the URL to a thread from the forum app).

Settings

The value is generated automatically.

Remarks

Available for ContentAppIndexProviders only

Examples

Outputting the template tag

@GetString("AppItemUrl")

Check if tag has a value

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

Assign tag to a value for later use

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

Outputting the template tag

<!--@AppItemUrl-->

Check if string has a value

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