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
umesh1234umesh1234 

Friends I am stuck in visualforce Page for Default Tab?

Description:
I have 1 visualforce page that page i linked to Visualforce Tab.
in that VF i have 4 out putlink if i click one link that tab will go to "HOME" Tab same thing happened for all Link.
I wanty to stay in that VF Tab Only..
 
Lokesh KumarLokesh Kumar

Can you please share the link URL which is present in output link.
Thanks !

Hemant_JainHemant_Jain
Put the attribute tabstyle in <apex:page> tag, see below example:
 
<apex:page controller="Test" tabStyle="VFTabName__tab">

Append your VF page tab name with __tab and try. Let me know if this works.
umesh1234umesh1234
<apex:page sidebar="false">
<apex:tabPanel >
<apex:pageBlock  >
            <apex:pageBlockSection title="Earnings Reports  " columns="1">
            
            <apex:outputLink value="https://c.na40.visual.force.com/apex/MyEarningsandTargetIncentive" id="theLink1">My Earnings Vs Target Incentive</apex:outputLink>
            
            <apex:outputLink value="https://c.na40.visual.force.com/apex/FridayEarningcomparisionrep" id="theLink">Earnings Comparision Report</apex:outputLink>
            <apex:outputLink value="https://c.na40.visual.force.com/apex/EarningDetails" id="theLink28">Earnings Details Report</apex:outputLink>
            <apex:outputLink value="https://na40.salesforce.com/00O46000000L9BU" id="theLink28e">My Earnings By Credit Category</apex:outputLink>
             <apex:outputLink value="https://na40.salesforce.com/00O46000000MY5y" id="theLink28ew">Credit Details Report</apex:outputLink>
            
            </apex:pageBlockSection>                
        </apex:pageBlock>
 </apex:tabPanel>
</apex:page>

 
umesh1234umesh1234
This is my page attaching to my Visualforce tab..
if i click first or any link tab will redirect to HOMe