when viewing a standard SFDC page, the title starts with "object name: name record name" (second tab in the screenshot attached). when viewing a skuid page, the title equals "salesforce.com - Enterprise Edition" (first tab in the screenshot). i'd like to override the tab title for skuid pages to match the format of the standard pages.
here's the visualforce page:
<apex:page action="{!redirect}&page=LeadDetail" extensions="skuid.Redirects" standardController="Lead">
here's the visualforce page:
<apex:page action="{!redirect}&page=LeadDetail" extensions="skuid.Redirects" standardController="Lead">
</apex:page> any ideas?

-
734 Points
Posted 4 years ago
Rob Hatch, Official Rep
-
44,168 Points
Will, try VF code that looks like this:
<apex:page standardController="Lead" extensions="skuid.Redirects"
showHeader="true" sidebar="false" readonly="true" docType="html-5.0"
action="{!IF(canUseSkuid,'',redirect)}" title="{!Lead.Name}">
<skuid:page page="LeadDetail" />
</apex:page>
<apex:page standardController="Lead" extensions="skuid.Redirects"
showHeader="true" sidebar="false" readonly="true" docType="html-5.0"
action="{!IF(canUseSkuid,'',redirect)}" title="{!Lead.Name}">
<skuid:page page="LeadDetail" />
</apex:page>
(Edited)
-
1,724 Points
This doesn't seem to work with Page Assignments (I have different Skuid pages displayed for different Record Types).
In my Visualforce Page, I use this:
<apex:page standardController="Case" extensions="skuid.Redirects"
action="{!redirect}?objectType=Case&actionType=view"
</apex:page>
What should I use as my action if I want to rename the tab? Seems like the "action" part of the below if the problem:
<apex:page standardController="Case" extensions="skuid.Redirects"
showHeader="true" sidebar="false" readonly="true" docType="html-5.0"
action="{!IF(canUseSkuid,'',redirect)}" title="{!Case.Subject}">
</apex:page>
In my Visualforce Page, I use this:
<apex:page standardController="Case" extensions="skuid.Redirects"
action="{!redirect}?objectType=Case&actionType=view"
</apex:page>
What should I use as my action if I want to rename the tab? Seems like the "action" part of the below if the problem:
<apex:page standardController="Case" extensions="skuid.Redirects"
showHeader="true" sidebar="false" readonly="true" docType="html-5.0"
action="{!IF(canUseSkuid,'',redirect)}" title="{!Case.Subject}">
</apex:page>
Rob Hatch, Official Rep
-
44,168 Points
Yes it is possible. Just set up a VF override page as shown above, with the tab style and info properties you want. Then make your tiles link to this VF page, or to the object/action item you use it to override.
-
1,724 Points
Hi Rob,
I'm revisiting this issue - to recap:
- I'm able to set the browser tab name by using the code your provided, but it messes up any page includes on the main page. I re-read your comment about using the "Page Assignment" type of page include - I'm not using that, and am still having the issue. I also tried just adding a title to my VF page (title="{!Case.Subject}"), but that has no affect on the browser tab.
Just wondering if you have any new thoughts on this. I realize the work-around may be to reproduce the content of my page include in the main page, but it's complex and I use it elsewhere...I'm worried about scalability when I need to edit it.
Thanks for any thoughts you have on this!
I'm revisiting this issue - to recap:
- I'm able to set the browser tab name by using the code your provided, but it messes up any page includes on the main page. I re-read your comment about using the "Page Assignment" type of page include - I'm not using that, and am still having the issue. I also tried just adding a title to my VF page (title="{!Case.Subject}"), but that has no affect on the browser tab.
Just wondering if you have any new thoughts on this. I realize the work-around may be to reproduce the content of my page include in the main page, but it's complex and I use it elsewhere...I'm worried about scalability when I need to edit it.
Thanks for any thoughts you have on this!
-
1,724 Points
Hi Rob,
I'm revisiting this issue - to recap:
- I'm able to set the browser tab name by using the code your provided, but it messes up any page includes on the main page. I re-read your comment about using the "Page Assignment" type of page include - I'm not using that, and am still having the issue. I also tried just adding a title to my VF page (title="{!Case.Subject}"), but that has no affect on the browser tab.
Just wondering if you have any new thoughts on this. I realize the work-around may be to reproduce the content of my page include in the main page, but it's complex and I use it elsewhere...I'm worried about scalability when I need to edit it.
Thanks for any thoughts you have on this!
I'm revisiting this issue - to recap:
- I'm able to set the browser tab name by using the code your provided, but it messes up any page includes on the main page. I re-read your comment about using the "Page Assignment" type of page include - I'm not using that, and am still having the issue. I also tried just adding a title to my VF page (title="{!Case.Subject}"), but that has no affect on the browser tab.
Just wondering if you have any new thoughts on this. I realize the work-around may be to reproduce the content of my page include in the main page, but it's complex and I use it elsewhere...I'm worried about scalability when I need to edit it.
Thanks for any thoughts you have on this!
-
1,724 Points
In case anyone is running into this same issue - I finally figured it out. Key details:
- Follow this tutorial, particularly the "Prerequisites" part. You need to create local copies of three of the VF pages in the Skuid package, or page includes won't display properly.
- This part of the VF code - action="{!IF(canUseSkuid,'',redirect)}" - does not reference page assignments, so if you need to render different pages for different situations, you need to add logic to the skuid:page VF component, like this: <skuid:page page="{!IF(Account.Type='Patient','SkuidPatientDetail','')}"
Related Categories
-
Overrides and Implementation
- 34 Conversations
- 41 Followers
Will Soupcoff