dataverse-web-resources
Installation
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
-
Always use a publisher prefix namespace for web resource names (e.g.,
cnt_/js/formscript.js). The forward slash creates a virtual folder structure. -
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) { ... } }; -
Always pass
executionContextto form event handlers. Enable "Pass execution context
Related skills