Skip to main content

What it does

Removes attachment

Definition

void RemoveAttachment( int sessionId, int type, int objectId, int batchId, int projectId, string fileName );Vf

Parameters

Name

Type

Description

session

int

The ID of the connection to the Application Server

type

int

Type of attachment. Possible values

  • 9 - attachment to a document;
  • 10 - attachment to a page;
  • 11 - attachment to a batch.

objectId

int

The ID of the object

batchId

int

The ID of the batch

projectId

int

The ID of the project

fileName

string

Name of attachment to be deleted

Returned value

None.