GroupIDList

Version: - string  

Summary

Returns string constains location group IDs separated with comma, based on values of Location Groups control in the module paragraph settings.

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetString("GroupIDList")

Check if tag has a value

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

Assign tag to a value for later use

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

Outputting the template tag

<!--@GroupIDList-->

Check if string has a value

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