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

VF Page within Detail page to refresh other section of the page

I have a VF page segment on my Contact detail page that is used to add notes to my "Notes__c" field in a standard format (with a time/date/author tag).  There is a text area, and a save button that adds this new note to the end of the notes field for the contact.  I would like the button to also update the notes field in the Contact detail to reflect these new notes, but since the Notes field is outside of the VF page segment, I can't figure out how to access it to refresh.


I would like to avoid putting the notes field within the VF page segment, as that would prohibit it from expanding when more notes are added.


Thanks for any suggestions. 

I don't think that you can do this, as the VF page comes from a different server to the standard page.  Thus it will be down to the browser as to whether a script in the VF page can take control of the parent (standard) page.  Most browsers will disallow this, as it is cross site scripting and is a security risk.