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
28 views

Issue with buttons with apex

I have the following visualforce page: <apex:pageBlock> <apex:pageBlockSection> <apex:pageBlockSectionItem > <apex:outputLabel value="Convert ...
0
votes
1answer
27 views

how to call a simple class method by clicking custom button

i am trying to call my method by clicking a custom button, but i also have to pass the id of that record as a list. here is my class & method. Can anyone please help me out. public class ...
0
votes
1answer
17 views

How to add Custom buttons to list view layout in salesforce1?

Using global actions I have been able to add custom buttons to record level layout, but I didn't get how to add a custom button to list view layouts in saleforce1. Thanks in advance.
0
votes
0answers
21 views

Display Spinner gif on click of custom button on standard page

I have a custom button on my standard account page layout. On click of this button I call a web service which takes some time to respond. Because of this delay, I want to show a spinner image until I ...
2
votes
1answer
51 views

output Dynamic HTML with VisualForce component

in my page I show a list of records along with pagination as below: the navigation buttons at the top are output from a VF component in my controller: // List Records pagination public ...
0
votes
0answers
22 views

Custom Activity Page & Button

Two part question - Users on my system are currently using the 'Log a call' on an account to log interactions. I determined how to create a custom button in the activity menu (setup tab) but am not ...
3
votes
1answer
23 views

JavaScript SOQL Query for Emailing from Listview

I'm trying to create a button which will pull emails from a list view and push them to an empty email template. It is for a custom object (Students_Programs__c) which has a custom formula field for ...
4
votes
1answer
127 views

Custom Button Issue

Is this correct way ? I am trying to "View all cases which are related to the Contact I have on my current Case" (Sibling Cases - Case records who shares same Contact as parent/lookup). Example : ...
0
votes
1answer
16 views

Display Modal Dialog on Custom Button ( Standard Page Layout )

Is it possible to display a modal dialog upon clicking a custom button on standard page layout ? Example of a modal dialog that we want to be displayed is shown below. Do we need to any javascript ...
2
votes
1answer
25 views

emailauthor page parameter from (p26) not working

I am trying to send an email from the emailauthor page (Activity History Send Email), when I get into the page I have multiple options to select in the field From, I want to always have a default ...
1
vote
0answers
10 views

Mass Add to Campaign Button on Custom Object List View

I have created an "Add to Campaign" button on a custom object which when you click it takes you to the Add Members page, so that part correct. However, when I try to select records and click the ...
1
vote
2answers
41 views

Can I build a custom button to submit a opportunity into approval process?

Is there any way to create a custom JS button that will push a opportunity into one of my specific approval processes? Thanks!
0
votes
0answers
25 views

Custom button for “Close case” in the Service Console

It is a simple javascript custom button for closing a case in the service cloud. It works well in the normal interface (classical interface). But when it is used in the Service Console: the "header" ...
0
votes
2answers
30 views

Add a Validation To Custom Button on Standard Page layout

I have a custom button on a custom object, which redirected to a VF page via URL content source. But I only need to run it based on certain field value of my custom object. So without going to a VF ...
0
votes
0answers
17 views

How to replicate object and field data that you see when defining a custom button

I am trying to create a dynamic link like this on salesforce\: https://xyz.abc.com/atlas/launcher/eos/Opps?id=19438 &eos[0].Id={!Opportunity.Id} &eos[0].System=Salesforce ...
1
vote
1answer
20 views

Query on Javascript get error Malformed_Query

I create list button OnClick Javascript Button on Lead. it will update the Is_Picked__c checkbox on selected record whenever i click the list button. but i still get MALFORMED_QUERY. Any thoughts? ...
0
votes
1answer
13 views

Difference fields are displyed before and after creation

In lead object , when I click new to create a new record it calls a vf page (handled by custom button by calling a vf page in 'New ' button). At the time of creation , in one section it is showing 10 ...
1
vote
1answer
29 views

Call Process from Visualforce Page Button

Does anyone know if it is possible to call a Process from a Visualforce page button? My situation is that I have a custom object with a Master-Detail relationship to the Opportunity object. When the ...
0
votes
0answers
17 views

Create Case from Visualforce Page

I need some guidance on the best approach for creating a case from a Visualforce page. I have a custom object that has a Master-Detail relationship to the Opportunity object. Ideally, I would like ...
0
votes
0answers
28 views

Error “You have sent us an Illegal URL or an improperly formatted request” while URL is correct

I get an error message when trying to access an automated URL. The message is You have sent us an Illegal URL or an improperly formatted request. The URL I try to reach is here and valid ...
0
votes
0answers
15 views

Accessing custom button on vf page

I want to access a custom button on my vf page. The custom button can have any action in the backend. I want to display the same button on vf page so that if I change the action in backend it should ...
0
votes
1answer
32 views

Calling a Visualforce page with a Custom button on a related list

I want to call a visualforce page from a custom button. This button will be on a related list. Currently the button displays but will not launch. Here's the current code that I have. ...
4
votes
1answer
59 views

Redirect SF1 Action to newly edited record based on executed javascript

We've recently had to start converting all our Javascript OnClick buttons to SF1 actions for the the new lightning UI. This is some of the code I've converted. It allows me to change the 'Status' of ...
1
vote
0answers
10 views

Replicate object and field data that you see when defining a custom button

Administrator needs to identify how and where they want to store their files in SALESFORCE CONTENT MANAGEMENT. What this means is that when a user loads a specific record (eg they load the Account), ...
0
votes
2answers
27 views

how to do the translations for custom buttons?

I want to translate my custom button label according to the country ( Totally 10 countries are there ). I know that standard button label cannot be renamed. My custom button name is " Send to ...
0
votes
0answers
14 views

Docusign - Salesforce custom button not populating signers

I connected Salesforce and a demo Docusign and created a custom button for my custom object aForm__c. When the DocuSign page finishes loading I can see pre-populated sections for all parameters ...
0
votes
1answer
26 views

Custom Js/Apex button troubles

I'm a bit of a novice when it comes to Salesforce development. Basically, I'm branching out from triggers/scheduleable classes. What I'm trying to do is create a custom button that runs a class to ...
1
vote
1answer
49 views

See anything wrong with this OnClick Javascript button?

I created a new object to store reasons for a case to be deleted. My JS is returning an error: "Cannot read property 'Id' of undefined" AND "Id not specified in an update call" I was wondering ...
1
vote
0answers
50 views

Live agent chat window customization

I need to do some customization inside my live agent chat window and want to understand the possibilities I have chatAlertMessage having dismisslabel = CLOSE when agent was not available for a ...
0
votes
0answers
36 views

how can we add custom button in “Approve/Reject Approval Request” while click on Approve/Reject button from Approval history??

i need to add custom button in "Approve/Reject Approval Request" while click on Approve/Reject button from Approval history? Please refer below screenshot
1
vote
2answers
27 views

Javascript Detail Page Toggle Button

I am trying to create a custom button on the detail page of the Account object. The button will simply toggle a checkbox field from true to false and vice versa. The code below works for the "IF" ...
0
votes
0answers
40 views

Open pdf page in new tab when click on custom list button?

I have a cusom list button name "print selected" , when i selected multiple records and click on "print selected" i want it open in new page. When click to this button I saw returl and few other ...
0
votes
1answer
29 views

How can I add this Detail Page Button to a Visualforce page?

I am attempting to add the following button to a Visualforce page, which is functioning as the override to the View of an object. The button will call another VF page - which in turn will call a ...
0
votes
1answer
45 views

Invalid Parameter Value when Setting Lookup Id from JavaScript Button

I have the below code for a JavaScript button which works fine {!REQUIRESCRIPT("/soap/ajax/29.0/connection.js")} var entitlementQuery = "SELECT Application_Entitlement_ID__c FROM Account WHERE Id ...
0
votes
1answer
21 views

Custom Button to be visible only for one profile in a view

I have a requirement for n no of closure of cases,where i have a created a visual force page ,apex cotroller and and custom button Named as "Num CLOSE".Now we would like to have this custom button ...
0
votes
0answers
25 views

custom button in Visual force

We've a custom button, created using "Buttons, Links, and Actions" option available via Set up. This button is executing javascript( if value of field = 'x' , then update value of some other field ...
1
vote
1answer
36 views

Contact Role in JavaScript Button

I have a JavaScript button that's designed to pull in a value from a custom lookup field to a Contact record from an Opportunity record. Does anyone know how I can modify this button to pull that ...
1
vote
1answer
70 views

Custom Button modal window.open

I have a custom button and I am using a modal to prompt the user for input. There is a button that opens a new window url. The variable for the url is not formatting correctly. custom button ...
0
votes
0answers
17 views

Custom Button with a page and controller that update Opportunity [duplicate]

I have a custom button that have as Content Source a page, this page have a controller that update opportunity with some specific values. When an error happend on opportunity trigger, the message of ...
0
votes
2answers
62 views

Custom Clone button on Quote, copies few standard fields but not all, why?

I have a custom button, which i m using to clone Quote Object. I'm using javascript with ajax tool kit, Like in this post. i can clone the quote with few standard fields, but not all, for e.g, ...
0
votes
1answer
24 views

I need a URL list button to email multiple contacts

My client would like to begin leveraging Salesforce Tags to cut down on custom field creation, and they're just handy in general. The trouble is, one contacts are tagged, there's nothing you can do ...
0
votes
1answer
38 views

Error as :java.lang.IllegalArgumentException: id 5004B000000qt8r,5004B000000qt8w must be 15 characters

Can any help me out with this Error : java.lang.IllegalArgumentException: id 5004B000000qt8r,5004B000000qt8w must be 15 characters I have a custom button created as "Mass Close" button using ...
0
votes
0answers
36 views

Custom button for Mass Close cases with Vf page

Can any one help out. I have a requirement on case object for the Mass closer of cases.Since in Mass Close page we don't have an option to replace the field or add a field.So created a custom button ...
1
vote
0answers
7 views

Has the lightning update modified the evaluation on anything inside bang-brackets

I had a custom button which changed color based on a field value. This was implemented using the solution: Change color of custom button based on field value This has stopped working since the ...
0
votes
1answer
57 views

Problem with custom setting URL field from a custom button within the app

Uploaded a managed package and now have a problem utilizing the Custom Setting feature. Trying to allow the users to change url's that I reference in the app by calling a Custom Setting URL field ...
0
votes
2answers
54 views

URLFOR with custombutton

I want to create a custom button on parent record to add records in child object. I created the custom button with url for new child record on parent object but the parent name does not auto populate ...
1
vote
1answer
49 views

Java Script button

I have a java script button. It alerts the user with some message ‘Invalid operation please contact system admin’. New requirement, I need to display admin name as link on pop window after the ...
0
votes
1answer
38 views

Need Save and New method in controller for save and new custom button

I trying to add Save and new button at quote line item page editor level. But I'm stuck with ideas. Controller: public PageReference save() { checkRecursive.run = false; ...
0
votes
1answer
27 views

java button to open a new tab

I have a Java button that will open an attachment. I was wondering if there is a way to code it when you press the button instead of it opening on the same page it opens on another tab so I dont lose ...
0
votes
1answer
19 views

Custom Button with Conditional URL Syntax

After looking at the documentation here for custom buttons using conditional logic, I'm still getting a syntax error for button. I believe it has something to do with attempting to append the URL with ...