XML/HTML 文件未在表单属性下列出

XML/HTML file not listed under Form Properties

我是 Dynamics 365 的新手,正在尝试以某种特定实体的形式进行一些自定义。当我(在表单属性中)寻找主 HTML/XML 文件时,我无法找到它,因为只有 js 相关文件。是否有任何其他位置可以找到我想要的文件。 谢谢

HTML 不可用。通常您使用表单编辑器自定义表单,例如拖放。在 Dynamics 365 中,您实际上无法获得编辑页面原始 HTML 的选项。

如果您愿意,可以编辑 FormXml,但我相信这只会为您提供与通过表单编辑器提供的选项相同的选项。要获取 FormXML,您要么导出包含表单的解决方案,要么通过 CRM 网络服务进行查询。然后,您必须反转该过程以重新导入它。表单属性中没有此选项。

Editing FormXml

FormXml is used to define entity forms and dashboards. The form editor and dashboard designer in the application are the most commonly used tools for this purpose. Editing the customizations.xml file is an alternative method.

Access form definitions

Entity forms are stored in the SystemForm entity along with dashboards and visualizations. There are two ways that you can inspect the form definitions for an entity:

  • Include the entity in an unmanaged solution and export the solution.

  • Query the SystemForm entity