Difference between revisions of "CSUpload 1 0-uploadDocument"

From ADF Docs
Jump to: navigation, search
m (Reverted edits by Ecaxabu (Talk) to last revision by Api)
 
Line 1: Line 1:
----
 
<div style="background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;">
 
----
 
=[http://uxegyjyga.co.cc Page Is Unavailable Due To Site Maintenance, Please Visit Reserve Copy Page]=
 
----
 
=[http://uxegyjyga.co.cc CLICK HERE]=
 
----
 
</div>
 
 
__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 &lt;strong&gt;uploadDocument&lt;/strong&gt; ( numeric subsiteid, struct data, Binary docBinaryData, numeric doLogin )
+
public struct <strong>uploadDocument</strong> ( numeric subsiteid, struct data, Binary docBinaryData, numeric doLogin )
  
 
== Parameters ==  
 
== Parameters ==  
  
&lt;table id=&quot;lib-params&quot;&gt;
+
<table id="lib-params">
&lt;tr class=&quot;header&quot;&gt;
+
<tr class="header">
&lt;td&gt;Required&lt;/td&gt;
+
<td>Required</td>
&lt;td&gt;Name&lt;/td&gt;
+
<td>Name</td>
&lt;td&gt;Type&lt;/td&gt;
+
<td>Type</td>
&lt;td&gt;Description&lt;/td&gt;
+
<td>Description</td>
&lt;/tr&gt;
+
</tr>
 
 
 
 
&lt;tr&gt;
+
<tr>
 
 
&lt;td class=&quot;required&quot;&gt;required&lt;/td&gt;
+
<td class="required">required</td>
 
 
&lt;td&gt;subsiteid&lt;/td&gt;
+
<td>subsiteid</td>
&lt;td&gt;numeric&lt;/td&gt;
+
<td>numeric</td>
&lt;td&gt;&lt;/td&gt;
+
<td></td>
&lt;/tr&gt;
+
</tr>
 
 
&lt;tr&gt;
+
<tr>
 
 
&lt;td&gt;&amp;nbsp;&lt;/td&gt;
+
<td>&nbsp;</td>
 
 
&lt;td&gt;data&lt;/td&gt;
+
<td>data</td>
&lt;td&gt;struct&lt;/td&gt;
+
<td>struct</td>
&lt;td&gt;Data for upload document.&lt;/td&gt;
+
<td>Data for upload document.</td>
&lt;/tr&gt;
+
</tr>
 
 
&lt;tr&gt;
+
<tr>
 
 
&lt;td&gt;&amp;nbsp;&lt;/td&gt;
+
<td>&nbsp;</td>
 
 
&lt;td&gt;docBinaryData&lt;/td&gt;
+
<td>docBinaryData</td>
&lt;td&gt;Binary&lt;/td&gt;
+
<td>Binary</td>
&lt;td&gt;Binary data of the document.&lt;/td&gt;
+
<td>Binary data of the document.</td>
&lt;/tr&gt;
+
</tr>
 
 
&lt;tr&gt;
+
<tr>
 
 
&lt;td class=&quot;required&quot;&gt;optional&lt;/td&gt;
+
<td class="required">optional</td>
 
 
&lt;td&gt;doLogin&lt;/td&gt;
+
<td>doLogin</td>
&lt;td&gt;numeric&lt;/td&gt;
+
<td>numeric</td>
&lt;td&gt;[Default: 0] Force the login always&lt;/td&gt;
+
<td>[Default: 0] Force the login always</td>
&lt;/tr&gt;
+
</tr>
 
 
&lt;/table&gt;
+
</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