Questions tagged [case-comment]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
-2 votes
1 answer
219 views

update date time field for last case comment on case

In a record triggered flow, how do I update a date time field on the case called Date/time Last Comment when a new case comment is made?
Dov's user avatar
  • 1
0 votes
2 answers
322 views

How to get attachments and inline attachments for CaseComment via Rest API?

I have a Salesforce instance using the old CaseComments instead of a Chatter feed. How do I get attachments and inline attachments to a CaseComment via Rest API? I can get the CaseComments to a Case ...
Erik's user avatar
  • 1
0 votes
1 answer
783 views

Is there a direct link between CaseComment and FeedItem records?

Trying to find a way to link FeedItem records to the CaseComment they are related to. Have a Lightning Component pulling in Case information, but failing to find a reliable way to relate the replies ...
Tim Hunter's user avatar
2 votes
1 answer
681 views

Any workaround/Add on for html in case comment section

Currently there is no way we can input html, images in case comment section, but is there any add-on/apps available in salesforce to achieve it? Already this been asked in idea stack exchange : https:/...
Emmanuel Angelo.R's user avatar
0 votes
2 answers
1k views

Trouble adding Case Comments Update using Flow

I'm having a difficult time getting my Flow to update the comment section on a Case. I'm looking to build a flow that allows users to transfer cases and leave a comment as to why. I am able to get the ...
Jordan DeLoach's user avatar
0 votes
2 answers
1k views

How to debug a flow that is triggered after creation of a CaseComment?

Something is not going right in my flow and it's not crashing, so I don't get an e-mail with a trace. But if I want to debug my flow, the dialog asks me to select a CaseComment. Which is impossible, ...
Sander de Jong's user avatar
0 votes
1 answer
87 views

How customer email responses will be saved on CaseComment? What will be the CreatedBy name on case comment?

Basically, I have a question on how customer replies are stored in case comment? I wanted to know what it will show in Created By field?
Jagadeesh's user avatar
0 votes
1 answer
884 views

Impossible SELF_REFERENCE error when merging cases

I have a process (built with process builder), which triggers on case comments that are created (not modified). There are no triggers, workflows or flows on case comments. I merge two cases, neither ...
Sander de Jong's user avatar
0 votes
1 answer
169 views

Process builder: case owner never equal to current user?

My process starts with this condition on a CaseComment: What it should do: start an action only when the logged in user is not equal to the owner of the Case to which the CaseComment belongs. But ...
Sander de Jong's user avatar
0 votes
3 answers
357 views

Unable to retrieve workflow rule from case comment object

I have created a new workflow rule for Case Comment object. When trying to retrieve from org browser getting this error "Cannot read property 'split' of undefined" and when i tried to ...
Emmanuel Angelo.R's user avatar
0 votes
3 answers
1k views

cannot view the entire text in Case comment

I am trying to include the case comments related list on one of the case page layout. I can view the entire comment in classic interface but on lightning if it click view All in the Case comment ...
user81642's user avatar
  • 667
0 votes
1 answer
2k views

How to read full case comment in Salesforce Lightning?

On the Salesforce Lightning Case page, I can see the last 3 comments in the right shelf with the full comment body but when trying to read older comments, I click into the "Case Comments" ...
Grokify's user avatar
  • 245
0 votes
1 answer
81 views

Code Coverage for Case Comment Trigger

I have a trigger where when a case field called Macro is updated, it creates a case comment accordingly. I'm trying to get code coverage, I only get 21%, and I can't seem to get the following lines ...
staci's user avatar
  • 37
3 votes
0 answers
433 views

CaseComment object - isPublished field causing error on Save

I am building a LWC that displays Case Comments and also allow users to create new Case Comments. I am having a lot of issues with isPublished on record insert. For some reason it is giving me the ...
Bobbygllh's user avatar
  • 731
0 votes
0 answers
152 views

Report Type to Capture Email of Users who made a Case Comment

Is it possible create a report type of the comments made by a user capturing their email instead of their name? In the default "Cases" report type, there are the Case Comment Created By and Case ...
S.B.'s user avatar
  • 2,071
0 votes
1 answer
864 views

How to make a case comment as private in community?

SCenario1: whenever i add case comment and leave the make it public checkbox as unchecked, it created as public only. Is there any way to avoid it by configuration? user is a partner user. Scenario2: ...
chandu's user avatar
  • 1
1 vote
2 answers
1k views

Hyperlink in the case's comment

I am using the following Salesforce API to generate a case comment. POST /services/data/v39.0/sobjects/CaseComment HTTP/1.1 Host: *******.my.salesforce.com Content-Type: application/json cache-...
Raul Junc's user avatar
2 votes
1 answer
2k views

Object that is used for Case Feed comments

I'd like to create a trigger that fires every time a user, either internal or an external community user, comments on a case. Here is my comment I do know that the CaseFeed object is used because ...
Tyler Zika's user avatar
  • 2,882
4 votes
1 answer
661 views

How to specify comment case owner

I am new using salesforce and I already created my case, and now I need to create comments from customer and customerSupport(both), but when I try to specify that in soap API like this: https://xxxx/...
user63305's user avatar
1 vote
1 answer
733 views

Add new Case Comment through Email

Is it possible to add email response as new case comment? When an internal user comment on the case the customer receives an email. I want that When the customer replies to that case comment email, a ...
Saumya Gaikwad's user avatar
0 votes
1 answer
377 views

Email-to-Case Premium with custom object

I'm having a custom object called "Case_Comments__c" which performs the same functionality as standard case comments does. I'm planning to install Email-to-Case Premium this month. I know E2CP will ...
retro_geek's user avatar
2 votes
1 answer
1k views

Exporting Related Object Records - Bulk Api / DataLoader

I am looking to export only case comments and notes related to particular standard and custom objects. Ex: All CaseComments for cases of a particular record type. All notes for a custom object with a ...
S.B.'s user avatar
  • 2,071
0 votes
1 answer
316 views

Create a record in 'Email to Case Premium' in Salesforce using an API call

I am working on a solution where we have an 'Email to Case Premium' or E2CP app added to our Case object in Salesforce. I would like to programmatically create a record in E2CP with Salesforce API ...
theITvideos's user avatar
0 votes
1 answer
1k views

Increase the character length of Comments in Case Comment

Is there a way to increase the character length of Case Comments according to the latest release ? I know this was not possible few years back. Is it still the case? thanks
steamyfire's user avatar
-2 votes
1 answer
2k views

Save Case Comment in lightning component

My requirement is to save case comment in customer portal. I have three lightning components in one single page. One of the component is case detail component. When I try to save comment from ...
Asha Swamy's user avatar
0 votes
1 answer
361 views

How to filter only last reply from total email thread

I have a requirement to update case comments based on email responses from Emailmessage. I created a trigger on email message working well.But, now it is creating case comments of an email with whole ...
Pavan tej's user avatar
  • 1,460
0 votes
0 answers
2k views

Casecomment public and published

What is the difference between public and published? There is a checkbox for public but according to the docoumentation https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/...
Tim Willis's user avatar
0 votes
1 answer
780 views

case comments by default published community

when a portal user is adding comments isPublished is by default setting to true.Why is this happening any idea?
lovesh's user avatar
  • 13
1 vote
1 answer
2k views

How can I delete the case comments of others given in my case

I have to delete the comments provided by other users in a case which is owned by me (Myself is the case owner). Is there a way or permission I need to have to delete those comments. I cant find where ...
ram135868's user avatar
1 vote
1 answer
2k views

Salesforce API for getting all case comments from Case ID

I am new to Salesforce and using its API for getting comments. I am getting resource id like of Case, Feed or Idea I need to get its CaseComment, FeedComment, and IdeaComment. I am requesting Resource ...
Jainam Mehta's user avatar
0 votes
1 answer
3k views

How can I add a Case Comment to a case with email-to-case?

I've tried multiple things, but I can't seem to add Case Comments to my cases through Email-to-case. At the moment I have done the following: Enabled email-to-case and added a routing address in ...
Javier García Manzano's user avatar
0 votes
1 answer
383 views

How to write test class for the CloseComment Test class?

How to write Test Classes for the below Trigger. trigger CloseComment on CaseComment (before insert) { for (CaseComment t: Trigger.new) { Case c = new Case(Id = t.ParentId); c = [SELECT ...
user4567570's user avatar
  • 1,616
0 votes
1 answer
184 views

Is there a way to walk back on a CaseComment query to filter by AccountId?

I don't believe this is possible other then doing a nested query but I wanted to double check with everyone in case I was missing the boat. SELECT Id, CommentBody, CreatedDate, ParentId, CreatedById ...
Olivia's user avatar
  • 3,461
0 votes
1 answer
1k views

Defaulting case comment as "Public" before save

Is there any way we can default the "Public" checkbox in case comments BEFORE saving? I'd really rather not leave it up to our sales reps to remember to check the box... We currently have a workflow ...
Karleen Mendoza's user avatar
0 votes
1 answer
3k views

Sharing access of Case Comments

In my org, Sharing settings of Case object is "Public Read Only". So only case owner or those users who are part of Case team can edit the case record. All the users have Read, Create, Edit access to ...
Santanu Boral's user avatar
1 vote
1 answer
260 views

How to use JavaScript to override text wrapping on Case Comments

Salesforce doesn't support text wrapping when Case Comments have long strings of text. This means that the Case Page sometimes gets incredibly wide, which makes it difficult to edit / read. ...
Carolyn's user avatar
  • 37
0 votes
1 answer
329 views

Can I create PushTopic on CaseComment

I am trying to create a pushtopic to listen to the CaseComment object. Typed the following in the ApexExec: PushTopic pushTopic = new PushTopic(); pushTopic.Name = 'CaseCommentTopic'; pushTopic.Query ...
Sandhya Kripalani's user avatar
1 vote
1 answer
603 views

Show link in case comment inserted from apex

I have a formula field which returns hyperlink on the Case object. When some conditions are met, I insert a CaseComment with the formula field value in the body of the comment. When I reference the ...
mohammed azarudeen's user avatar
1 vote
1 answer
657 views

How to add Public field to case comment creation layout?

I can't find the Public checkbox on the CaseComment creation page. How can I add it?
Venky's user avatar
  • 634
0 votes
2 answers
540 views

How to over ride the case comment new button to vf page

I want to override the case comment new to visual force page for saving the comment. Is it possible to override the new button ? Please help me out from this. Thanks, Suresh.
Suresh Kumar's user avatar
0 votes
2 answers
758 views

Case comments is updating multiple times

I have a requirement to setup email to case and with specific business criteria. And I need to update case comments for every email record created on case. So, I check the checkbox of Thread-ID and My ...
Pavan tej's user avatar
  • 1,460
3 votes
1 answer
2k views

Trigger on CaseComment

I'm trying to update a boolean field on Case called Boo__c when a new Case Comment is added to the Case and it contains the word boo. trigger OHT on CaseComment (before insert,before update) { ...
Json's user avatar
  • 1,597
1 vote
1 answer
401 views

How can a comment be added to a case from a customer using Salesforce's SOAP API?

I'm attempting to use Salesforce's SOAP API to add a comment to a case from a customer, but I'm getting a Created By ID: id value of incorrect type error when I set the CreatedById to the customer's ...
Cole's user avatar
  • 143
4 votes
2 answers
3k views

Case comments visibility

I am creating case comments for my cases. whould like to know how is case comments visibility is set in salesforce? is it based on the parent case. or just the IsPublished field.
SFDC_MJ's user avatar
  • 635