FilepublishUploadSubject
Version: - stringSummary
Returns the subject of the notification mail.
Settings
The value is based on the Subject input field in the Upload section for the paragraph module.
(Page > Paragraph > Module tab > Upload panel > Subject)
Remarks
An input field with the name Subject must be defined in the form if the mail should have a subject.
Examples
Outputting the template tag
@GetString("FilepublishUploadSubject")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("FilepublishUploadSubject"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("FilepublishUploadSubject");
}
Outputting the template tag
<!--@FilepublishUploadSubject-->
Check if string has a value
<!--@If Defined(@FilepublishUploadSubject)-->
Let's output this tag here: <strong><!--@FilepublishUploadSubject--></strong>
<!--@EndIf(@FilepublishUploadSubject)-->