公告板
版本库
filestore
活动
搜索
登录
刘成
/
OlyMEBG
派生自
OlyMEBG
概况
提交次数
目录
文档
派生
对比
blame
|
历史
|
原始文档
007接口
付煜
2022-03-31
f26297c82c7ea74fa34043fc6ddb032bcf37997e
[~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);
}
}
}