On a tab override specific to a profile, tab not selected

  • 1
  • Problem
  • Updated 4 years ago
We are overriding the homepage and had no problems making it work as the organization default. However, now that we have created a few homepages that are specific to a profile, the tab is not showing as selected. I found an old topic with a similar issue (https://community.skuidify.com/skuid/topics/on_tab_override_tab_not_selected), but my settings are correct. I feel like it has something to do with the fact that it is specific to a profile... but, I am too new to Skuid to know if that hunch is true.

Photo of Sarah Hughes

Sarah Hughes

  • 454 Points 250 badge 2x thumb
  • confused

Posted 4 years ago

  • 1
Photo of Rob Hatch

Rob Hatch, Official Rep

  • 44,006 Points 20k badge 2x thumb
If you are using the standard home page components and layouts - but wrapping the skuid page in a VF component,  you should see the Home Tab highlighted. 

Are you doing something different to show skuid on the home page? 
Photo of Sarah Hughes

Sarah Hughes

  • 454 Points 250 badge 2x thumb
Sorry, I should have clarified. This is for the Projects tab, which is a custom object.

I actually have different home pages for different profiles and the tab is showing as selected just fine for those.
(Edited)
Photo of Rob Hatch

Rob Hatch, Official Rep

  • 44,006 Points 20k badge 2x thumb
Aha... that is very different. 

So you made a custom object.  Probably  "Project__c"

Then you create a few Skuid pages for it.  Each had "Project__c" in the "Tab to Override" property. 


(My object was "Client__c")

Then your visual force override code should look like this: 


<apex:page readOnly="true" docType="html-5.0" standardController="Client__c" recordSetVar="c">
    <skuid:page actiontype="Tab" objecttype="Client__c"/>
</apex:page>

You might be using the redirect method for your override, which would be slightly different.  

<apex:page standardController="Client__c" recordsetvar="c" extensions="skuid.Redirects"
action="{!redirect}?objectType=Client__c&actionType=Tab">
</apex:page>

 See more about that here: http://help.skuidify.com/m/page-assignments-and-overrides/l/102659-overriding-pages-overview-and-che...
         
And finally - your page assignments should look like this: 




Hopefully that makes things work for you. 
Photo of Sarah Hughes

Sarah Hughes

  • 454 Points 250 badge 2x thumb
Everything has been setup that way... I just double-checked. I had been following instructions here: http://help.skuidify.com/m/page-assignments-and-overrides/l/102660-overriding-tab-and-list-actions-d...

Am I missing something? Entirely possible as the eyes are getting tired over here!



(Edited)
Photo of Pablo Martinez

Pablo Martinez

  • 2,468 Points 2k badge 2x thumb
You can put the Label  of the tab in the Tab to Override, Can you try to put "Projects" instead of "Project__c"
Photo of Rob Hatch

Rob Hatch, Official Rep

  • 44,006 Points 20k badge 2x thumb
Hmm, we are a little stumped.  

Would you mind giving us login rights to your org so we can take a look at what is going on?   Here is how: 

1. Use this tutorial to give us login rights: http://help.skuidify.com/m/getting-started/l/182412-getting-help-how-to-grant-skuid-login-rights-to-...

2. Then send an email to support@skuidify.com  with your org Id and the name of the page where the problem is happening. 

We'll see if we can find out what's going on...