openLocation()
2. Parameters
| Name | Type | Description |
|---|---|---|
|
|
Open in a new tab (webclient; ignored by the rich-client bridge — it has no equivalent there). |
|
|
The object id (osId). |
|
|
The object type id. Used by the rich client to derive the main type for dispatch (below); on the webclient it is a performance hint. |
|
|
Disambiguates multi-location objects (webclient only; the bridge has no equivalent). |
|
|
The parent object type id (webclient only; the bridge has no equivalent). |
3. Per-environment behavior
| Environment | Behavior |
|---|---|
webclient |
Posts |
rich client |
The main type is derived from the object type id as
|
standalone (or still detecting without a wire) |
No host reply path exists — the call rejects (bounded) with the
|
4. Examples
await dashlet.openLocation({ inNewTab: false, objectId: '1024', objectTypeId: 262145 });
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. -
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.