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
RamboRambo 

Passing values to Standard Fields through URL

Hi,

 

I have a requirement wherein I need to prepopulate the Due Date field on tasks[Created from an Opportunity] by the current date. I have overrridden the New button of tasks with an S-control. 

 

It would be helpful if you could help me in pre-populating the due date field with the current date.

 

 

 

Best Answer chosen by Admin (Salesforce Developers) 
Rakesh Aggarwal.ax1406Rakesh Aggarwal.ax1406

You can try this - https://na9.salesforce.com/00T/e?who_id=00QE000000BWBfI&tsk4=7/13/2012&retURL=%2F00QE000000BWBfI where tsk4 is the id of input control and 7/13/2012 is the prepopulated value you want to set.

 

Let me know if this works.

 

Rakesh Aggarwal

http://www.rakeshaggarwal.com/

All Answers

Rakesh Aggarwal.ax1406Rakesh Aggarwal.ax1406

You can try this - https://na9.salesforce.com/00T/e?who_id=00QE000000BWBfI&tsk4=7/13/2012&retURL=%2F00QE000000BWBfI where tsk4 is the id of input control and 7/13/2012 is the prepopulated value you want to set.

 

Let me know if this works.

 

Rakesh Aggarwal

http://www.rakeshaggarwal.com/

This was selected as the best answer
RamboRambo

Rakesh,

 

 

That was cool!!! It worked..Thanks..

 

Similarly is it possible to also prepopulate Subject field?

s_rubdis_rubdi

Hi - I was interested in your solution but unable to view.  Could you please re-post or contact me directly?

 

Thanks,

Shalom

Rakesh Aggarwal.ax1406Rakesh Aggarwal.ax1406

You can try this - https://na9.salesforce.com/00T/e?who_id=00QE000000BWBfI&tsk4=7/13/2012&retURL=%2F00QE000000BWBfI where tsk4 is the id of input control and 7/13/2012 is the prepopulated value you want to set. Let me know if this works.