You need to sign in to do that
Don't have an account?
Yash Rathod
You have uncommitted changes to this VisualForce page. This preview will show the most recently committed version of this page, not your current changes.
Hi,
I've created a Visualforce page which shows a basic Contact record using standard controller. Below is the code:
<
But, when preview it after saving, everytime it prompts " PAGE NOT SAVED. You have uncommitted changes to this VisualForce page. This preview will show the most recently committed version of this page, not your current changes." Also the preview page is blank.
I would like to know what is missing here. I am not able to solve it.
I've created a Visualforce page which shows a basic Contact record using standard controller. Below is the code:
<
<apex:page standardController="Contact"> <apex:pageBlock title="COntact Summary"> <apex:pageBlockSection> $A.get("e.force:navigateToURL").setParams( {"url": "/apex/pageName?&id=0037F000007xdK4QAI"}).fire(); First Name: {! Contact.FirstName} <br/> Last Name: {! Contact.LastName} <br/> Contact Owner's Email: {! Contact.Owner.Email} <br/> </apex:pageBlockSection> </apex:pageBlock > </apex:page>
But, when preview it after saving, everytime it prompts " PAGE NOT SAVED. You have uncommitted changes to this VisualForce page. This preview will show the most recently committed version of this page, not your current changes." Also the preview page is blank.
I would like to know what is missing here. I am not able to solve it.
Hi Yash,
Please try the below piece of code which is working fine for me. Hope this helps.
Please mark this as solved if it's resolved.
Thanks,
Nagendra