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

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. – Alois Paprika Apr 15 '16 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 '16 at 8:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.