openObject()
3. Per-environment behavior
| Environment | Behavior |
|---|---|
webclient |
The webclient has no |
rich client |
|
standalone (or still detecting without a wire) |
No host reply path exists — the call rejects (bounded) with the
|
4. Examples
await dashlet.openObject('1024');
The string-based equivalent (identical dispatch core) is
dashlet.call('openObject', [1024]) — the positional array form carrying
the single object id.
5. Errors
-
TypeError— an invalid (missing/empty/non-numeric)objectIdin the rich client: the id is coerced to the bridge’s numeric form, and empty or non-numeric ids are rejected descriptively instead of silently opening object 0. A plain object is also rejected: the facade takes the id itself, andcall()takes[objectId](an array), not a wrapper object. -
Error('dashlet destroyed')— the dashlet was destroyed before the call. -
TimeoutError— bounded no-reply in standalone, or a host that never answered withintimeoutMs. -
The host’s
{ error }payload — when the host reports a failure on the webclient method call.