Skip to main content The new Salesforce certifications experience is live! Visit Trailhead Academy to explore your new certifications homepage.
I'm trying to create a quick button "Sent LinkedIn Request" and am close but I'm having trouble setting the "Type" picklist to something.

 

I checked: http://forcebydesign.com/wp-content/uploads/2012/08/Niks-PDF-SFDCIDs.pdf

 

But couldn't find the 'Type" under Tasks

 

Here's the example URL I've been playing around with:

 

/00T/e?followup=1&title=Call&retURL=%2F{!Contact.Id}&tsk2_lkid={!Contact.Id}&tsk3_lkid={!Account.Id}

 

&tsk5=Left+Voice+Mail&tsk6=Left+a+voicemail+for+{!Contact.Name}

 

&tsk5_fu=Follow+Up+On+Voice+Mail&{!Type}=Call

 

Don't know what to use for Type or value (number or txt, etc)

 

http://screencast.com/t/Gola7JJ3PBqS
4 answers
  1. Oct 2, 2013, 4:06 PM
    Hey Douglas,

     

    So lets do it! First go to the Edit Page of Tasks and then as follows:

     

    1. Right-click on the 'Type' field's Text Box and select 'Inspect Element'.

     

    Hey Douglas, So lets do it! First go to the Edit Page of Tasks and then as follows: 1. Right-click on the 'Type' field's Text Box and select 'Inspect Element'. 2.

     

     

    2. From the Console Window, find the Id attribute and select the value in the Id attribute.

     

    User-added image

     

     

    3. Now use the 'tsk5' in the URL like this tsk5= bla_bla . In your case it will be somethin else since we are looking to the Type field. I guess Type is a Custom Field so you may be having a 15-digit Alphanumeric Value.

     

    Hope that helps!

     

     

    Best,

     

    Deepak
  2. Oct 2, 2013, 4:12 PM
    Hi Douglas,

     

    Try tsk10 if you're using the standard Type field. 

     

    Chris
  3. Oct 2, 2013, 8:36 PM
    Follow-up question(s)

     

    1) How do I get it to select Lead or Contact under 'Name?  Using tsk2_mlktp=Lead doesn't seem to work I would love to have it dynamic in that it would pick either contact or lead depending on where I clicked.

     

    2) Another piece if when I Click save it throw me back to the main screen not back to the lead/contact.  Where in the URL is that defined?

     

    Thanks!!
  4. Oct 2, 2013, 7:55 PM
    Thanks for the help (both of you!)
0/9000