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
john2john2 

Display message on detail page after saving the record

Hi Friends, 

i need to display a message "create child record" on top of the detail page after user save the record.

 

please help me out its urgent....

kiranmutturukiranmutturu

whether it is custom detail page or standard detail page?

 

if it is custom page the u can use <apex:pagemessage>

 

or u need to write a home page component script to acheive this....

SFDC_EvolveSFDC_Evolve

Please elaborate your requirement . 

 

 

Thanks 

SFDC_Evolve

bvramkumarbvramkumar

If it is std. detail layout on which you want to show the message, you could create a simple VF page that shows "Create child record" message when CreatedDate == LastModifiedDate of that object. Then include that VF page in layout at the top under a new section. The logic is whenever  a new record is created CreatedDate and LastModified Dates are same. If you do this in VF component, you can have it independently regardless of std/custom detail.

Aditya312Aditya312

Hi John have u got any solution for this, plz rep ASAP