You need to sign in to do that
Don't have an account?
chriscwharris
Default record when opening TAB
I want to create a visualforce page that is associated with a TAB. When I click the TAB I want to open a specific record based on the currently logged in user. There will be a "User Profile" custom object that has the USER as the owner or as a lookup field.
My initial thinking was using SOQL to lookup on the profile with the !$user to get the ID of the Profile Custom record but that would require me writing the VF page with a custom controller I imagine and my VF and APEX skills are still basic.
I realise that I can pass the ID in the URL if I am opening the page from a button for example and was hoping I could do something with that but I don't want to have to open some other page and click a button to get to the record I want displayed, I just want to click the TAB and have "My" record displayed.
Any thoughts?
My initial thinking was using SOQL to lookup on the profile with the !$user to get the ID of the Profile Custom record but that would require me writing the VF page with a custom controller I imagine and my VF and APEX skills are still basic.
I realise that I can pass the ID in the URL if I am opening the page from a button for example and was hoping I could do something with that but I don't want to have to open some other page and click a button to get to the record I want displayed, I just want to click the TAB and have "My" record displayed.
Any thoughts?