01.06.2013 Views

OpenEdge Development: Mobile Applications - Product ...

OpenEdge Development: Mobile Applications - Product ...

OpenEdge Development: Mobile Applications - Product ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

getId( ) method<br />

getId( ) method<br />

Returns the unique internal ID for the specified temp-table record referenced in JSDO<br />

local storage. The specified record can be either the working record of a referenced<br />

temp-table, or any record provided by a JSRecord object.<br />

After execution, any working records previously set before the method executed<br />

remain as the working records.<br />

Return type: String<br />

Applies to: JSRecord object, progress.data.JSDO class, table reference property<br />

(JSDO)<br />

Syntax<br />

[table-ref.]getId ( )<br />

jsrecord-ref.getId ( )<br />

table-ref<br />

A table reference on the JSDO for a temp-table that has a working record. If the<br />

JSDO references only a single temp-table, the method can be called on the JSDO<br />

itself.<br />

jsrecord-ref<br />

A reference to a JSRecord object for a temp-table record in JSDO local storage.<br />

The internal ID returned by this function is a unique value generated by <strong>OpenEdge</strong> for<br />

each temp-table record in JSDO local storage. You can pass a returned value to the<br />

findById( ) method called on the associated temp-table to set the specified record<br />

as the working record for the temp-table.<br />

See also: findById( ) method, foreach( ) method<br />

220 <strong>OpenEdge</strong> ® <strong>Development</strong>: <strong>Mobile</strong> <strong>Applications</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!