|
|
•
• 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.Get the form used in the task by invoking the TaskManager object’s getFormInstanceForTask method and passing the following values:
• A System.Boolean value that specifies whether the task identifier was specified
• A System.Boolean value that specifies whether the form identifier was specified
•
• A System.Boolean value that specifies whether the previous parameter was specified (for this task, specify true)
• Get form data by getting the value of the FormInstance object’s document data member. This data member returns a BLOB instance that contains form data.
• Save the data to an XML file by creating a System.IO.FileStream object by invoking its constructor and passing a string value that represents the XML file location.
• Create a byte array that stores the data content of the BLOB object. Populate the byte array by getting the value of the BLOB object’s binaryData data member.
• Create a System.IO.BinaryWriter object by invoking its constructor and passing the System.IO.FileStream object.
• Write the contents of the byte array to the XML file by invoking the System.IO.BinaryWriter object’s Write method and passing the byte array.
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/retrievingTaskData.138.4.html