Difference between revisions of "CSUpload 1 0-uploadDocument"
From ADF Docs
Line 1: | Line 1: | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
__NOTOC__ | __NOTOC__ | ||
Attention: Do not change any text in the description, signature, and paramter sections. | Attention: Do not change any text in the description, signature, and paramter sections. | ||
Line 16: | Line 8: | ||
== Signature == | == Signature == | ||
− | public struct | + | public struct <strong>uploadDocument</strong> ( numeric subsiteid, struct data, Binary docBinaryData, numeric doLogin ) |
== Parameters == | == Parameters == | ||
− | + | <table id="lib-params"> | |
− | + | <tr class="header"> | |
− | + | <td>Required</td> | |
− | + | <td>Name</td> | |
− | + | <td>Type</td> | |
− | + | <td>Description</td> | |
− | + | </tr> | |
− | + | <tr> | |
− | + | <td class="required">required</td> | |
− | + | <td>subsiteid</td> | |
− | + | <td>numeric</td> | |
− | + | <td></td> | |
− | + | </tr> | |
− | + | <tr> | |
− | + | <td> </td> | |
− | + | <td>data</td> | |
− | + | <td>struct</td> | |
− | + | <td>Data for upload document.</td> | |
− | + | </tr> | |
− | + | <tr> | |
− | + | <td> </td> | |
− | + | <td>docBinaryData</td> | |
− | + | <td>Binary</td> | |
− | + | <td>Binary data of the document.</td> | |
− | + | </tr> | |
− | + | <tr> | |
− | + | <td class="required">optional</td> | |
− | + | <td>doLogin</td> | |
− | + | <td>numeric</td> | |
− | + | <td>[Default: 0] Force the login always</td> | |
− | + | </tr> | |
− | + | </table> |
Latest revision as of 17:34, 24 November 2010
Attention: Do not change any text in the description, signature, and paramter sections.
Return to CSUpload_1_0
Description
Use this method to upload a document into the upload folder of an designated subsite
Signature
public struct uploadDocument ( numeric subsiteid, struct data, Binary docBinaryData, numeric doLogin )
Parameters
Required | Name | Type | Description |
required | subsiteid | numeric | |
data | struct | Data for upload document. | |
docBinaryData | Binary | Binary data of the document. | |
optional | doLogin | numeric | [Default: 0] Force the login always |