公告板
版本库
filestore
活动
搜索
登录
刘成
/
OlyMEBG
派生自
OlyMEBG
概况
提交次数
目录
文档
派生
对比
blame
|
历史
|
原始文档
打印维修委托书的页面和后台类修改
涂煌豪
2022-03-23
69186fc45df2899e84a1114188929fdebc6d79f9
[~liucheng/OlyMEBG.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);
}
}
}