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, onmouseout, onmouseover, onmouseup, or ondblclick.

0
votes
0answers
6 views

On enter key press want to go to next field instead of going back to previous page [closed]

Well i want it to goes to next field on enter key press instead of that it is reloading the page when i am on first name field on the enter key press keyboard my page is going back to previous page ...
0
votes
1answer
23 views

The conga page is getting there,But Facing error Parameter Id missing? [duplicate]

when i select the records in vf page ,after click on the VF Button the conga should be call along with id for generating the PDF but on button click the window is opening but showing error that "ID ...
0
votes
2answers
43 views

Show message and grey out button in lightning component

I have a component and I want to show a message and grey out the button if some fields are not filled, how to do this? Component: <aura:component controller="purchaseOrderComponentController" ...
0
votes
1answer
33 views

Add validation to managed lightning button

I have a managed (detail page button, content source: visualforce page) button which when clicked opens a visualforce page, I want to make this button shows a message if a field on the object is ...
0
votes
1answer
31 views

How to remove Lightning Component Button from a page under certain conditions?

I have a button on a custom object which was built as a lightning component. I want to remove the button once the custom object has a Status updated to 'Completed'. Do I do this in code or is there a ...
0
votes
1answer
48 views

Set the value of a radio button with the controller in javascript

I would like to do something simple but I think it is not as simple as I though. I have a form with a radio button field (salutation field in the account) and I would like to auto fill the value when ...
1
vote
1answer
30 views

Can anyone suggest how to do an animation effect like Standard Refresh button do in Lightning Component?

In standard related lists, (for example) Contacts related list on an Account record. If we open full list and click on Refresh button, it happens to do an animated effect by rotating the icon inside ...
-3
votes
1answer
40 views

Create a button that allows sending a message to the Contact of a custom Object [closed]

I have a custom Object Car__c. One of the fields in which is Lookup on Contact. When I filling this fields, I must provide the ability to send a message to the Contact that is selected in the current ...
0
votes
1answer
34 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
55 views

Convert javascript button to URL button [closed]

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 ...
1
vote
1answer
25 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
82 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
177 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
23 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
39 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
25 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
2answers
19 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
14 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
75 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
37 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
109 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
50 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
160 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
28 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
32 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
34 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
369 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
189 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
72 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
136 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
40 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
397 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
40 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
29 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
132 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
65 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
379 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
59 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
21 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
197 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
9 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
33 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
37 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
156 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
21 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
623 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 ...