Take a survey

Developing Applications Using APIs > Managing Processes and Tasks > Retrieving File Attachments from Tasks > Retrieving file attachments from tasks using the web service API

Retrieving file attachments from tasks using the web service API
To retrieve file attachments from tasks by using the web service API, perform the following steps:
1.
2.
Using the Microsoft .NET client assembly, create a TaskManagerServiceService object by invoking its default constructor.
Set the TaskManagerServiceService object’s Credentials data member with a System.Net.NetworkCredential value that specifies the user name and password value.
3.
Retrieve file attachments by invoking the TaskManagerServiceService object’s getAttachmentListForTask method and passing the task identifier value and a Boolean value that specifies true. This method returns an Object array where each element is a BLOB object that contains a file attachment. You can determine the task identifier by retrieving tasks that are assigned to a specific user. (See Retrieving Tasks Assigned to Users.)
Iterate through the Object array by creating a loop structure and, for each element, cast the element value to a BLOB instance.
View Quick Start
 

 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/livecycle/es/sdkHelp/programmer/sdkHelp/retrievingFileAttachments.140.4.html