FilepublishUpload

Version: - string  

Summary

Returns the form for uploading new files.

Settings

The value is based on the Upload template selected in Template section for the paragraph module.

(Page > Paragraph > Module tab > Template panel > Upload)

Examples

Outputting the template tag

@GetString("FilepublishUpload")

Check if tag has a value

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

Assign tag to a value for later use

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

Outputting the template tag

<!--@FilepublishUpload-->

Check if string has a value

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