Service omni sidebar configure

From forcedotcom/sf-skills · View interactive version

Service omni sidebar configure is an AI agent skill from the GitHub repository forcedotcom/sf-skills. Use to enable or verify the Omni-Channel sidebar on a Lightning console app. Triggers: enable the Omni sidebar, pin Omni-Channel in a console app, configure the Omni sidebar, turn on the Omni-Channel utility region, verify the pinned Omni widget. Do not use for Aura apps, standard apps, utility-bar-

How to use this skill

Skill file

service-omni-sidebar-configure

Enable the Omni-Channel sidebar — the pinned Omni utility region that docks to the side of a Lightning console app — by setting isOmniPinnedViewEnabled=true on that app's CustomApplication metadata and confirming the flag round-trips. This is the recommended Omni surface for console/demo orgs: reps see incoming work, presence, and the work list docked beside the record, rather than only in the collapsible utility bar. It runs once per console app and is invoked by service-omni-channel-setup-coordinate as the final rep-experience step.

Inputs

bash scripts/enable-and-report.sh <org-alias> [app_developer_name]

Preconditions and safety

Run

enable-and-report.sh resolves the target app, retrieves its CustomApplication, and reads the current isOmniPinnedViewEnabled value:

The deploy uses explicit --metadata "CustomApplication:<name>" (never --source-dir) and is done on its own — Metadata deploys are atomic, so the app is left unchanged on any failure.

Behavior

Idempotent + non-destructive. The skill only flips the single boolean; it never rewrites tabs, brand, or nav config. When the field is missing it is inserted in its XSD-ordered position (immediately before <label>); when present its value is replaced in place.

Auto-detect is conservative. It adopts an app automatically only when exactly one Lightning console app exists, so it can never silently pin the wrong app on an org with several.

Output contract

A single JSON object: status ∈ enabled | reused | blocked, app_developer_name, app_label, before (bool), after (bool), deploy_id, manual_actions, blocking_issue.

Limitations

References

| File | When to read |

|---|---|

| references/api-notes.md | CustomApplication isOmniPinnedViewEnabled schema/order, AppDefinition detection query, and retrieve/deploy notes |

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.