MACROMEDIA FLASH 8-USING FLASH Use Manual page 448

Using flash
Table of Contents

Advertisement

The following example shows a sample results packet for an update packet that has no errors
and contains no XML updates:
<results_packet nullValue="{_NULL_}" transID="46386292065:Wed Jun 25
15:52:34 GMT-0700 2003"/>
A sample results packet (with XML updates) follows:
<results_packet nullValue="{_NULL_}" transID="46386292065:Wed Jun 25
15:52:34 GMT-0700 2003">
<operation op="remove" id="11295627479" msg="The record could not be
found"/>
<operation op="update" id="02938027477">
<attribute name="id" curValue="105" msg="Invalid field value" />
</operation>
</results_packet>
The results packet can contain an unlimited number of operation nodes. Operation nodes
contain the results of operations from the update packet. Each operation node should have
the following attributes/child nodes:
: An attribute describing the type of operation that was attempted. Must be insert,
op
delete, or update.
An attribute that holds the ID from the operation node that was sent out
id:
msg (optional): An attribute containing a message string that describes the problem that
occurred when attempting the operation
: 0, 1, or more child nodes that give field-level specific information. Each field node,
field
at a minimum, should have a
attribute, which gives the field-level message. It can also optionally contain a
attribute, which holds the most up-to-date value for that field in that row on the server.
Server-side requirements for resolving data for
RDBMS
This section describes requirements that your server code must fulfill. It contains information
relevant for the server administrator who is handling server-side functions for your Flash
application. It contains the following topics:
Example of an RDMBSResolver component XML update packet
About receiving results from an external data source
In addition to the information in this section, see the DevNet article "Using the
RDBMSResolver to Update a Database" at
delta_packet.html.
448
Data Integration (Flash Professional Only)
attribute, which contains the field name, and a
name
www.macromedia.com/devnet/mx/flash/articles/
msg
curValue

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash 8

Table of Contents