您在此处:
动态表单中的必填和只读字段
在基于动态表单的 Lightning 页面中使用时,通用必填字段会保留状态。但仅对您正在处理的页面,您可以将其他字段设置为必填或只读。
在基于动态表单的 Lightning 页面中使用时,通用必填字段会保留状态。但仅对您正在处理的页面,您可以将其他字段设置为必填或只读。
| Lightning 应用程序生成器适用于:Salesforce Classic(并非在所有组织中可用)和 Lightning Experience |
| Lightning 页面和动态表单适用于:Lightning Experience 和 Salesforce 移动应用程序 |
适用于:Group、Essentials、Professional、Enterprise、Performance、Unlimited 和 Developer Edition |
通用必填字段是,在对象管理器的字段定义中设置为“必填”的字段。必填值在 Lightning 应用程序生成器属性面板的字段属性中不可编辑。此外,一些标准字段(例如创建人、上次修改人、所有人和记录类型)的必填或只读状态无法在 Lightning 应用程序生成器属性面板中更改。
对于在页面布局上标记为必填或只读的字段,其状态将在迁移到基于动态表单的页面时保留。
在字段选项板的通用必填字段部分中,您可以找到页面的所有通用必填字段。对于您在页面布局级别或 Lightning 应用程序生成器中设置为必填项的字段,将不会显示在选项板的通用必填字段部分中。
请确保在您的 Lightning 页面上包含用于创建或编辑记录的通用必填字段。这些字段不会自动添加。如果页面中缺少通用必填字段,并且缺少的必填字段没有值,用户无法在编辑、创建或复制记录后保存记录。
请勿使用可见性筛选器隐藏通用必填字段。如果任何通用必填字段中缺少值,即使这些值被可见性规则隐藏,用户也无法保存记录。

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.