Skip to main content

What it does

Gets a list of attachments of the specified type to the selected object.

Definition

string[] GetAttachmentNames( int type, int objectId, int batchId, int projectId );

Parameters

Name

Type

Description

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

Returned value

TypeDescription
string[]The list of attachments to the selected object