In a custom object i have a related list called comments. I have to show time at which comment is created and want to show that time stamp next to comment as it was shown in case comment. how can i achieve this?

i'm newbie to salesforce, please help me to achieve this.

  • Welcome to the Salesforce StackExchange and welcome to Salesforce! I tried to be as thorough as possible in the answer below to help you along. Post more questions here if you run into other problems and I am sure others will continue to help. Enjoy the platform and good luck! Mar 20, 2014 at 14:09
  • thank you for your support.... i'll use this platform to improve my knowledge @JesseAltman Mar 24, 2014 at 7:35

1 Answer 1


From what I understand, you are looking to replicate the functionality below:

Case Comments

Unfortunately, you won't be able to replicate anything exactly like this with a normal related list on a custom object. You will need to customize your Comment__c object's related list on the parent object. You can do this through the normal Setup > Build > Create > Objects flow or on the parent object's detail page in the top left hand corner with Edit Layout

Edit Layout

Once on the layout screen, navigate down to the related list to customize it and add some of Salesforce's system fields. Specifically, you are interested in the Created By and Created Date fields.

Comments Related List

Once you set that, your related list should have all of the information you are looking for:

enter image description here

As I mentioned before, this is a slightly different format than the Case Comment but it has all of the same information.

You must log in to answer this question.

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