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)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
__NOTOC__
 +
Attention: Do not change any text in the description, signature, and paramter sections.
 +
 +
Return to [[CSPage_1_0]]
 +
 
== Description ==  
 
== Description ==  
 
Creates a page using the argument data passed in
 
Creates a page using the argument data passed in
Line 35: Line 40:
 
 
 
<tr>
 
<tr>
<td>optional</td>
 
 
 
 
<td class="required">optional</td>
 
<td class="required">optional</td>

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