Skip to content

Instantly share code, notes, and snippets.

@sankaran1984
Created February 22, 2017 17:59
Show Gist options
  • Save sankaran1984/31fbbafca3a1abad886592a9308153d7 to your computer and use it in GitHub Desktop.
Save sankaran1984/31fbbafca3a1abad886592a9308153d7 to your computer and use it in GitHub Desktop.
Visualforce beyond basics
<apex:page standardController="Opportunity">
<button onclick="top.location.href = '/{!Opportunity.Id}'">
Click here to refresh
</button>
</apex:page>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment