You need to sign in to do that
Don't have an account?
Angela Hunter
Visualforce Page Save button not working
Hi,
I created my first VF page and placed it in a VF section on the Opportunity page layout. When I click to save, the page refreshes and shows me all of the apex source code. I can't seem to figure out the best course of action to have the page reload with the saved values on the screen. When I click on the save button in this VF section of the oppty, ?inline is added to the end of the URL. If I remove that, the source code goes away and I'm returned to the original page. What do I need to do to get this save working properly? Would a retURL do the trick?
Thanks!
I created my first VF page and placed it in a VF section on the Opportunity page layout. When I click to save, the page refreshes and shows me all of the apex source code. I can't seem to figure out the best course of action to have the page reload with the saved values on the screen. When I click on the save button in this VF section of the oppty, ?inline is added to the end of the URL. If I remove that, the source code goes away and I'm returned to the original page. What do I need to do to get this save working properly? Would a retURL do the trick?
Thanks!
I hope the issue was resolved by turnoff the check box called "developer mode" at user level. Is it right ?
if not please post the solution here and mark it as best answer so it might be helpful for others.
Thanks and Regards,
Sai Krishna Tavva.
All Answers
Are you using standard controller in VF page?? If not please use standard controller.
Regards
Abhilash Mishra
Can you post the code to debug it. Also post a screenshot of the error message/Apex code displaying when click on "save" button.
Thanks and Regards,
Sai Krishna Tavva.
I hope the issue was resolved by turnoff the check box called "developer mode" at user level. Is it right ?
if not please post the solution here and mark it as best answer so it might be helpful for others.
Thanks and Regards,
Sai Krishna Tavva.