Skip to main content
Hello! I am trying to create a custom Event button on the Activity history related lists called "Log a meeting" that will function similarly to the "Log a call" button, except open an event instead of a task. My URL below functions fine for the Lead and Account pages, however I am having the following two issues:

 

/00U/e?who_id={!Lead.Id}{!Contact.Id}&what_id={!Opportunity.Id}{!Account.Id}&retURL=%2F{!Lead.Id}{!Opportunity.Id}{!Contact.Id}{!Account.Id}

 

1. Contact page: the button opens a new event with the Account and Contact populated, but the return gives an error message (the return URL appears to be including both the Account and Contact IDs)

 

2. Opportunity page: the button does not work and gives an error message that the what_id is either too long or has an unacceptable character

 

I am not a Developer, this is my first attempt at this, and I've gotten this far on trial and error. Help!

 

Thank you

 

Celia
2 个回答
  1. 2012年2月17日 22:57
    Thanks, werewolf! I thought I might be trying to squeeze too much into one URL... is there a function I need to use to identify the URLs within the Javascript, or identify that I want the URLs to be opened?

     

    Thank you

     

    Celia
0/9000