Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何使用 lotusscript 或公式将值从父级传递给响应?
您不一定需要编写代码。只要您选中了“继承字段值”表单属性,如果您突出显示或打开“父”文档,然后选择创建对其的响应,该响应将在指定字段中继承父字段值。例如,如果您的父文档有一个Subject字段,并且您在您的响应表单中创建了一个计算时组合字段,例如,OriginalSubject使用公式Subject,您的响应字段将在创建时从父文档继承其值。
Subject
OriginalSubject
这当然是一个用户界面功能。如果您在后端创建响应文档,那么您需要将父项中的字段值显式写入响应。