SharePoint 任务字段依赖关系

发布于 2024-09-08 12:09:22 字数 163 浏览 0 评论 0原文

我有一个任务列表,其中一个字段是对列表中另一个任务的引用,另一个字段是布尔值。

任务的布尔值为 false。我希望布尔值依赖于相关任务的布尔值。

除非将另一项更改为 true,否则一项不可能为 true。 某种亲子关系。

知道如何做到吗?

谢谢你,

I have a list of tasks and one of its fields is reference to another task in the list, and another field is boolean value.

the boolean value of the tasks is false. I want the booleans to be dependent on the related task's boolean value.

One can't be true unless the other one is changed to true.
Sort of Parent-Child Relationship.

Any idea how it can be done?

Thank you,

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

眼中杀气 2024-09-15 12:09:22

我会选择 ItemUpdating 事件接收器,并在尝试保存项目时显示错误消息。当然,这不是最人性化的解决方案。
另一种方法是开发自定义是/否字段并将逻辑包含在其代码中,有点棘手,但更好

I would go for ItemUpdating event receiver and show an error message when trying to save the item. Of course, it is not the most user-friendly solution.
The other way is to develop a custom Yes/No field and include the logic in its code, a bit more tricky, but much nicer

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文