Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

...

Once we have a handle to the root we can pull information from the returned customer object using the dynamic SDO apis like this:

DataObject cust = root.getDataObject("CUSTOMER\[1\]");
String name = cust.getString("LASTNAME");

Panel

Wiki Markup

The first line retreives the first Customer from the root's list of returned Customers (since we queried by ID, thereis only one). The second line pulls the LASTNAME value from the customer.

...