You need to sign in to do that
Don't have an account?
Qin Lu
Create a drill down for a field in visual force page
I have a visual force page based on a custom object. I have include this page as a section in Contact standard page. I need to create a drill down for one of the field to naviage to custom object detail page. The outputlink I put as the following
<apex:outputLink value="/{!fa.ID}">{!fa[field]}</apex:outputLink>
If I do this way, if I drill down, the target view is rendered inside the section in Contact standard page, the URL doesn't change.
If I do the following
<apex:outputLink value="/apex/{!fa.ID}">{!fa[field]}</apex:outputLink>
If I drill down, it navigates to some URL, but the target URL is not right, the URL is https://c.na15.visual.force.com/apex/a04i000000EJYTZAA5.
So value="/{!fa.ID}" is correct, but only specify this as value, it doesn't navigate to out from the contact standard page.
<apex:outputLink value="/{!fa.ID}">{!fa[field]}</apex:outputLink>
If I do this way, if I drill down, the target view is rendered inside the section in Contact standard page, the URL doesn't change.
If I do the following
<apex:outputLink value="/apex/{!fa.ID}">{!fa[field]}</apex:outputLink>
If I drill down, it navigates to some URL, but the target URL is not right, the URL is https://c.na15.visual.force.com/apex/a04i000000EJYTZAA5.
So value="/{!fa.ID}" is correct, but only specify this as value, it doesn't navigate to out from the contact standard page.
All Answers
It will open in a new tab.