Hi everyone - I’ve created a Skuidifed page that I will be using as a sub-tab on the Chatter Profile page. I need to pass the user ID parameter from the Profile to my Skuid models. Salesforce documentation says this re: user ID parameter: User ID Parameter—sfdc.userId=rUserID] The profile will always pass sfdc.userId=rUserId] to all child tab pages excluding Webtabs, which require configuration by the administrator due to security constraints. This is the ID of the profile subject user (i.e. not the context/viewing user). http://help.salesforce.com/help/pdfs/en/salesforce_profile_tabs_cheatsheet.pdf My model’s condition is looking for Contact records (really just one Contact record) where the value of the “Salesforce User” (or pse__Salesforce_User__r.Id … or just pse__Salesforce_User__c) field on the Contact record is the User ID of the User whose Profile page is currently being viewed. I can’t get the sfdc.userId parameter to pass through to my page. I realize that the skuid page is being pulled in as an iframe:
<iframe class="profileMainFrame profileMainContent" data-url="https://c.na12.visual.force.com/apex/SKAdminEmpFileChatter?sfdc.tabName=01rU0000000DeqS&sfdc.userId=005U0000001Qxn4&" frameborder="0" id="profileTabContentFrame_Admin_Emp_File" name="profileTabContentFrame_Admin_Emp_File" onload="SfdcApp.Chatter.ProfileTabSet.handleTabContentLoad(this.parentNode.getAttribute('data-id'));" src="https://c.na12.visual.force.com/apex/SKAdminEmpFileChatter?sfdc.tabName=01rU0000000DeqS&sfdc.userId=005U0000001Qxn4" title="Admin Emp File" data-loaded="loaded" data-initialized="initialized"></iframe>
This is the visualforce page:
<apex:page standardController="Contact" extensions="skuid.Redirects" action="{!redirect}?page=AdminEmployeeFile"> </apex:page>