visualforce - Custom Task button "Log a Phone Call" in salesforce.com -


i'd create custom task button create new activity or task , default subject , custom field "activity.type__c" "phone call" when clicked.

i got far defining button, need pointers on content source , actual code should be.

sample code and/or links tutorials appreciated!

you need set url button have parameters ids matching fields on page, , values. so, @ id of custom field in html, it'll 18 character string (e.g. 00nd0000003iyoe). set in url ?00nd0000003iyoe=phone%20call. note: i'm using %20 space.


Comments

Popular posts from this blog

Javascript line number mapping -

linux - Mailx and Gmail nss config dir -

c# - Is it possible to remove an existing registration from Autofac container builder? -