wm.ln.db:createFromTemplate
This flow service creates a new database from an existing database. If the "Database is a template" property is selected, then the new database has the design elements and documents of the existing database. If the property is not selected, the source is treated as a database instead of a template, and does not convert entries such as [-Default-] in the ACL to regular ACL entries in the newly created database. Programs running on a server or making remote (IIOP) calls to a server cannot create or access databases on other servers.
Input Parameters
dbFilName | String The file name of the new database. If a database with the specified file name already exists, an exception is thrown. |
inherit | String Specify "true" if you want the new database to inherit future design changes from the template; otherwise, specify "false". |
templateDb | Database The template database object. |
Output Parameters
newdatabase | Database An object representing the created database. |