Loading...
Loading...
Use when creating, deploying, or managing Dataverse web resources for model-driven apps. Covers JavaScript form scripts (OnLoad, OnSave, OnChange events), HTML dashboard pages, CSS styling, image resources, navigation/side panes, ribbon/command bar customization, business process flow client API, and deployment via the Web API. Triggers on: "web resource", "javascript form", "form script", "html dashboard", "ribbon command", "onload event", "onchange event", "onsave event", "formContext", "Xrm.WebApi", "web resource deployment", "dashboard page", "form event handler", "side pane", "command bar", "ribbon", "modal dialog", "navigation", "Xrm.App", "Xrm.Navigation", "business process flow", "bpf", "stage change".
npx skill4agent add danielkerridge/claude-code-power-platform-skills dataverse-web-resourcescnt_/js/formscript.jsvar MyApp = MyApp || {};
MyApp.FormScripts = { onLoad: function(executionContext) { ... } };executionContextvar formContext = executionContext.getFormContext();[Convert]::ToBase64String()resources/ux-decision-guide.mdXrmXrmXrm.Utility.getGlobalContext()parent.Xrm.Utility.getGlobalContext()WhoAmIGET /api/data/v9.2/WhoAmIUrl="/WebResources/{name}"$webresource:<SubArea>| Operation | Method | Endpoint |
|---|---|---|
| Create web resource | POST | |
| Update web resource | PATCH | |
| Delete web resource | DELETE | |
| Add to solution | Action | |
| Publish | Action | |
| API | Purpose | Target |
|---|---|---|
| Open persistent side panel | Web resource, custom page, entity form |
| Open inline dialog (modal/modeless) | Web resource, custom page |
| Open web resource in new window/dialog | Web resource |
| Open entity form programmatically | Entity form |
| Show alert message | System dialog |
| Show confirm/cancel prompt | System dialog |
| Query records from form JS | Dataverse table |
| Create record from form JS | Dataverse table |
| Update record from form JS | Dataverse table |
| Delete record from form JS | Dataverse table |
| Get active BPF | Form process |
| Switch BPF | Form process |
| Navigate BPF stages | Form process |
| Listen for BPF stage changes | Form process |
| Get localized string from RESX | Web resource |
resources/types-reference.mdresources/js-form-scripts.mdresources/html-dashboards.mdresources/deployment.mdresources/navigation-side-panes.mdresources/ribbon-command-bar.mdresources/ux-decision-guide.mdresources/bpf-client-api.md