function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
SFQuestSFQuest 

How to get tasks to open in new window using modified buttons

Hello, I want my task buttons (Log a Call/Send An Email/Etc) to open up the task in a new window. My users need to refer to the opportunity for information while filling out their tasks. Do I need to modify a standard, create a new button or change a setting to accomplish this? Any suggestion would be helpful. I have only created one SControl, so still a novice with the coding portion.

 

Thanks!

Best Answer chosen by Admin (Salesforce Developers) 
shillyershillyer

You can create a new detail button with this URL:

 

/{!$ObjectType.Task}/e?who_id={!User.Id}&what_id={!Opportunity.Id}

 

And set the button behavior to "Display in new window"

 

Hope that helps,

Sati

Message Edited by shillyer on 06-02-2009 03:37 PM

All Answers

shillyershillyer

You can create a new detail button with this URL:

 

/{!$ObjectType.Task}/e?who_id={!User.Id}&what_id={!Opportunity.Id}

 

And set the button behavior to "Display in new window"

 

Hope that helps,

Sati

Message Edited by shillyer on 06-02-2009 03:37 PM
This was selected as the best answer
SFQuestSFQuest
Thanks! This did enable me to open a task in a new window. Have a great day!