The following parameters apply to the createAttmnt method:
|
Parameter |
Data Type |
Description |
|---|---|---|
|
SID |
Integer |
Identifies the session retrieved from logging in. |
|
repositoryHandle |
String |
Identifies the object handle of a document repository. |
|
folderId |
Integer |
Identifies the folder handle ID. |
|
objectHandle |
Int |
Identifies the object handle of a Knowledge document to which this attachment is attached. |
|
description |
String |
Identifies the description for the attachment object. |
|
fileName |
String |
Identifies the name of the full path of the file to be uploaded. |
Description
Uploads a file to the back-end server. An uploaded file is stored in a document repository specified by the repositoryHandle. An attachment object is then created and attached to a document object specified by the objectHandle. The attachment object has all the information for accessing the newly uploaded file in the repository.
Returns
The following:
|
Parameter |
Type |
Description |
|---|---|---|
|
<Handle> |
String |
Identifies the object handle of the newly created attachment object. |
|
Copyright © 2013 CA.
All rights reserved.
|
|