公告板
版本库
filestore
活动
搜索
登录
刘成
/
OlyMEBG
派生自
OlyMEBG
概况
提交次数
目录
文档
派生
对比
blame
|
历史
|
原始文档
Merge branch 'PIPLFunctionDeployProd0331'
Li Jun
2022-03-31
843f41fdaf41c0f8178f8f6b391f17a880423e2e
[~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);
}
}
}