触发器中的安全上下文

发布于 2024-09-17 20:06:17 字数 137 浏览 3 评论 0原文

首先我要说的是,我是一名 .net 人员,现在必须在 salesforce.com 世界中发挥作用。

我的问题是这样的;

在预更新/插入触发器的上下文中,我可以设置用户(触发器触发时更新对象的用户)在其页面布局上没有的字段值吗?

I'll start of by saying that I'm a .net guy having to play in a salesforce.com world right now.

My question is this;

Within the context of an pre-update/insert trigger can I set the value of a field that the user (the user that is updating the object when the trigger fires) does NOT have on their page layout?

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

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

发布评论

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

评论(1

小猫一只 2024-09-24 20:06:17

是的。

但是,由于字段本身的限制,用户可能仍无法修改该字段。如果是标准对象,可以进入设置>应用程序设置>定制。然后选择有问题的对象并转到“字段”链接。您可以在其中查看对象上的每个字段并查看字段级安全性。

Yes.

However, the user might still be restricted from modifying that field due to restrictions on the field itself. If it's a standard object, you can go to Setup > App Setup > Customize. Then choose the object in question and go to the "Fields" link. There you can see each field on the object and view the field-level security.

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