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
SirishaMSirishaM 

Page Header

Hi,

I want to change the header name of a page I created . I used PageReference to create the page using the URL.
Can anybody please tell me how to change the header of a page ?

Thanks,
Sirisha

mtbclimbermtbclimber
What do you mean by "header"? Perhaps you could post the code you are using and describe what you expect there to be which may seem to be missing.
SirishaMSirishaM
ok..

I created a PageReference using the URL
https://na5.salesforce.com/002/e

-->
Code:
PageReference secondPage = new PageReference('https://na5.salesforce.com/002/e');
secondPage.setRedirect(true);
secondPage.getParameters().put('parent_id',ApexPages.currentPage().getParameters().get('id')); secondPage.getParameters().put('retURL',Page.assignmentsubmissionpage.getURL()+'—id='+asub.Id); return secondPage;


which is same for all note edits under NOTESANDATTACHMENTS section


This is working perfectly fine.But when I go to the page it displays NOTE Edit page.
I want to change that header in the page. Is that possible thru Visual force ?

Thanks,
Sirisha