function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Yaman NeamehYaman Neameh 

Create New Comment

Hello everyone

I would like to add new comment in Comments tab (not in Feeds tab), I am able to get all comments using:

SELECT Case__c,Comment__c,Id FROM RequestComments__c WHERE Case__c = '5000Q00000PwT5JQAV'

how should the body look like if I have the case id?

https://###/services/data/v47.0/sobjects/Case/5000Q00000PwT5JQAV
{"RequestComments__c" :"New Comment"} -> this doesn'T work
{"RequestComments__c":{"Comment__c":"New Comment"}} -> this doesn'T work

Thank you
Yaman Neameh

SwethaSwetha (Salesforce Developers) 
HI Yaman,
Can you clarify what you are trying to achieve? Are you trying to parse the REST response? Thanks
Yaman NeamehYaman Neameh
Hi Swetha
I would like to add new Comment in a Case (in Comments tab not in Feed tab, where Case id is known).
Thank you
Yaman

 
Moira GalateaMoira Galatea
Actually sometimes I don't understand the script too well. Your question looks really helpful. I expanded my knowledge on this topic geometry dash lite (https://geometrydashlite.co/)