| ||||
CreateDatabasePage methodCreates a Database Page object. This method is only used to create blank standalone or enterprise databases. To create a database based on a template, get the template database item from the Templates Folder and use the CopyTo method in IERUItem. To create an enterprise room instance, use the CreateEnterpriseDBInstancePage method in IERUContainer. To create an enterprise summary, use the CreateEnterpriseDBSummaryPage method in IERUContainer. Syntax
ParametersNameThe name of the Database page. The name has to be unique in the container. WelcomeThe welcome message that appears on the summary page. WelcomeFormatThe format of the Welcome parameter. For further information, see ERUTextFormat. InstructionThe instructions that appear on the row page. InstructionFormatThe format of the Instruction parameter. For further information, see ERUTextFormat. StyleThe format of the Database. For further information, see ERUDBStyle. CreateOptionsOne or more values from the ERUCreateOptions enumeration, logically OR'ed together. At present, the only valid create options for CreateDatabasePage are erCreateOptMakeNameUnique and erCreateOptEnterpriseDatabase. [optional, default = erCreateOptNone]. The latter value requires administrative privileges and is valid only if creating a database in the Templates Folder. CreateOptionsOne or more values from the ERUCreateOptions enumeration, logically OR'ed together. [optional, default = erCreateOptNone]. Legal values include:
erCreateOptEnterpriseDatabase requires administrative privileges and is valid only if creating a database in the Templates Folder. ppDatabasePageUpon return, an IERUItem interface pointer to the newly-created database page. Return value
RemarksThe name of the new database page can be no longer than 126 characters. It is the eRoom convention to place the PhaseID column of an approval process database in the last column position. When creating approval processes through SAAPI, remember to put the PhaseID column last so that it looks consistent with approval processes created through the UI. |
Home Interface IERUContainer See also Creating Items |