Difference between revisions of "CSPage 1 0-createPage"

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://ezemitekywe.co.cc This Page Is Currently Under Construction And Will Be Available Shortly, Please Visit Reserve Copy Page]=
 
----
 
=[http://ezemitekywe.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;createPage&lt;/strong&gt; ( struct stdMetadata, struct custMetadata, numeric activatePage )
+
public struct <strong>createPage</strong> ( struct stdMetadata, struct custMetadata, numeric activatePage )
  
 
== 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;stdMetadata&lt;/td&gt;
+
<td>stdMetadata</td>
&lt;td&gt;struct&lt;/td&gt;
+
<td>struct</td>
&lt;td&gt;Standard Metadata would include 'Title, Description, TemplateId, SubsiteID etc...'&lt;/td&gt;
+
<td>Standard Metadata would include 'Title, Description, TemplateId, SubsiteID etc...'</td>
&lt;/tr&gt;
+
</tr>
 
 
&lt;tr&gt;
+
<tr>
 
 
&lt;td&gt;&amp;nbsp;&lt;/td&gt;
+
<td>&nbsp;</td>
 
 
&lt;td&gt;custMetadata&lt;/td&gt;
+
<td>custMetadata</td>
&lt;td&gt;struct&lt;/td&gt;
+
<td>struct</td>
&lt;td&gt;Custom Metadata would be any custom metadata for the new page ex. customMetadata['formName']['fieldname']&lt;/td&gt;
+
<td>Custom Metadata would be any custom metadata for the new page ex. customMetadata['formName']['fieldname']</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;activatePage&lt;/td&gt;
+
<td>activatePage</td>
&lt;td&gt;numeric&lt;/td&gt;
+
<td>numeric</td>
&lt;td&gt;[Default: 1] Falg to make the new page active or inactive&lt;/td&gt;
+
<td>[Default: 1] Falg to make the new page active or inactive</td>
&lt;/tr&gt;
+
</tr>
 
 
&lt;/table&gt;
+
</table>

Latest revision as of 17:35, 24 November 2010

Attention: Do not change any text in the description, signature, and paramter sections.

Return to CSPage_1_0

Description

Creates a page using the argument data passed in

Signature

public struct createPage ( struct stdMetadata, struct custMetadata, numeric activatePage )

Parameters

Required Name Type Description
required stdMetadata struct Standard Metadata would include 'Title, Description, TemplateId, SubsiteID etc...'
  custMetadata struct Custom Metadata would be any custom metadata for the new page ex. customMetadata['formName']['fieldname']
optional activatePage numeric [Default: 1] Falg to make the new page active or inactive