Search Community
- Force.com Discussion Boards
- :
- Salesforce User Discussions
- :
- Best Practices Discussion
- :
- Create Salesforce buttons (was: Creating Hyperlink...
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Re: Creating Hyperlinks that fit into the UI: using "buttons"
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
09-04-2006 09:34 AM
Re: Create Salesforce buttons
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
10-15-2006 06:59 PM
Re: Create Salesforce buttons
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
02-07-2007 07:43 PM
Specifically, I am trying to pass a field from an Opportunity (the Opportunity Name) to a Lookup field on a custom
object (the Opportunity field on my Ticket object) which references Opportunities.
with a URL custom button I am able to bring up an edit version of the custom object. I can't learn how to append the
url to pre-populate fields. Your explanation is below with my notatons and questions in Red:
HYPERLINK("a0C/e?retURL=%2Fa0F"&{!Id}&"&CF00N50000
This:
1. Launches another custom object in edit mode (Note:
"a0C/e?retURL=%2Fa0C%2Fo" in the above formula is URL of my target
custom object in edit mode);OK, I can get this far. You don't explain what the {!Id} does above. Must I
include this? Would I use the Opportunity_ID from standard Opportunity object? 2. Passes the name of the source custom object to a lookup on
field on the target custom object
(&"&CF00N50000001M7fJ="&{!Name}&"). Note: This links
the two records together. You first have to create a look-up field on
the target custom object for this to work;
3. Passes information to other fields
("&00N300000019UAH="&{!Discovered_By__c}
&"&00N300000019UCP=Office Inspection",) Note: The 16 digit
alpha-numeric (I think you mean 15 digit, right?)above is the Salesforce.com ID for these fields. You can
locate by going to setup and and clicking on the field in the custom
object in the Build section. The field ID will be in your browser
address line. For source field, use SF.com field ID. For target
field, use the actual field name; and
You say to use the field ID for the source field, which can be found in the custom object Build
URL. But my source field is a standard object field (Opportunity Name). When I try to find a 15 digit alph-numeric in the address bar there is gobledy **bleep**. For the target field, do I use the field merge? would I use the field merge name from the source (Opportunity) or target (Ticket) 4. The information after IMAGE points to a web button image I loaded into the documents object. (IMAGE("https://na1.salesforce.com/servlet | ||
|
10-15-2006 06:59 PM Thanks in advance, I'm going crazy here Finky |
||
Re: Create Salesforce buttons
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
04-12-2007 06:32 AM
- I then go to the Buttons and Links section for object I am coming from and click on the New button to bring up the editor.
- Next enter the code for the object you want to populate (to add a new case - "/500/e?")
- Then add the field you want to update - "cas4" for Account name followed by an "="
- Then use the Insert Merge Field to get the code for the field you want the data to come from
- Lastly if you want to pass more than one paramentor use the"&" key.
Here is how it would look if I wanted to pass the Account Name, Contact Name, and a custom field titled Client Number (on the Account object) to a case
/500/e?cas4={!Account.Name}&
cas3={!Contact.Name}&
00N30000001gbgC={!Account.Client_Number__c}
For more information please see the following links
example
https://na1.salesforce.com/501/e?retURL=%2F501%2Fo
message board discussion
http://community.salesforce.com/sforce/board/messa
recommended site: http://www.slideshare.net/dreamforce2006/scontrols
Kevin
Re: Create Salesforce buttons (was: Creating Hyperlinks that
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
08-29-2007 06:04 PM
Re: Create Salesforce buttons
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
06-27-2008 10:53 AM
Re: Create Salesforce buttons
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
06-28-2008 09:04 PM
Lead Log call button within list view
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
11-13-2008 07:49 AM
Re: Lead Log call button within list view
[ Edited ]- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
11-25-2008 12:31 PM - last edited on 11-27-2008 08:34 AM
New Lead field, type Formula (Text)
Name: Create Task
Formula: HYPERLINK("/00T/e?title=Call&who_id="&Id&"&followu
Go to a List View and add the new field called "Create Task" to the list of columns showing.
This will open a new window with a new, completed task assigned to the Lead from whose line you clicked the link. If you want to change the subject line to "LVM" or some other text, change the "title=Call" portion to something else, using %20 to add a space (like "title=Left%20a%20Message" )

Message Edited by NikiV on 11-27-2008 08:34 AM
Re: Lead Log call button within list view
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
11-27-2008 02:13 AM
Niki, thats fantastic, got it working :-) do you know if there is anyway I can make this a button next to each record? Not a single button at the top of the list view...
Thanks again this is a great help.

