有没有办法在 Dynamics 365 CRM 的 bulkEdit 表单上启用 Javascript?

Is there a way to enable Javascript on bulkEdit form from Dynamics 365 CRM?

批量编辑表单中的多个必填字段未显示。该字段的标签出现在表单上,​​但文本框不出现。我认为发生这种情况是因为我们有针对该字段的 运行 脚本。我尝试编辑 customizations.xml 并放置 BehaviorInBulkEditForm = "Enabled" 但它不起作用。还有其他方法可以启用 javascript 吗?

我建议远离不受支持的自定义,这些自定义最终会在未来的更新中崩溃。

如果值得,则将所有逻辑移动到 post-update 或 pre-update 插件,这是防故障服务器端实现而不是客户端 js 路由。

根据 Form XML schemaBehaviorInBulkEditForm 属性出现在 <event> 元素上,注意不要将它放在其他地方。

根据 Microsoft KB 949941,有效值为:

Enabled
If you use this value, the field is enabled. Additionally, the code for the event is run when the event is called.

Disabled
If you use this value, the field is disabled.

EnabledButNoRender
If you use this value, the field is enabled. However, the code for the event is not run when the event is called.