Token导航 LogoToken导航TokenDH.com
前端设计需要联网github未标认证来源可访问许可证需确认审计通过

dataverse-web-resources数据宇宙网络资源

Agent Skill

用于辅助数据整理、表格处理、CSV/Excel 分析、指标计算和图表准备。它适合让 Agent 清洗字段、汇总数据、发现异常、生成统计口径或把分析结果转成可读说明。使用时需要确认数据来源、字段含义和时间范围,避免把样本数据当全量事实;涉及敏感数据、导出文件或批量写回时,应先确认权限和脱敏边界。

总安装

374

周安装

15

GitHub Stars

43

下载量

121
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:dataverse-web-resources(数据宇宙网络资源)
来源仓库:https://github.com/danielkerridge/claude-code-power-platform-skills
仓库路径:skills/dataverse-web-resources
安装命令:
npx skills add https://github.com/danielkerridge/claude-code-power-platform-skills --skill dataverse-web-resources
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/danielkerridge/claude-code-power-platform-skills --skill dataverse-web-resources

简介

用于创建和管理 Dataverse 中的 Web 资源文件。

  • 支持 JavaScript、HTML、CSS、图片等静态资源托管。
  • 必须使用发布者优先缀命名空间防止全局污染。dataverse-web-resources 属于前端设计类 Skill,可作为该场景下的辅助能力补充。
  • JavaScript 函数需封装在命名空间对象内部调用。
  • 资源部署后可在模型驱动应用中引用并增强功能。

SKILL.md

Dataverse Web Resources Skill

You are an expert in creating, deploying, and using Dataverse web resources within model-driven apps. Web resources are virtual files stored in Dataverse that can contain JavaScript, HTML, CSS, images, and other web content used to extend the application.

CRITICAL RULES

  1. Always use a publisher prefix namespace for web resource names (e.g., cnt_/js/formscript.js). The forward slash creates a virtual folder structure.
  2. JavaScript must use the namespace pattern. Define all functions inside a namespace object to avoid global scope pollution: var MyApp = MyApp || {}; MyApp.FormScripts = {onLoad: function(executionContext) {...}};
  3. Always pass executionContext to form event handlers. Enable "Pass execution context as first parameter" when registering. Then: var formContext = executionContext.getFormContext();
  4. Content must be base64-encoded when creating via the API. Use PowerShell's [Convert]::ToBase64String() or equivalent.
  5. Always publish after creating/updating web resources. They remain in draft until published.
  6. 5MB size limit per web resource (configurable by org admin). Minify large JS/CSS.
  7. Always consult resources/ux-decision-guide.md when choosing controls — before selecting a control type, field format, navigation pattern, or page layout, check the decision guide for the recommended approach.
  8. Xrm is NOT available in web resources loaded via MDA sitemap. Web resources loaded as sitemap SubAreas run in an iframe where Xrm is not injected directly. Use this fallback chain: (1) Xrm.Utility.getGlobalContext(), (2) parent.Xrm.Utility.getGlobalContext(), (3) WhoAmI API call (GET /api/data/v9.2/WhoAmI) for user identity. Cache the result.
  9. Sitemap web resource URL format: Use Url="/WebResources/{name}" (NOT $webresource: prefix) on <SubArea> elements to embed HTML web resources as navigation items.

Quick Reference

OperationMethodEndpoint
Create web resourcePOST/webresourceset
Update web resourcePATCH/webresourceset({id})
Delete web resourceDELETE/webresourceset({id})
Add to solutionActionAddSolutionComponent (ComponentType=61)
PublishActionPublishXml

Xrm Client API Quick Reference

APIPurposeTarget
Xrm.App.sidePanes.createPane()Open persistent side panelWeb resource, custom page, entity form
Xrm.Navigation.navigateTo()Open inline dialog (modal/modeless)Web resource, custom page
Xrm.Navigation.openWebResource()Open web resource in new window/dialogWeb resource
Xrm.Navigation.openForm()Open entity form programmaticallyEntity form
Xrm.Navigation.openAlertDialog()Show alert messageSystem dialog
Xrm.Navigation.openConfirmDialog()Show confirm/cancel promptSystem dialog
Xrm.WebApi.retrieveMultipleRecords()Query records from form JSDataverse table
Xrm.WebApi.createRecord()Create record from form JSDataverse table
Xrm.WebApi.updateRecord()Update record from form JSDataverse table
Xrm.WebApi.deleteRecord()Delete record from form JSDataverse table
formContext.data.process.getActiveProcess()Get active BPFForm process
formContext.data.process.setActiveProcess(id)Switch BPFForm process
formContext.data.process.moveNext() / movePrevious()Navigate BPF stagesForm process
formContext.data.process.addOnStageChange(handler)Listen for BPF stage changesForm process
Xrm.Utility.getResourceString(webresource, key)Get localized string from RESXWeb resource

Resource Files

  • resources/types-reference.md -- All 12 web resource types with Type IDs and use cases
  • resources/js-form-scripts.md -- JavaScript for form event handling, field validation, UI manipulation
  • resources/html-dashboards.md -- HTML pages for dashboards, charts, and KPI displays
  • resources/deployment.md -- Creating and deploying web resources via the API
  • resources/navigation-side-panes.md -- Side panes, dialogs, navigation APIs (Xrm.App, Xrm.Navigation)
  • resources/ribbon-command-bar.md -- Ribbon/command bar customization (modern + classic RibbonDiffXml)
  • resources/ux-decision-guide.md -- Decision trees for control, layout, and navigation pattern selection
  • resources/bpf-client-api.md -- Business Process Flow JavaScript API, events, stage navigation, common patterns

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

34.16%
按下载量换算41

Claude

33.06%
按下载量换算40

Cursor

20.49%
按下载量换算25

Gemini CLI

10.02%
按下载量换算12

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills