触发器中的安全上下文
首先我要说的是,我是一名 .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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
是的。
但是,由于字段本身的限制,用户可能仍无法修改该字段。如果是标准对象,可以进入设置>应用程序设置>定制。然后选择有问题的对象并转到“字段”链接。您可以在其中查看对象上的每个字段并查看字段级安全性。
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.