You need to sign in to do that
Don't have an account?
Alexhoran
Custom Button Help
I am looking for pointers to create a button that would do the following:
When clicked several fields are updated in the record the button is in:
Current User Name is entered into one field
That days Date is entered into another
And a check box is made true
But I cannot find any examples of how I would do this - can anyone point me towards some examples of this? (I will be doing this for leads but an example for any type of record would be fine, as it would translate easily to a lead).
Thanks - Alex
Alex,
You should be able to do this with either a s-control if you are using Enterprise or with a custom link for all editions. If you are enterprise edition and have some experience doing JavaScript or similar language then you could do it this way. Doing this with a custom link would require some custom link and form manipulation experience. Custom link information can be found at: (you may have to change the na1 to your server which can be found in your organizations URL)
https://na1.salesforce.com/_ui/training/help/pub/UserEdSolution?id=501300000000GaC&retURL=https%3A%2F%2Fna1.salesforce.com%2F_ui%2Ftraining%2Fhelp%2FCombinedSearchPage%3Fstr%3Dcustom%2Blink%2Bcreate%2Brecord&ps=1&orgId=00D000000000062
https://na1.salesforce.com/_ui/training/help/pub/UserEdSolution?id=5010000000001ir&retURL=https%3A%2F%2Fna1.salesforce.com%2F_ui%2Ftraining%2Fhelp%2FCombinedSearchPage%3Fstr%3Dcustom%2Blink%2Bcreate%2Brecord&ps=1&orgId=00D000000000062
For information on doing this with a s-control then you would need to go to http://www.salesforce.com/developer and read up on the API and the assorted information. If you need assistance creating something like this then please let me know here or at my email.
some searching between the forums and the API documentation should give you all you need to write the JS.
if you don't have the Javascript know-how let me know and I might be able to paste something from a button I have created in the past.