openHitListByIds()
2. Parameters
| Name | Type | Description |
|---|---|---|
|
Array of |
The objects to display in the hit list. |
|
|
Open in a new tab (webclient only). |
|
|
Hit-list title. The rich client requires a non-empty title — an
empty/omitted title is substituted with the fixed default
|
|
|
Hit-list subtitle (webclient only; the bridge has no equivalent). |
|
|
Execute the single hit’s default action (webclient only; the bridge has no equivalent). |
3. Per-environment behavior
| Environment | Behavior |
|---|---|
webclient |
The params slot is an object
|
rich client |
|
standalone (or still detecting without a wire) |
No host reply path exists — the call rejects (bounded) with the
|
4. Examples
await dashlet.openHitListByIds({
objects: [{ objectId: '1024', objectTypeId: 262145 }],
inNewTab: true,
title: 'Open documents',
});
5. Errors
-
TypeError— a malformed options object: the options must be a plain object containing anobjectsarray (the normalization rejects any other shape descriptively). -
Error('dashlet destroyed')— the dashlet was destroyed before the call. -
TimeoutError— bounded no-reply in standalone, or a correlated (inNewTab === true) webclient post whose host never answered withintimeoutMs. Fire-and-forget posts never time out (they resolve immediately). -
The host’s
{ error }payload — when the host reports a failure on the webclient method call.