Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Code Block
languagecpp
themeConfluence
FUNCTION xpxWriteProtectedData(instanceId                        : GENERIC;
                               writeCondition                    : STRING;
                               attributeNameOrAttributeId1       : GENERIC;
                               attribute1WriteCondition          : STRING;
                               attribute1value                   : GENERIC;
                               attributeNameOrAttributeId2       : GENERIC;
                               attribute2WriteCondition          : STRING;
                               attribute2value                   : GENERIC;
                               . . .
                               attributeNameOrAttributeIdN       : GENERIC;
                               attributeNWriteCondition          : STRING;
                               attributeNvalue                   : GENERIC)
                               rstat                             : INTEGER;

Use this function to ....

Arguments

...

This functions assigns values to one or more attributes of an specified EDMprotectedData instance. No EDMtransaction must be open when this function is invoked. An EDMwriteTransaction will be stated by this method and committed when successfully performed, and aborted when this methods fails. The first 5 arguments are mandatory, the rest are optional. For each attribute to assign value to, the 3 arguments "attributeNameOrAttributeId", "attributeWriteCondition", and "attributeValue" must be specified. The  "attributeWriteCondition"  can be specified as INDETERMINATE (?). The actual EDMprotectedData must have been defined with xpxWRITE_ACCESS in the related xpxDefineProtectedData() operation, and the optional defined "writeCondition" must be evaluated to TRUE before this operation can be successfully performed. The "writeCondion" argument must evaluate to TRUE before this operation can be successfully performed. For each attribute to write the actual attribute must have been defined with xpxWRITE_ACCESS, the optional defined "attributeCondition" must be evaluated to TRUE, and the optional "attributeWriteCondition" argument must be evaluated to TRUE, before the actual attribute write operation can be successfully performed.

 

Arguments

...

TypeNameComment2STRINGresultString
commentGENERICinstanceIdcomments
STRINGwriteCondition 
GENERICattributeNameOrAttributeId1optional
STRINGattribute1WriteConditionoptional
GENERICattribute1valueoptional

 

Return Value

...

Insert excerpt
US:_r_XPX_Return_Value
US:_r_XPX_Return_Value
nopaneltrue

...