I am trying to accomplish the following requirement with URL hacking: "Create an event associated to a parent case with some prepopulated fields"

There are some challenges that I am facing

  • Can the activity record be also saved? (I don't want to end up on edit page)

  • Can the activity dates be calculated like this: Start = [Created date - 20], End = [Activity Created date (time when the button is clicked)]

&evt5=Meeting with a client

1 Answer 1


URL Hacking is not supported by Salesforce. I would suggest you use Publisher actions instead of URL Hacking.

Here are some guides for the same



  • 1
    Thanks for the tip, but the client don't want to use chatter yet so I cannot utilize publisher actions. Apr 15, 2016 at 8:31
  • 2
    Okay, about the answers for your questions. 1) Cannot save the page directly. Unless you use a VF Page (with an action method) with parameters passed. 2) Yes possible. But do check the date formats, thats the tricky part.
    – sfdcFanBoy
    Apr 15, 2016 at 8:34

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .