1

I have a custom VF page in a section in the Lead layout.

The page is showing a table with specific information. enter image description here

When I clink on the link I expected to see an account record page.

The link is not a tag in the VF page.

What happens instead is the account record is displayed inside the section.

enter image description here

How to avoid the account record displayed in the Lead section.

When click on the link, how to redirect to the account record page?

  • 2
    Can you add the custom link code as well? – Reshma Jan 25 at 9:23
3

you have to set attribute target="_top"

<apex:outputLink value="https://www.salesforce.com" target="_top" id="theLink">www.salesforce.com</apex:outputLink>

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.