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

1
vote
1answer
14 views

Why am I getting “Error: Unknown property 'Opportunity_Package__cStandardController.Opp_Package_Rel__c' ” from this Visualforce page?

I am currently in the process of making a system for easily adding packages from a list into our Opportunities. This visualforce page needs to be accessible to use as a list button, but ever since ...
1
vote
0answers
10 views

NA4 Is Splitting - Updating URLs On Buttons And Other Admin-Level Places (not Apex)

Original question related to this: Searching "everything" in Salesforce So there was an answer involving an "ant script", which is no use to me. I am comfortable enough (I thought) ...
0
votes
1answer
14 views

Flow being fired twice when pressing a custom button. By interview.apexp?

I just created a flow that looks up an account and displays a screen to allow the user to enter values in a textbox and select something from a dropdown. It then creates an opportunity using some ...
3
votes
1answer
57 views

JavaScript Custom Button

I am trying to build a javascipt custom button that launches a google hangout and calls with person's phone number on the Lead record. Google has indicated this is what a page with a google hangouts ...
0
votes
1answer
24 views

Why can I not have a custom list button link to this Visualforce page?

I'm currently trying to recreate the the functionality of the "Add Product" list button for Opportunity Products. I understand Visualforce pages need to have their controller set to the object they ...
0
votes
1answer
37 views

Can this be done by clicking just one button? [closed]

Basically, I'm creating a user with specific default settings, I need them to have Group access, Queue Memberships, a specific license, etc.. I just want to know if i can do all this by clicking the ...
-3
votes
1answer
20 views

Picklist of all reports on standard layout [closed]

I must make a research to find if there are any ability to run report from single record(via button or page in details section). Also investigate an ability to place list of records to the default ...
2
votes
1answer
26 views

How to mimic the functionality of the “Add Product” button in within the Product Related list in Opportunity?

I need to mimic the functionality of the "Add Product" button that is shown on the Product Related List within Opportunity. And I need to add it to a related list for my Custom Packages Object I ...
0
votes
1answer
17 views

Attachment in Salesforce

Having an attachment code <apex:pageBlockSection showHeader="false" columns="2" id="block1"> <apex:pageBlockSectionItem > <apex:outputLabel ...
1
vote
3answers
31 views

Need to add a redirect URL to a Custom Button using Javascript

My apologies in advance for being a JavaScript newbie. I just discovered custom buttons could create new related records, and I managed to get that working with no problems. Now, once it's done ...
0
votes
2answers
17 views

How do i revert back an overridden 'Edit' Button on the record detail page?

The standard 'Edit' Button on the detail page of a record has been overridden and routes to a VisualForce Page. I want another 'Edit' button (in addition to the existing one) that allows me to edit ...
0
votes
0answers
21 views

Custom 'p26=' functions

I have created a custom buttom to send an email from a case. The problem that I've found is that I can get cases sent to 2 different email addresses. So when the button is clicked I want it to ...
1
vote
1answer
17 views

Override approval page

I have object MyReports and I generate pdf attachment after data of record is approved. Right now, after approval, I'm handling pdf creation with REST call in trigger, is there way to override whole ...
0
votes
1answer
27 views

Custom Button with JQuery

I have a custom button (which is a list button) and I'm requiring JQuery by the following code: {!REQUIRESCRIPT("//code.jquery.com/jquery-1.10.2.js")} It's working fine! The only problem is that ...
1
vote
1answer
47 views

Adding a button for every record in a related list

I want to add a button which apply a brief update in a record in a related list. As far as I've searched, there is only the possibility of adding a custom button/link in a related list table. ...
0
votes
0answers
26 views

Custom button extension: field update on click

I am trying to create two buttons that inserts Up and Down on a record by clicking a command button. Here is my code so far: VF Page: <apex:form id="votingSection"> ...
0
votes
2answers
33 views

Custom Button: Illegal Token error

I am trying to create a custom button on a detail page that updates a field on the record. Here is my code: {!REQUIRESCRIPT("/soap/ajax/20.0/connection.js")} var newRecords = []; var idLob = ...
5
votes
0answers
122 views

Can I modify the Icon in a Salesforce1 Custom Button accessed Visualforce Page

I have a requirement where a user needs to be able to access a Quote object in Salesforce1, and then navigate to a related Visualforce page for the Quote while still in Salesforce1 on their mobile ...
0
votes
1answer
24 views

How to Run and Email a Report with a Custom Button?

Goal: I would like to have users be able to click a button that will do the following upon click (aka, request): Run Specific Reports Attach Said Reports to a Specific Template Email Said Template ...
-1
votes
1answer
19 views

Recordtype Change Button - Unexpected Token ;

I must have some syntax error I am missing on this button. Am I missing something? Thanks {!REQUIRESCRIPT("/soap/ajax/13.0/connection.js")} var caseObj = new sforce.SObject("Case"); caseObj.Id = ...
0
votes
2answers
77 views

How to change the color of the button when pressed? Help

How to do it through javascript?
-1
votes
1answer
39 views

Updating checkbox with a custom button [closed]

I am trying to have a custom button that will update a checkbox from false to true by clicking the custom button. I am trying to get the code to work and it doesn't seem to work.
2
votes
1answer
63 views

Unexpected Identifier for Onclick Javascript button

I created a custom button for custom object to place in the related list. The custom object has two look-ups, one for case and one for account. This button, when clicked, should open in a new window ...
0
votes
2answers
45 views

If button is clicked hide button for user

I am trying to write some js for salesforce to hide a button once it has been clicked for that specific user. I have hit a hurdle....any help would be appreciated. Here is my code; ...
1
vote
2answers
37 views

Add cutom button directly to list view after installing managed package

I have created a managed package in which i need to add custom button after installing my managed package to list view of account and lead. I thought it same like static resource, Remote site settings ...
1
vote
1answer
227 views

Open jQuery Dialog from Custom Button

We have a custom button on the detail page of the case designed to open a modal dialog popup, however receiving the $g(...).dialog is not a function error message. I've searched around the web and ...
0
votes
0answers
31 views

Salesforce Javascript for Email Templates error

Hello stackexchange gurus, I'm trying to create a button in Salesforce that will open an email template. The BCC recipients are based on certain options (Such as Deal Type and Supply Type, which are ...
0
votes
0answers
19 views

How do I create a new record with a record type/page layout from a formula

I have a custom object that has a State field on it, related to this custom object is a another custom object with Questions we ask depending on what state the first object is located. ie the Company ...
1
vote
1answer
38 views

link/Button which move to relevant section on page

Aim – To add an anchor link called “AUM link” in the Section called“Operational. Section "Operation" is on the Account object and on the pagelayout "Client". Once you click on link i want it so it ...
0
votes
0answers
21 views

Mimic standard button in custom button

I have a problem that the "Add to Campaign" button does not show up in the service console. So I want to create a custom button that does exactly the same as the standard button. Is there a quick way ...
1
vote
2answers
194 views

Display pop-up message or hide custom button if field is blank

I'm new to Salesforce, so if this is trivial, accept my apologies in advance. I have a button that points to an internal website. This button grabs looks at a custom field and uses that custom field ...
1
vote
0answers
68 views

p3_lkid error with custom button to send email related to standard object

I'm trying to set up a custom email button on my opportunity page that will select a template and auto-fill a few email addresses. My approach basically follows the one I found here: ...
0
votes
1answer
119 views

How to populate related list records in VF page for Editing?

I have a custom object as "Competitor__c" which has a lookup relation to Quote Object.I have a created a visualforce page on Competitor object to fetch related list record ,when user clicks on list ...
0
votes
0answers
22 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
42 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
76 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
31 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
67 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
21 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
32 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
134 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
220 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
71 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
61 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
26 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
204 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 ...
5
votes
3answers
112 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
264 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
101 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
90 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 + ...