Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [button]

This tag is for questions related to an interactive html page element that's event driven. A button uses either Ajax calls or JavaScript to initiate an Ajax Event of some kind, as defined in the page mark-up, when any of the following occur on the button: onblur, onclick, onfocus, onmousedown, ...

0
votes
0answers
15 views

Salesforce Community Button Link

Hi Im just started using sf community feature, where i can find the url of "Create Case Form" under the components tab ? What i want to do is if I clicked the Create Case btn then create case form ...
0
votes
1answer
25 views

Javascript custom button salesforce error

I am trying to get the profile and username in JavaScript button but I am getting an error when trying to click on the button {!REQUIRESCRIPT("/soap/ajax/36.0/connection.js")} {!REQUIRESCRIPT("/...
0
votes
1answer
29 views

Convert javascript button to URL button

I have a javascript button which is a list button with following javascript. var records = {!GETRECORDIDS( $ObjectType.Property__c)}; if (records.length > 0) { //perform logic to concatenate ...
0
votes
0answers
19 views

Lightning Application Preview Button in Developer Console inoperative on Custom Lightning Applications?

I have created a sample Lightning Application for which when clicking on Preview Button in Developer Console the output gets displayed ,at which point when clicking on Preview Button for my custom ...
1
vote
1answer
14 views

How to remove `Save (Ignore Alert)` and `Save & New (Ignore Alert)` buttons?

I have created a duplication rule so that when a new lead record is created to notify the user if there is an already existing lead. When there is an existing and duplicated lead I need to forbid the ...
1
vote
1answer
32 views

Custom Button - Close the Status for Cases in Lightning Experience

I am struggling with the following task: 1) I need to create a custom button "Close the status", that closes the status for the Case and 2) it should be located at the same position as on the ...
0
votes
1answer
25 views

Convert JavaScript button for lightning!

I have a JavaScript button which works fine in classic but doesn't show up in lightning, my guess that JavaScript buttons are not supported in lightning, I couldn't convert it using the converter ...
-1
votes
1answer
22 views

After clicking on a custom button on Account page, I want to autopopulate a custom field of Opportunity [closed]

Apex: global class AccountClass { Webservice static void populateOpportunity(Account id1) { List < Account > acclist = new List < Account > ([Select AccountCreationDate__c ...
-1
votes
1answer
26 views

Heroku Button Deployment: The content of app.json is not valid [closed]

I cannot message Heroku directly since I am on the free tier. Heroku refers me to Salesforce. My GitHub repo: https://github.com/NNTin/discord-twitter-bot When I click on the Heroku Button in the ...
0
votes
1answer
21 views

Hide Custom Button in visualforce based on Pemission Sets

I Have a visualforce page where I'm having two buttons which I'm hiding to particular profiles based on profile name rendered="{!IF($Profile.Name == 'Profile1'||$Profile.Name =='Profile2'||$Profile....
0
votes
0answers
22 views

How to fix the button with rendered? No actions there. Why?

I don't know why I get a blank status when use delete button with rendered? And it can't delete the record too. I need to hide delete button, if status!='Posted'. With post button all is ok, but with ...
0
votes
2answers
18 views

Take ownership and open case link on list view

I've created a button called Assign to Me and have gotten it to correctly move a case from a queue to the current user and successfully change status to "Working". I'm struggling to get it to open up ...
1
vote
1answer
32 views

Are Quick Actions really only available in Chatter? Can we somehow get a 'Create a Record' to display on the standard page layout?

Apologies in advance, because I find quick actions and publisher actions confusing and I didn't find a clear-cut answer on forums or documentation... We are trying to not reintroduce URL hacks, which ...
0
votes
1answer
12 views

how to make Classic Javascript Pop up box with drop down list?

Hi I've created a custom button that fills in an email template. I'm trying to add an drop down list so the user can select the template they want. Right now it uses a prompt pop up window, where as ...
0
votes
1answer
47 views

How to hide or disable “add to campaign” button in Contact page layout ( LEX )

I tried to remove from contact page layout the "add to campaign" from Search Layouts. But it's still visible second step config: any advices?
0
votes
2answers
31 views

Custom button without javascript code

I have a requirement where I need to pass record Id to apex class on click of a custom button(which is placed on the standard page). In order to pass record id, I need to write javascript code, but ...
-4
votes
1answer
41 views

Custom Button that links to the Visualforce Page [closed]

I need to create a Button for the Page Layout that links to the Visualforce Page (another page). It's for custom object. How can I do that? Can I use "Buttons, Links, and Actions" to open VF Page? Or ...
0
votes
1answer
42 views

Hide Visualforce Page Button in Classic

I have a Button on QuoteLineItem object, which call Visualforce Page. It's related list button and, as far as I know, it can't be an Action - only Buttons supported on this object. So the issue is ...
0
votes
1answer
76 views

Why are Lightning Actions for Case Object showing in Feed?

I'm trying to create a button for a case detail page. However I can't get anything to show in the highlights panel at the top. I've created a new page layout for Case that isn't feed tracked but it ...
1
vote
2answers
24 views

Javascript button to set checkbox true if conditions are met

I keep getting 'unexpected token ==' when the button is clicked. I have been through the code and everything looks right to me. Can anyone see why? All field names are correct. {!REQUIRESCRIPT("/soap/...
1
vote
1answer
28 views

custom button on opportunity - visualforce with javascript

I need help. I have a visualforce page named "Edit Quote". I need a button to open this page on lightning. since javascript is not supported I created a button to open another vf page names “...
0
votes
1answer
31 views

How can i create a custom button, when pressed will create and insert a new Quote?

I need to create a custom button on my Opportunity Page Layout and when it is pressed this button needs to create automatically a Quote. Basically, the point of this is to avoid clicking so much. I ...
1
vote
2answers
29 views

Creating a Lead from a Button

I'm looking to create a lead from an account using a button. When I go to create this lead, I get the following error. Can anyone tell me what is wrong with my approach/code? {!REQUIRESCRIPT("/soap/...
0
votes
0answers
194 views

Log a Call Button on Lightning

I cannot get the log a call tab to appear on the lightning page. I am just using the standard activity component. It seems to apply to all objects, but for now we can just focus on opportunities. I'...
1
vote
2answers
136 views

To hide the button in Classic view and show only in Lightning view

I need to create a Custom button(Not a VF page button) which will work differently based on the user view ie, Lighting and classic. I need hide the button in Classic view and show only in Lightning ...
1
vote
0answers
63 views

What is the URL to the new Salesforce Lightning Email Editor for use in Action Buttons

BACKGROUND I have an action button which opens this link: https://xxxxx.my.salesforce.com/email/author/emailauthor.jsp? p3={!Opportunity.Name} &p3_lkid={!Opportunity.Id} &cancelURL={!...
1
vote
0answers
76 views

Call lightning component from New button on drop-down list of an object tab

I have created a lightning component to override new button on Asset list page. When the new button is used from Asset list page it works as desired, however when I click new from the drop down list ...
0
votes
1answer
36 views

How to get opportunity history value and convert it to pdf?

im new in salesforce programming.. I made an pdf report (button) on opportunity.. I can get the opportunity object field value (and opportunityLineItem) and convert it to pdf.. but down below the ...
0
votes
1answer
291 views

Custom button in lightning onclick redirecting to object record page with list view as “recently viewed”

I have a custom button in lightning component and onclick of the button I want to redirect it to object record page without hardcoding the URL. Please help!!
1
vote
1answer
39 views

Custom Visual Force page access for standard button

I have two profiles named as Recruiter and Manager,for these two objects, i am overwriting standard new button with custom Visual force page I need for one profile custom Vf page for New button and ...
1
vote
2answers
28 views

Help with JavaScript Button with If Statement

I know next to nothing about javascript so don't beat me up too much if this is utter garbage, but here is my attempt at a somewhat simple button that looks at 2 values and kicks a flow off or ...
1
vote
2answers
78 views

Delete a record and hide it from pageBlockTable without filling the form

I want to have a "Delete" button for every record(row) displayed on my Visualforce page, but evry time I want to delete my records I have to fill my form with some values and then the record can be ...
3
votes
1answer
34 views

URL Hacking - Trying to incorporate a unique count at the end of a pre-populated field

Created a URL that works fine, but I'm looking to add a count at the end of the Record name. For example: (Account Name) "Scorecard" {Count Field on Opp} + 1 Here is the URL: /a0L/e?&retURL={!...
0
votes
1answer
36 views

Prevent reloading of Page on oncomplete of actionfunction

I have below code where I want to do an action to apex action function and oncomplete of it want to call a javascript function. Unfortunately instead of calling the action the action function in my ...
2
votes
1answer
263 views

Lightning button action in VF page

I have below commandbutton that works fine for me. When I try to convert to lightning buttons it simply just reloads the page and does nothing as expected like calling the pagereference method and ...
0
votes
0answers
47 views

Page layout URL back button?

I have a button on my account that opens a url into the page with sidebar and header. the problem is business now wants to be able to go back to the account that they clicked the button from. they ...
1
vote
0answers
18 views

Permission for Standard button?

This should be simple, but I can't find this particular permission. A user's profile is set to be able to Edit Contacts (on the record type in this issue - that's fine), but when they click "Edit" in ...
3
votes
1answer
27 views

What do New Opportunity, Contact buttons on Devhub Scratch org. layout do?

In the Devhub org, when you go into any scratch org., you can see below 3 buttons appear on the layout. It doesn't seems to do anything related to scratch org in my trial Devhub instance. Also does ...
0
votes
2answers
148 views

Passing Values from Lightning:menuitem

//Table with recordsetvar <td data-label="EDIT AND DELETE"> <lightning:buttonMenu alternativeText="More options" onselect="{!c.editDeleteJS}" iconSize="small" aura:id="{!grpsegrel.Id}"&...
0
votes
0answers
8 views

How to generate custom Report for Button used to generate letters

Appreciate if someone can point towards the right direction to generate a report to report on the Button Link used in Cases to Generate Letter. As in present we don't have visibility on Users ...
0
votes
1answer
29 views

Button access to public groups

I am facing issue to build this logic in my application, can anyone help me how to achieve this scenario. I have two public groups in my Org like Group A, Group B. I have two buttons in the record ...
0
votes
0answers
26 views

Clone button on Report not displaying

For some time now the clone button on the Report object has been missing in both lightning and classic. I'm trying to identify why and get it back up there since this button makes our lives so much ...
0
votes
2answers
114 views

Where do I find the Manage External User Button on the Contact Page Layout

This question has not been answered elsewhere. Salesforce Documents suggest there is a Manage External User Button. But it cannot be found in the Contact Page Layout Editor. Where Is It?
0
votes
1answer
18 views

Mass Update & Mass Edit button Visualforce Error

One of my users gets this error message, "core.apexpages.exceptions.ApexPagesHandledException: Object type not accessible" when they check off multiple checkboxes on the case list and press the mass ...
2
votes
2answers
308 views

“Log in to Community as User” Button Missing

I know that in the Winter release the "Log in to Community as User" button was added to Lightning. I did look at other pre-existing topics for this subject and none of those answers resolved the issue ...
0
votes
0answers
295 views

How to adjust the width of the Lightning Action Button popup that shows a Visualforce page? [duplicate]

I have a simple visualforce page that I want to show from a Lightning Action Button, as in the first image shown. I would like to be able to set the Width of this popup. I know I can set the height ...
0
votes
1answer
150 views

Onclick javascript Button is not working [duplicate]

I have created onclick javascript button functionality but when I clicked on button I am getting "Problem with onclick javascript for this button or link was encountered: Invalid or Unexpected token". ...
0
votes
1answer
337 views

Add button or action to User layout in both Salesforce Classic and Lightning Experience mode

I need to add button (or action button, it doesn't really matter) to both Salesforce Classic and Lightning Experience mode on User layout but looks like it is not possible to add buttons to user ...
0
votes
0answers
18 views

Export Buttons and Actions from each Page Layout

Is it possible to export all available buttons and actions from each page layout of each object into one file? It would be great to get the name of the button/action, whether it is available on a page ...
0
votes
0answers
23 views

How to add custom button on Contact layout (list) page in Lightning?

What should I do to add a custom button to Contact list page in Lightning Experience that would create Tasks for any selected contacts from the list, when clicked? In Classic, this would be "Execute ...