CreateEntity

Description: Creates a new entity. It can be placed in a structure by optionally including root and parent entity names. The there is a flag to retain data from within the source entity in the new entity.

Prerequisites: CreateSession(), OpenServer() and OpenDatabase().

Syntax

Parameters

Table 15. CreateSession Parameters

ParameterData TypeDescription
sessionIDstringA session identifier
newEntitystring A name for the new entity
baseEntitystring A source entity from which to copy the new entity
rootEntitystring The root entity of the tree
parentEntitystring The entity under which to create the new entity
keepDatabool Indicates whether or not to copy the data from the baseEntity

Returns

void