edmiGetXMLConfigurationId

EdmiError edmiGetXMLConfigurationId(SdaiSchema   schemaId,
                                     SdaiString   xmlConfigurationName,
                                     SdaiInstance *xmlConfigurationId);

Retrieves the id of an Xml Configuration.

Arguments


TypeNameComment
SdaiSchema

SchemaId

The schemaID that uniquely identifies an Express schema in an EDMdatabase for which the XML Configuration was created.

SdaiString

XmlConfigurationName

The name of the XML Configuration.

SdaiInstance

XmlConfigurationId

Address of a variable that will receive the instance Id that uniquely identifies the XML Configuration.

Return Value


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

Options


 

Example


 

 EdmiError rstat;
 SdaiModel modId, dictModId;
 SdaiSchema schemaId;
 SdaiInstance xmlConfigId;
 . . .
 modId = edmiGetModelBN("London", "Block34");
 sdaiGetAttrBN(modId, "UNDERLYING_SCHEMA", sdaiINSTANCE, &schemaId);
 dictModId = sdaiGetInstanceModel(schemaId);
 rstat = edmiGetXMLConfigurationId(dictModId, "XmlConfig", &xmlConfigId);
 if (rstat) {
 printf("\nError %d in edmiGetXMLConfigurationId: %s", rstat, 
 edmiGetErrorText(rstat)); 
 } else {
 printf("\nXML Configuration Id is %d", xmlConfigId);
 }
 . . .

 

See also

Filter by label

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

Â