SP_SetUploadMode

Identifies the files to upload into the SharePoint library.

Syntax

bool SP_SetUploadMode(StrParam)

Parameters

A string or Smart Parameter identifying the page level variable where file name stored. If this action is not called the value defaults to blank and regular upload logic applied. For example SP_SetUploadMode("ParentImage") will cause uploading file with the name stored in ParentImage variable on the page level.

Returns

Always True.

Level

Batch, Document or Page level.

Details

Use this action to identify the files that will be uploaded to SharePoint.
Example
SP_SetUploadMode(ParentImage)
SP_Upload()