You need to sign in to do that
Don't have an account?
Sisodia Saurabh
Need solution to open VF page in new tab
Hi All,
I want to implement a functionality in which when user click on Item it should display information in new Tab instead of new page.
My scenario description:
Name First Name Last Name Phone NoStart Date DOB Prog Lang
Emp-0034 Runthistime
<apex:column headerValue="Name" >
<apex:outputLink value="/apex/Emp_DisplayForm?id={!a.id}"> {!a.name}</apex:outputLink>
</apex:column>
On click of Emp-0034. it opens item in my custom Emp_DisplayForm as new page. But I want it to be open in new tab?
Thanks.
Srb
I want to implement a functionality in which when user click on Item it should display information in new Tab instead of new page.
My scenario description:
Name First Name Last Name Phone NoStart Date DOB Prog Lang
Emp-0034 Runthistime
<apex:column headerValue="Name" >
<apex:outputLink value="/apex/Emp_DisplayForm?id={!a.id}"> {!a.name}</apex:outputLink>
</apex:column>
On click of Emp-0034. it opens item in my custom Emp_DisplayForm as new page. But I want it to be open in new tab?
Thanks.
Srb
Just mention target="_blank" with your apex:outputLink tag.
You can try like below.
I want to create a tab in same Page and open Emp_DisplayForm in it.
I think I have to use apex:tabpanel and switchtype = Ajax.
But I am not able to implement it. Not able to connect the activation of apex:tab on outputlink click.
Hope this below code will help you.
Please do not forget to mark it as solved if this helps you.Thanks!!!