Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

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;

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


TypeNameComment
GENERICinstanceIdcomments
STRINGwriteCondition 
GENERICattributeNameOrAttributeId1optional
STRINGattribute1WriteConditionoptional
GENERICattribute1valueoptional

 

Return Value


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

Options


OptionComment
XPXOptioncomment

 

Example


<Missing Example>

 

See also

Filter by label

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

 

  • No labels