FilepublishList
Version: - stringSummary
Returns the list of files and folder.
Settings
The files in the list is based on the Folder input field in the Display section for the paragraph module.
(Page > Paragraph > Module tab > Display panel > Folder)
Subfolders are included in the list if the Show subfolders checkbox is checked.
(Page > Paragraph > Module tab > Display panel > Show subfolders)
Examples
Outputting the template tag
@GetString("FilepublishList")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("FilepublishList"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("FilepublishList");
}
Outputting the template tag
<!--@FilepublishList-->
Check if string has a value
<!--@If Defined(@FilepublishList)-->
Let's output this tag here: <strong><!--@FilepublishList--></strong>
<!--@EndIf(@FilepublishList)-->