Loading...
Loading...
Compare original and translation side by side
cnt_/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>cnt_/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/WhoAmI<SubArea>Url="/WebResources/{name}"$webresource:| Operation | Method | Endpoint |
|---|---|---|
| Create web resource | POST | |
| Update web resource | PATCH | |
| Delete web resource | DELETE | |
| Add to solution | Action | |
| Publish | Action | |
| 操作 | 方法 | 端点 |
|---|---|---|
| 创建Web资源 | POST | |
| 更新Web资源 | PATCH | |
| 删除Web资源 | DELETE | |
| 添加到解决方案 | 操作 | |
| 发布 | 操作 | |
| 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 |
| API | 用途 | 适用对象 |
|---|---|---|
| 打开持久化侧边面板 | Web资源、自定义页面、实体表单 |
| 打开内嵌对话框(模态/非模态) | Web资源、自定义页面 |
| 在新窗口/对话框中打开Web资源 | Web资源 |
| 以编程方式打开实体表单 | 实体表单 |
| 显示提示消息 | 系统对话框 |
| 显示确认/取消提示框 | 系统对话框 |
| 从表单JS中查询记录 | Dataverse表 |
| 从表单JS中创建记录 | Dataverse表 |
| 从表单JS中更新记录 | Dataverse表 |
| 从表单JS中删除记录 | Dataverse表 |
| 获取当前活跃的BPF | 表单流程 |
| 切换BPF | 表单流程 |
| 导航BPF阶段 | 表单流程 |
| 监听BPF阶段变更 | 表单流程 |
| 从RESX中获取本地化字符串 | Web资源 |
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.mdresources/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