You need to sign in to do that
Don't have an account?
Sunster
IFrame P3P Issue in VF Page navigation
I am having a problem with my navigation inside of a custom page layout. Here is a little background.
- I have created a new Lead Page Layout
- I have created a new Section on that Page Layout
- Inside the section I have included a new Custom VF Page that displays some data
Here is the problem:
- Salesforce loads the custom VF page into an IFrame.
- Therefore when I select a link that is displayed in the custom section that I have created, It loads the selected navigation into the section instead of into the browser window. Obviously, this is a P3P issue.
Some things that I have tried:
- Added a script tag to check the window location with the top location.
- Modified the script tag to load the location of the JavaScript top object.
Is there a solution for this, or would anyone have a better approach to this issue. I'm not sure how I can add the appropriate P3P header information to a VF page.
Any help here would be appreciated.
Whenever I have come across this, I've rendered all my links as <apex:outputLink target="_top" value = 'blah' />
All Answers
Whenever I have come across this, I've rendered all my links as <apex:outputLink target="_top" value = 'blah' />
Scoobie, Thanks for giving us newbs the simple answers. It works well!
Sunster