用于创建自定义视图的公式字段

Formula Field to create custom view

我有这样的场景,例如案例联系人是创建案例的用户。 我想创建当前登录用户等于个案联系人的列表视图。

我在案例对象上添加了创建的公式字段 (CreatedBy$User)。

IF(!ISBLANK(ContactId), IF($User.ContactId == ContactId , "TRUE", "FALSE"), "FALSE")

现在在列表视图中我添加了过滤器:

CreatedBy$User equals TRUE

但它没有显示当前登录用户的案例。

任何人都可以提出问题所在。

The contactId will be populated in the User object if the UserType ( LicenseType on older Api version) is Portal User or any kind of the Portal Licenses.

User-ContactId

您的用户是门户用户吗?如果没有,那么您可能只使用 $User.Id