Questions tagged [case-comment]
The case-comment tag has no usage guidance.
44
questions
-1
votes
0
answers
29
views
Implement AutoSave feature in Salesforce [closed]
I want to implement Auto Save feature in the comment tab of Case in Salesforce. That means, whenever a user is writing a comment in any case, rather than clicking on the Save button, it should ...
1
vote
1
answer
29
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:/...
0
votes
1
answer
233
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 ...
0
votes
1
answer
152
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, ...
0
votes
0
answers
24
views
No Coverage for CaseComment Trigger
I have a Trigger on CaseComment Object in my Org which has only one line of Code in It to call a static method from another apex class. But the trigger has 0% coverage. I have written a test Class to ...
0
votes
1
answer
34
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?
0
votes
1
answer
179
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 ...
0
votes
0
answers
170
views
Add Case Comment using Flow
The Case object in my instance is configured to flip-flop between Statuses based on Inbound and Outbound Emails. For example, when an agent sends an email to a Contact via a Case, the Status ...
0
votes
1
answer
57
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 ...
0
votes
3
answers
131
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 ...
0
votes
3
answers
441
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 ...
0
votes
1
answer
795
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" ...
0
votes
1
answer
37
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 ...
3
votes
0
answers
81
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 ...
0
votes
0
answers
84
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 ...
0
votes
1
answer
515
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: ...
1
vote
2
answers
798
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-...
2
votes
1
answer
1k
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 ...
3
votes
1
answer
556
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/...
0
votes
1
answer
246
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 ...
0
votes
1
answer
314
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 ...
2
votes
1
answer
598
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 ...
0
votes
1
answer
223
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 ...
0
votes
1
answer
900
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
-2
votes
1
answer
1k
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 ...
0
votes
1
answer
82
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 ...
0
votes
0
answers
853
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/...
0
votes
1
answer
561
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?
1
vote
1
answer
1k
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 ...
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 ...
0
votes
1
answer
2k
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 ...
0
votes
1
answer
333
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 ...
0
votes
1
answer
81
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 ...
0
votes
1
answer
866
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 ...
0
votes
1
answer
2k
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 ...
1
vote
1
answer
222
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.
...
0
votes
1
answer
310
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 ...
1
vote
1
answer
413
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 ...
1
vote
1
answer
516
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?
0
votes
2
answers
439
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.
0
votes
2
answers
545
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 ...
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) {
...
1
vote
1
answer
329
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 ...
4
votes
2
answers
2k
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.