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

Redirection issue.


- There is relation parent object serial number and entitlement (one as to many).
- when you go to detail page of the serial number it shows entitlement related list.
- This related list is replaced with VF page to show filtered entitlements.
- now when i go to serial number detail page it shows me entitlements correctly but issues is when i click link of the entitlment
   it opens in VF page only (in a small section) and it dosent go to parent serial number and refresh the whole page. 
   This embadeded VF page dosent recognize it's parent.

Please suggest ASAP.Also put your email address there in the post for future communication.
Thanks in advance for your reply 


I am in doubt if you could achieve it. As you are using inline visulforce page so there you can use javascript to reload the parent but there is a situation, browser cross origin policy can prevent you to accessing the parent frame (cross origin policy). Visualforce  url is like: and standard detail page url is So both are different url.

you can try this:

Redirect from controller side by setting setRedirect(true) and in commanlinkbutton set target to _top.

Hope this helps.