You need to sign in to do that
Don't have an account?
Suresh Raghuram
Hi Community,
I have a Vf page embeded on the standard account page.
In Vf page I am displaying the list of partner records. I provided the the partner name with the hyper link.
Up to here it is going fine when i click on the link it is opening a the partner record. on left click opening in a new tab.
The same thing when it comes to Salesforce1 mobile app.
When i click on the partner link it opens the whole vfpage with the list of all partner records.
Does any one came acrosss this and if so, please share the solution how you overcome this.
Thanks,
Sure
open an account when a link in the embeded Vfpage clicked.
Hi Community,
I have a Vf page embeded on the standard account page.
In Vf page I am displaying the list of partner records. I provided the the partner name with the hyper link.
Up to here it is going fine when i click on the link it is opening a the partner record. on left click opening in a new tab.
The same thing when it comes to Salesforce1 mobile app.
When i click on the partner link it opens the whole vfpage with the list of all partner records.
Does any one came acrosss this and if so, please share the solution how you overcome this.
Thanks,
Sure
<base target="_parent" />
That should force the links in your embedded page to open in the parent.
Regards,
Jim Hutcherson
I tried that and it doent work for me.
Here is my code, can u suggest where can i tweek it to get the solution.
<apex:pageBlock id="pageblock" >
<apex:outputPanel >
<apex:column >
<apex:facet name="header"> <apex:commandLink value="{!$Label.P_Partner}" action="{!clickAccount}" /> </apex:facet>
<!-- <apex:commandLink onclick="openpage('{!prt.AccountToId }');" > {!prt.AccountTo.name} </apex:commandLink> -->
<a href="../{!prt.AccountToId}" target="_parent"> {!prt.AccountTo.name}</a>
</apex:column>
<apex:column >
<apex:facet name="header"><apex:commandLink value="{!$Label.P_Role}" action="{!clickRole}" /></apex:facet>
{!prt.role}
</apex:column>
</apex:pageBlockTable>
</apex:outputPanel>
<apex:pageBlock>
In browse this is working as a normal link but in mobile app.
It is doing as follows.
When i click on that link it opens a vf page with all the list view of records that are already shown in the embeeded vfpage page on account.
after clicking on the link one more time in the list view of vf page it opens the new browser window .
Thanks,
Sure