Create custom buttons and links to integrate Salesforce data with external URLs, applications, your company’s intranet, or other back-end office systems.

learn more… | top users | synonyms

0
votes
0answers
11 views

Task Creation for a case

I am trying to create a task from waiting button. I am able to open task creation page using the following Javascript... ...
0
votes
1answer
19 views

Custom Button doesn't work in my Custom Object profile

I've attached a custom button to my custom object page layout, that redirects the user in a visualforce page, but when I log in, as a particular user, The system redirects me to an error page that ...
0
votes
1answer
26 views

How to get the selected records from the related list?

I have custom object and which is a lookup to Quote. 1)I have created a "MassEdit" list button on the related list (Child object). 2) I am unable to retrieve the records (Child records) from the ...
0
votes
0answers
12 views

Cannot see visualforce page in the content source drop down

I have created a visualforce page but can't see it in the content source drop down when creating New list Button for a custom object . Please help!.
0
votes
1answer
34 views

Choose record type based on picklist value

I have a custom object Cov__c and I have a picklist on that object Risks_c. I have another custom object Address__c, which is a child of Cov__c. I have two record types for Address__c because I need ...
0
votes
1answer
9 views

How does the EDIT ALL button works in quotelineitem object

Can any one help me out.How does the EDIT ALL button works in quotelineitem object .When we click on the "EDIT ALL" button it gives the available records present to Edit and Save.Im in a similar ...
0
votes
1answer
25 views

Detail button doesn't show up on detail page

I have created a detail button which, when clicked navigates to the create new object page. It is defined as follows: * Display Type: Detail Page Button * Behaviour: Display in New Window * Content ...
2
votes
1answer
59 views

Can we get the existing records of a related list,by clicking on a ListButton

I have an custom object named Competitors and it has a look up relationship to Quote . Created a custom button as "Edit All" and displayed it on related list..The functionality of the button should ...
2
votes
1answer
84 views

how to create a custom button for a custom object on a related list

I have an custom object and it has a look up relationship to Quote .Now i would like to create a custom button as "Edit All" and display it on related list..The functionality of the button should be ...
1
vote
1answer
45 views

Custom List buttons Supported in Salesforce1?

Custom List buttons(buttons on the related list) not showing up in Ipad(Salesforce 1 app). I see there is a knowledge article from salesforce which says Custom Buttons are only supported in ...
1
vote
1answer
38 views

How do I create a button that modifies a field, saves the record, and returns to the detail page?

I need to add two buttons to the Opportunity page, one labelled "Close Opportunity (Won)" and "Close Opportunity (Lost)". Previously I know this was available by URL hacking the opportunity page, but ...
1
vote
1answer
20 views

Conditional Checkbox to change following field type

I have a requirement where by I would like to have a field type following a checkbox change to a Master-Detail Relationship if the checkbox is check. E.g Employee Visitor (tick as ...
1
vote
2answers
93 views

Custom Button to Update Child Records

Can someone point me to a code sample that does the following: I want to update a custom field on all the account related contact records called relationship__c from a button on the parent account ...
1
vote
0answers
20 views

How to measure the time to create a record in the UI?

I need to measure the time it takes since the user clicks on the "New" button until the record is saved. I only need to measure this for cases and on the standard page layout in the Salesforce ...
0
votes
1answer
124 views

Create custom Clone button for Quote object

I have created a custom Clone button for the Quote object to clone a quote and update the record type of the new quote. The button clones the quote with the current Record Type of the record it is ...
1
vote
0answers
55 views

Add new record, then add master-detail record on save

I have a master-detail record that works like this: Contact > ContactEmail > Email (based on this many-to-many document: ...
0
votes
2answers
64 views

Javascript Button - Add picklist values - Output to text area

I have about 8 picklists, half of them have values of 0 or 0.5 and the other 0 or 1 or 2. I'm trying to develop a button that will add all the values of these picklists together (picklist + picklist + ...
1
vote
1answer
68 views

in Salesforce1, How to create “specific object button” that redirect to a lightning page with is object as parameter

I'm developping an application usable in salesforce1. I'm embedding a complex html screen that would manage data about a custom object in a lightning app/component To access this screen, I would like ...
0
votes
1answer
53 views

Displaying image on custom button in Salesforce standard page (not Visualforce page)

Above image is the way i want to do it.Not sure if its possible in salesforce. The circle is the image and beside that text will be displayed. Please help !!!
1
vote
1answer
54 views

Trouble deploying from Eclipse - test and code classes

I am new to this community and using eclipse but have gotten the basics down. I am trying to create a button on our lead page to go the next record in the list and have found this post stating ...
2
votes
1answer
93 views

Long Text Area field in javascript custom button

I have a custom button (JavaScript) which copies the Description field from Event to my custom Object like this: summary.Discussion_Topics__c = '{!Event.Description}'; Both fields are of Long ...
1
vote
1answer
178 views

OnClick Javascript Button if statement

I have this custom button that is working var cw = window.open('/apex/CreateSample?scontrolCaching=1&id={!Servicio__c.Id}', 'Crear Muestra', "height=450,width=600"); (function detectUnload() { ...
1
vote
1answer
59 views

List button with a URL hack to prepopulate custom “assigned” field

I'm working on a custom button to appear on a list view for a custom object, and hitting a roadblock. I've tried a few different variations but keep getting a little sad Javascript icon instead of the ...
0
votes
1answer
74 views

On click Javscript on Custom Button

I have a related list ( custom object ) on Opportunity record. When I click on New button of the custom object from the related list of the opportunity , I want to check the value of some field on ...
2
votes
0answers
67 views

Javascript in custom button

I create a custom button with the send email features, so if the margin<0.4) show alert, than can't send the email. I create the button but doesn't work, Somebody can help me? Thanks a lot. ...
1
vote
1answer
45 views

Custom link uses hard-coded ids

I am working on a client org, and it uses hard-coded ids in a custom button/link which are pointing to Account (sobject) fields. This particular detail page button is going to create "New Contact" ...
3
votes
1answer
101 views

Javascript get field ids for URL

I'm trying to replicate the "New" button on a related list. The only difference is that, if a record of that type already exists, then it simple returns an alert. Otherwise the "New" activity should ...
1
vote
1answer
82 views

Deleting rows in a list

I have a queue setup that users can add cases to before submitting them. I currently have it so that they can type the row number of the case they want to delete; however, I need to make it so that ...
2
votes
0answers
72 views

How to lock the Attach button on custom object record Notes & Attachments related list once the record get closed (Approved/Rejected)?

Now my business users can delete and attach another file even after the custom object record got approved/rejected. So they were asking for a way to lock the "Attach" button which is listed under ...
2
votes
0answers
54 views

Email button (emailauthor.jsp) results in “The page you submitted was invalid for your session”

About 1 month ago my email button stopped working. Now pressing my 'auto-email' button gives me the email template page with the error "The page you submitted was invalid for your session. ...
-1
votes
1answer
56 views

How to use report result as input to Batch Apex

Let's say I have a report with a specific result. Now i want to process this result in a batch process when the user triggers a order-button/link. Is there a way to have a button on the report page ...
0
votes
1answer
44 views

Custom Button to Validate picklist fields in case Object

I have five picklist fields in case object and one custom button named "Open case".When I click on this button it has to check whether five fields contains values or not.If values are there it has to ...
0
votes
1answer
30 views

Custom Button to validate field values in case object

Can anyone suggest me how to validate field values in case object---for example I have 5 fields and I have a custom button named "Open Case" .When I click on these "Open Case" buttton these button has ...
1
vote
3answers
113 views

Custom button to update a field in case object

Can anyone suggest me how to update a field by using custom button--for example I have a status field in case object and a custom button named Test.If I click on "test"(Custom Button) Status field to ...
2
votes
1answer
70 views

Create a button on custom object that opens a new Event linked to that custom object

I am trying to add a custom button to my custom object. On clicking the custom button, I want to open a new event which has the "related to" field prefilled with the custom object, and the "subject" ...
1
vote
2answers
79 views

Grabbing Parameters From the Salesforce URL using a standard page custom button

im trying to create a Back button on a standard page which will take the user back to a custom visual force page with multiple parameters in the URL, i have brought through the two values i require ...
0
votes
1answer
38 views

Salesforce custom button javascript escaping error

I've noticed that SFDC is not properly escaping some characters in the code it generates to be eval'd when using javascript custom buttons. For instance, say I have an object with a field that ...
0
votes
0answers
80 views

Land on Child Record Create after Saving Parent

I have a Parent child relation, Insured and Insured Coverage. This is not master detail. The goal is to end on a new child record creation screen with the parent lookup field prepopulated after the ...
0
votes
0answers
80 views

When we click on Button it Should generate a PDF FORM with the Ship to and Ship from details

Can anyone help me out with this requirement ?Any help is much appreciated. We do have two Buttons as GeneratePicklist and GenerateInvoice created using Execute Javascript ,ON a detail page button. ...
1
vote
1answer
62 views

I have a requirement where in “onclick” of a button I need to attach all files in Notes & Attachments

I have a requirement where in "onclick" of a button in Salesforce I need to open a new mail in outlook and attach all attachments available in "Notes & Attachments" related list. Is it possible? ...
0
votes
0answers
58 views

List View Multiple Case Owner Update

I have used the below piece of code to select multiple cases from list view and update case owner. But it does not update the owner when I am selecting multiple cases while it works when I select only ...
0
votes
0answers
81 views

Add a button foreach row of a listview layout

In the search result layout of the Product2 module, I need to add a custom button for each row of the listview. The button will execute some javascript, do an ajax call and open a jquery ui dialog ...
5
votes
1answer
210 views

Ajax custom button calling apex method errors out

i have one Ajax custom button {!REQUIRESCRIPT("/soap/ajax/24.0/connection.js")} {!REQUIRESCRIPT("/soap/ajax/20.0/apex.js")} alert("k"); ...
2
votes
1answer
134 views

Custom button URL hack - how to send to specific email address

I tried to send a email from a custom button in opportunity, but I can't send to a specific email, I want send automaticaly when I click in the button. I try this but don't work. I can't send to a ...
0
votes
1answer
144 views

How To Call A Java Class Method from Salesforce

Here I have one custom button in a VIsualforce page and one java class in netbeans, and what I want exactly is that whenever I click on custom button at that time iI want to run that java class. So ...
0
votes
0answers
24 views

Hide custom button from some Listviews [duplicate]

I have a custom button which I want to show on only one ListView of Lead. Currently it is shown on all the list views. How can it be possible?
0
votes
1answer
34 views

Custom Buttons - Pulling through fields to a different record type (But same object)

Within the cases object we have two record types. One for general cases the other for complaints. The button is on the page layout for cases, so normal client support operatives can escalate to ...
1
vote
1answer
64 views

Master field editable on VF page (reparent detail to new master)

I am trying to create a standard clone button type functionality for a custom object which has a master detail relationship with Account and lookup with Contact. On click on the custom button a vf ...
6
votes
2answers
117 views

Javascript Button Issue

Full .js button code: {!REQUIRESCRIPT("/soap/ajax/29.0/connection.js")} {!REQUIRESCRIPT('/resource/' & LEFT(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(TEXT(NOW()),':',''),'-',''),' ',''),10) & ...
1
vote
0answers
160 views

Javascript Error : “cannot read property of Id undefined”

I have a custom button which is using the javascript code given below. I am getting the error that it is not able to get the Id. Please suggest where am in going wrong. "cannot read property of Id ...