Difference between revisions of "CSPage 1 0-createPage"
From ADF Docs
| Line 5: | Line 5: | ||
public struct <strong>createPage</strong> ( struct stdMetadata, struct custMetadata, numeric activatePage ) | public struct <strong>createPage</strong> ( struct stdMetadata, struct custMetadata, numeric activatePage ) | ||
| − | == 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>stdMetadata</td> | ||
| + | <td>struct</td> | ||
| + | <td>Standard Metadata would include 'Title, Description, TemplateId, SubsiteID etc...'</td> | ||
| + | </tr> | ||
| + | |||
| + | <tr> | ||
| + | |||
| + | <td> </td> | ||
| + | |||
| + | <td>custMetadata</td> | ||
| + | <td>struct</td> | ||
| + | <td>Custom Metadata would be any custom metadata for the new page ex. customMetadata['formName']['fieldname']</td> | ||
| + | </tr> | ||
| + | |||
| + | <tr> | ||
| + | <td>optional</td> | ||
| + | |||
| + | <td class="required">optional</td> | ||
| + | |||
| + | <td>activatePage</td> | ||
| + | <td>numeric</td> | ||
| + | <td>[Default: 1] Falg to make the new page active or inactive</td> | ||
| + | </tr> | ||
| + | |||
| + | </table> | ||
Revision as of 03:14, 24 March 2010
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 | optional | activatePage | numeric | [Default: 1] Falg to make the new page active or inactive |