Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagecpp
themeConfluence
FUNCTION xpfCreateInstanceAndPutAttrs (modelId                        : GENERIC;
                                       entityIdOrViewEntityId         : GENERIC;
                                       numberOfAttributes             : INTEGER;
                                       attrId1 : GENERIC;  attrValue1 : GENERIC;
                                       ...                 ...",
                                       attrIdN : GENERIC;  attrValueN : GENERIC)
                                       newInstanceId                  : GENERIC;
                

The xpfCreateInstanceAndPutAttrs function creates an entity instance and optionally set the specified attribute values of the created instance. Hence this operation is a combination of xpfCreateInstance and xpxPutAttrs operations. The instanceID of the created instance is returned by the function in the argument <newInstanceId>.
This operation is only applicable to data models.
The actual data model must be open for write access , before this operation can be successfully performed.
This function is equivalent to the EDMinterface function edmiCreateInstanceAndPutAttrs.
See also xpxCreateInstanceAndPutAttrs.                                      

Arguments

...

TypeNameComment
GENERICmodelIdcomments
GENERICentityIdOrViewEntityId 
INTEGERnumberOfAttributes 
GENERICattrId1 
GENERICattrValue1 

Return Value

...

TypeNameComment
GENERICnewInstanceIdcomments

Options

...

Example

...

Code Block
languagecpp
<Missing Example>

See also

Filter by label (Content by label)
showLabelsfalse
showSpacefalse
cqllabel = "extension_schema" and parent = "5636522"