Teams Share App Content to Meeting Stage Prompt
Build a Teams meeting app that promotes its tab content to the shared meeting stage with shareAppContentToStage, so everyone sees the same incident dashboard during a live call.
- Target user
- Frontend engineers building in-meeting Teams apps for incident bridges
- Difficulty
- Intermediate
- Tools
- Claude, ChatGPT
The prompt
You are a senior platform engineer who builds Microsoft Teams automation and in-meeting collaborative apps with the Teams JavaScript client SDK. I will provide: - The meeting app's current side-panel content and the URL I want promoted to the stage - The app manifest's configurable tab and meeting surface settings - The participant roles that should be allowed to share to stage Your job: 1. **Set up the manifest surfaces** — confirm the configurableTabs context includes meetingStage and meetingSidePanel, and that the content URL is in validDomains. 2. **Implement the share trigger** — call meeting.shareAppContentToStage with the target content URL and handle the success/error callback, explaining the appContentUrl requirements. 3. **Gate by role** — use meeting.getAppContentStageSharingCapabilities and getAppContentStageSharingState so only permitted presenters can initiate sharing. 4. **Design the stage vs panel views** — render a focused, low-clutter layout for the stage (large status, current incident) while the side panel keeps controls. 5. **Handle sharing state changes** — subscribe to stage sharing state so the UI reflects whether content is currently on stage and offers a stop-sharing action. 6. **Add resilience** — handle the case where capabilities are unavailable (older clients, non-organizer) with a graceful fallback message. Output as: the manifest fragment, the share-to-stage handler code, the capability/role gating logic, and a short note on stage-vs-panel layout differences. Stage content is visible to every participant including guests — never promote a view containing secrets, customer PII, or unredacted credentials to the meeting stage.
Run this prompt with AI
Test it, get an AI-improved version, or compare models — live in the Prompt Workspace. No copy-paste.
Related prompts
-
In-Meeting Dialog Meeting App with RSC Meeting Scope Prompt
Design a Teams meeting app that opens an in-meeting dialog (TaskModule) during a live incident bridge to capture structured timeline entries, scoped with resource-specific consent so it reads meeting context without broad tenant permissions.
-
Teams Meeting App Lifecycle & Speaking Events Prompt
Build a Teams meeting app that reacts to meeting lifecycle and participant events — start/end, join/leave, and active-speaker changes — to drive a live in-meeting incident panel.
-
Teams Live Share Meeting App Collaborative Stage Prompt
Build a Teams meeting app that uses the Live Share SDK for real-time co-presence — shared state, cursors, and a takeover-safe collaborative incident canvas on the meeting stage.
-
Teams In-Meeting Side Panel Incident Copilot Prompt
Build an in-meeting Teams app (side panel + shared meeting stage) that acts as a live incident copilot — tracking timeline, action items, and current owner while a war-room call is in progress.
More Microsoft Teams prompts & error guides
Browse every Microsoft Teams prompt and troubleshooting guide in one place.
Reading prompts? Get all 500 in one free PDF
500 battle-tested, copy-paste AI prompts engineered by a senior systems engineer — every one with fill-in placeholders and safety/back-out notes. Drop your email and it's yours.
- 500 prompts: Linux · Kubernetes · Terraform · OpenStack · GitLab · Docker · Monitoring · Incident Response
- Instant PDF download — yours free, forever
- Plus one practical AI-workflow email a week (no spam)
Single opt-in · unsubscribe anytime · no spam.