edmiCopyModelEx

EdmiError edmiCopyModelEx (SdaiModel      sourceModelId,
                           SdaiString     targetModelSchemaName,
                           SdaiRepository targetModelRepositoryId,
                           SdaiString     targetModelName,
                           SdaiOptions    options,
                           SdaiModel      *targetModelId);

Makes a copy of a model, i.e. creates a new model and copies all instances in the source model to the new model (target model). This function is only applicable to data models. The executing EDMuser must have read access to the source model. The source model will be unchanged by this operation. The source model can be open or closed when this function is executed. The new created target model will have the same underlying schema as the source model, i.e. the source and target model will be two different populations of the same Express schema.

 

Arguments


TypeNameComment
SdaiModel

sourceModelIde

 

SdaiString

targetModelSchemaName

 

SdaiRepository

targetModelRepositoryId

 

SdaiString

targetModelName

 

SdaiOptions

options

 

SdaiModeltargetModelId 

Return Value


Error rendering macro 'excerpt-include' : User 'null' does not have permission to view the page 'US:_r_EDMInterface'.

 

Options


  

 

Example


 

<example>

 

See also

Filter by label

There are no items with the selected labels at this time.

Â