Here's the code for the button. This code is for the Lead object. Customizing it for other objects is cake. Just set the targetURL to match the appropriate object Id. In the Lead example below, it's set to "{!Lead.Id}"
Click on Setup | Customize | Leads (adjust this accordingly) | Buttons and Links | New
Label: Login as Owner
Name: Autofilled (Login_as_Owner)
Display Type: Detail page Button
Behavior: Display in New Window
Content Source: URL
Link Code:
/servlet/servlet.su?oid={!Organization.Id}&suorgadminid={!Lead.OwnerId}&retURL=%2F005%3FretURL%3D%252Fui%252Fsetup%252FSetup%253Fsetupid%253DUsers%26setupid%3DManageUsers&targetURL=/{!Lead.Id}
Click on Setup | Customize | Leads (adjust this accordingly) | Buttons and Links | New
Label: Login as Owner
Name: Autofilled (Login_as_Owner)
Display Type: Detail page Button
Behavior: Display in New Window
Content Source: URL
Link Code:
/servlet/servlet.su?oid={!Organization.Id}&suorgadminid={!Lead.OwnerId}&retURL=%2F005%3FretURL%3D%252Fui%252Fsetup%252FSetup%253Fsetupid%253DUsers%26setupid%3DManageUsers&targetURL=/{!Lead.Id}
Readers are always admiring informational blogs, and this is truly one of them. You did a great job. If you want to enhance writing skills, Sourceessay.com based assignment writer is the best solution for you. Phd thesis Melbourne
ReplyDelete