Task loadingzone-delete
Used in upload processing scripts to delete documents from the loading zone for the current user in the specified group.
Definition
<ps:loadingzone-delete group="[groupname]" path="[file path]" paths="[file path list]" config="[config name]" />
Attributes
Attribute | Description | Required | Default |
---|---|---|---|
group | The name of the group the Loading Zone is in | Yes | |
path | The path in the Loading Zone of the file to delete (not URL encoded) | Yes, if no paths | |
paths | A pipe-separated list of paths in the Loading Zone of the files to delete (not URL encoded) | Yes, if no path | |
config | Universal PS config name | No | default |
Environment
This task uses the following ps:config environment properties:
- scheme – scheme for connecting to PageSeeder.
- host – host for connecting to PageSeeder.
- port – port for connecting to PageSeeder.
- servlet.prefix – servlet prefix for connecting to PageSeeder – default /ps/servlet.
- site.prefix – site prefix for connecting to PageSeeder – default /ps.
- username – username of member for delete
- user.token or jsessionid or password – access token or jsessionid or username’s password for connecting to PageSeeder.
Examples
<ps:loadingzone-delete group="${ps.config.default.group.name}" path=${ps.config.default.upload.path}" />