技能 编程开发 打开Power Apps包装链接

打开Power Apps包装链接

v20260903
open-wrap-url
本技能用于构建并打开指定Power Apps应用的“Wrap”页面URL。用户可以输入应用ID和环境ID(生产或测试),快速访问和预览部署在不同环境下的应用,便于测试和分享。
获取技能
473 次下载
概览

📋 Shared instructions: shared-instructions.md — read first.

Open Wrap URL

Builds and opens the Wrap URL for a code app:

https://make.powerapps.com/environments/<envID>/wrap?appID=<appID> for --env Prod

https://make.test.powerapps.com/environments/<envID>/wrap?appID=<appID> for --env Test

This skill delegates URL construction and browser open behavior to scripts/open-wrap-url.js.

Workflow

  1. Resolve app ID + env ID → 2. Open Wrap URL

Step 1 — Resolve app ID + env ID

Both arguments are required:

  • --app-id <app-id>
  • --env-id <environment-id>

Optional host selector:

  • --env <Prod|Test> (default: Prod)

If either value is missing in $ARGUMENTS, ask once for the missing value(s). If still missing, STOP.

Step 2 — Open Wrap URL

Run from the plugin root (or any app root):

node scripts/open-wrap-url.js --app-id "<app-id>" --env-id "<environment-id>" [--env "Prod|Test"]

Return the generated URL in the response. If the browser auto-open fails, still print the URL and tell the user to open it manually.

Notes

  • This skill is read-only with respect to project source files.
  • Works on macOS (open), Linux (xdg-open), and Windows (start).
信息
Category 编程开发
Name open-wrap-url
版本 v20260903
大小 1.43KB
更新时间 2026-09-06
语言