when a portal user is adding comments isPublished is by default setting to true.Why is this happening any idea?

1 Answer 1


Documentation for isPublished fields says:

Indicates whether the CaseComment is visible to customers in the Self-Service portal (true) or not (false).

It is a desired behavior as the flag would be on for community user.

For internal users it is optional because; internal users working on case would not want community users to know about certain discussions via case comments.

  • thanks for the update.I saw the documentation but it does not say that when a portal user enters the case comments,it will be published even if i did not check the published checkbox.Correct me if i am wrong.
    – lovesh
    Commented Jan 4, 2018 at 14:24
  • looks like when a comment is posted from portal is defaults to public, you have to write a update on trigger.
    – cartman
    Commented Oct 2, 2019 at 20:02

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .