Summernote Upload File Template — Reference
Insert the upload and URL-response scaffold used by a Summernote file upload.
Insert the upload and URL-response scaffold used by a Summernote file upload.
Before you begin
Section titled “Before you begin”- An open Server Connect action. Use disposable records/files when testing generated write or upload steps.
Summernote Upload File Template
Section titled “Summernote Upload File Template”Insert the upload and URL-response scaffold used by a Summernote file upload.
Fields or generated steps
Section titled “Fields or generated steps”| Part | Meaning |
|---|---|
| Incoming field | The template defines $_POST.file as a file input. The editor’s upload request must use that field name. |
| Generated upload | Creates file_upload bound to that field, with a default /files/summernote destination and Throw Errors on. Add size/type/access validation and select the actual target folder. |
| Generated response | Creates an output value named url from file_upload.url. Confirm that the file is publicly served or provide a deliberately protected URL workflow. |
Verification example
Section titled “Verification example”Configure the generated upload destination for a disposable test file and connect the Summernote upload setting to this action. Submit a supported file and verify that the returned url references the saved file. In a standard Node.js project, public server destinations need the /public prefix even though the browser URL omits it.
What remains your responsibility
Section titled “What remains your responsibility”The default template path is not a portable deployment configuration. It does not automatically validate content, associate the file with an authorized record, or provide a private-file download policy. Confirm the object/array output shape for the submitted file field.
Review the resulting workflow
Section titled “Review the resulting workflow”Inspect the actual generated or included steps, their inputs and their final output before connecting the action to a user-facing page.
Check your result
Section titled “Check your result”You can identify what this editor entry adds and configure or interpret it without assuming an unfinished scaffold is a completed workflow.