公告板
版本库
filestore
活动
搜索
登录
main
/
lightningupdate
概况
操作记录
提交次数
目录
文档
派生
对比
blame
|
历史
|
原始文档
耗材页面调整收货 部分回寄 分配画面 查看默认分配 明细上传图片用
zhangqian
2023-07-14
0ed68606b55b104680447ec99750f22d885b226b
[lightningupdate.git]
/
force-app
/
main
/
default
/
triggers
/
CheckChatterPosts.trigger
1
2
3
4
5
6
7
trigger CheckChatterPosts on FeedItem (before insert) {
for (FeedItem f: trigger.new) {
if (f.parentId == Userinfo.getUserId()) {
f.addError(System.Label.Error_ChatterPostToMyFollowers);
}
}
}