You need to sign in to do that
Don't have an account?

Assign To Me
Hi All,
Could anyone help me out, i am trying to create a button called "Assign To Me" for Cases.
So that i dont need to go into the "Edit" of a record to assign it to me.
This would be allot quicker.
Thanks in Advance
Jake Maskell
You could use this as a base. It's not that hard, just make the button set the OwnerId of the case to your user ID. The button in that link does it on lists, but you can trivially modify it to work on an individual case detail record.
All Answers
Thanks but i need some sort of button so that when i am on a case detail view i press to assign it to me.
Kind Regards
Jake
On the Case Detail page there should be a field "Case Owner." There should be a link next to it to "Change" Owner.
This affectively re-assigns the ownership to whoever is selected.
I dont think you quite understand what i meen.
What i need is a button that i can click on to assign the case to me ( Here is a screenshot )

Thanks A lot for your help
Jake
the reson for the button is to make it quicker.
Thanks
You could use this as a base. It's not that hard, just make the button set the OwnerId of the case to your user ID. The button in that link does it on lists, but you can trivially modify it to work on an individual case detail record.
Sorry to dig up an old post but I'm trying to do the exact same button as the OP but that link doesn't work. Can someone please help?
I would guess that the code would look something like this but I'm afraid to try it as I don't want to mess things up:
{!REQUIRESCRIPT("/soap/ajax/13.0/connection.js")} var records = {!GETRECORDIDS($ObjectType.Case)}; var newRecords = []; if (records[0] == null) { alert("Please select at least one row") } else { for (var n=0; n<records.length; n++) { var c = new sforce.SObject("Case"); c.id = records[n]; c.OwnerId = User.Id; newRecords.push(c); } result = sforce.connection.update(newRecords); window.location.reload(); }