You need to sign in to do that
Don't have an account?
ChrisMcL
help settings field - custom help - s-control - who called me?
I am setting up our custom help links "help for this Page" for our custom objects. I am creating a s-control that provides context-specific help based who called this scontrol. Any way to find out who called me? Since the help screen opens up in a new window I thought I could use window.opener.url to parse for the calling object, but SF doesn't seem to be using standard ways to open the new help window because window.opener is null. Any ideas?
James Wikkerink
Municipal Software
{!$User.FirstName} {!$User.LastName} {!$User.ProfileId} {!$User.UserRoleId} {!$UserRole.Name}
When editing your s-control, choose "$User" from the "Select Field Type" picklist just above the "Content" section, then view the entire list from the "Insert Field" picklist.
If you have a large number of users, your context-based help could be determined by the user profile/role.
Hi,
I notice that the help for this page links have a parameter in the javascript query string called "Section" which appears to show the context of help that is requested.
Sean
From here, I could match against an object ID (example: /a03), or a record ID (/a03xxxfxxxxxxxxx), a list view (/a03?fcf=00Bxxxxxxxxxxxx), an edit page (/a03xxxxxxxxxxx/e), an assignment page (/a03xxxxxxxxxxxx/a), etc. Hope this helps.