You need to sign in to do that
Don't have an account?
Anu Raj.ax1269
Closing task on lead without going to task page
I want to close the task on lead list page without going to task page an close. I just want to close the task by clicking cls link in front of created task. Please guide me, how can i do this.
Hi Anu,
1.) cls is standard link provided by saleforce,you can't play with it.
2.) If I understand correctly,you want to change the status of task to be completed.There are couple of ways of doing it :
a.)You can create a custom button and can have custom JS code to change the status to completed
b.)You can create a controller class and you can have a custom method to update the statu to be completed.
Create a custom button on task
Dipaly type = list button
Behaviour = execute javascript
Content source = onclick javascript
Paste the following code
Goto leads page layout
Click on the wrench icon of the activities related list
Click on the buttons panel
select the button you created above, click on OK and you should have this button on the leads page and you can select the tasks to be closed using checkbox and hit the close task button.
This would close all selected tasks
Thanks Prady-cm,
It helped alot............
Please who was created this post, mark Prady-cm post as a Best answer, it would help others.
Thanks
Ranjith