You need to sign in to do that
Don't have an account?
Rohit Tripathi
Reload Standard Detail Page from Inline Visual Force Page
Hello,
I am using an inline VF page on a custom object page layout to calculate current location coordinates of user. Inline VF page calls an Apex Class and updates Geolocation fields in Custom Object with current location coordinates. Since it is inline VF page so everything happens behind the scenes. Is there any way to reload the Detail page from where VF page was triggered automatically once it has calculated the current location coordinates.
I am using an inline VF page on a custom object page layout to calculate current location coordinates of user. Inline VF page calls an Apex Class and updates Geolocation fields in Custom Object with current location coordinates. Since it is inline VF page so everything happens behind the scenes. Is there any way to reload the Detail page from where VF page was triggered automatically once it has calculated the current location coordinates.
Have you tried javascript window.parent.href property. If not then it will resolve the issue.
Thanks
Please try below code. I hope that will help you
Please let us know if this will help you
Thanks
Amit Chaudhary
<apex:commandLink value=" Click Here" onclick="window.top.location='/{!accountid}'; return false"/>
Pass the record id and you are all set.