Skip to main content
New
Stack Overflow Jobs powered by Indeed: A job site that puts thousands of tech jobs at your fingertips (U.S. only). Search jobs

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.

Filter by
Sorted by
Tagged with
0 votes
1 answer
31 views

Changing the layout of the standard button for the custom object

there is a change owner button standardized by salesforce. They want to add another checkbox on the layout of this button. How can I add this field to the layout of this button? Note that It shouldn't ...
Saber's user avatar
  • 11
0 votes
2 answers
44 views

Can't create Quick Action or Button in ActionPlanTemplate object

I've been struggling with creating an Action/Button or Link in ActionPlanTemplate object. I have access to all permissions I could find on internet: Permission Set Assignment: Action Plans Permission ...
yanaspaula's user avatar
0 votes
0 answers
98 views

Back button keeps re-executing my flow

I'm trying to prevent re-executing a flow when the back button is clicked in the browser after starting a flow via quick action. I've seen this link ScreenFlow when launched from QuickAction, is ...
Mille_B's user avatar
0 votes
0 answers
72 views

Remove or Update 'Reply' button in Email Message Page layout

When I click on 'Reply' button in Email Message record, it opens /_ui/core/email/author/EmailAuthor page. Here, I want to populate cc field. I am able to do that in a custom button by sending the ...
sf developer's user avatar
0 votes
0 answers
76 views

Action buttons are not visible in Task related list in lightning experience

I created a new object called Main Task and created a lookup on Task(Activity) to make a relationship between Task(Child) and Main Task(Parent). I added task related list(Sub Tasks) into Main task ...
R_Cham's user avatar
  • 49
-1 votes
1 answer
59 views

How do I add a link to this button?

I've created a banner image with a text and a button using CMS, but I couldn't find a way to add a link to the button. Open to any suggestions, thank you!
Mert Basoglu's user avatar
1 vote
1 answer
129 views

The elusive 'Delete' button on "Individual Application" (Grantmaking)

We're in the process of implementing Grantmaking. Part of the package includes an "Individual Application" object. This object doesn't have any "Delete" button (we tried ...
Jean-Se's user avatar
  • 55
1 vote
0 answers
104 views

How do you create a List Button for Related Records with Default Values found in a related opportunity?

I am tasked with creating a list button on the Account object for the related opportunities list. The record that needs to be created needs to have other default values that are found in one of the ...
JEbert's user avatar
  • 11
0 votes
0 answers
20 views

Conflict of Standard button override

InTesting==> Firstly, we have users who use both Lightning and Classic. On the account object, we have a lightning page for lightning users and vfpage for classic users. To achieve a new record ...
Harish Korlepara's user avatar
0 votes
0 answers
343 views

Is it possible to throw error message on button click? (Managed package button)

We have a custom button that came with the installation of a managed package. We are using this custom button on a page layout to open a new page with a PDF. We want to display an error message when ...
Alp's user avatar
  • 11
0 votes
1 answer
427 views

Proper way to limit a button height in LWC

Despite getting more savvy on all the functional capabilities of LWCs, I am still totally lost on the proper way to apply styling. This lightning data table is displaying what I need, but for some ...
Chris's user avatar
  • 61
0 votes
2 answers
340 views

Use aura attribute to define button background color

I am wondering if it's possible to use an aura attribute to set the button background color of a button. I was able to statically set the background color using CSS and by giving the button a defined ...
gjohnson282's user avatar
0 votes
3 answers
4k views

Remove Focus Around Buttons on Click

I have a button named 'Apply Filters' and onclick of that button I am filtering data.I want to remove focus from the button once we are done clicking. Once the button is click only on the click the ...
Hira Khan's user avatar
1 vote
1 answer
383 views

LWC - render component onclick event

I have a lightning button and I have an instance of js Date class. When I click on a button I want it to to show me a date that was week before (subtract 7 days). Here is my .html file: <template&...
Appendix's user avatar
0 votes
1 answer
168 views

Rearrange the position of Follow button on Lightning Page layout

Quick question, can we move/rearrange position of standard Follow Button? I do know about Hide/Unhide, here i just want to move its position from start to middle or bottom. if its not possible, can i ...
SF Dev's user avatar
  • 89
0 votes
1 answer
254 views

Task in Activity Timeline

In this new task in the RelatedTo, I have different objects(lookup relation given from task to each of the objects). This field RelatedTo I have to remove some objects but it is actually non-editable. ...
Ash's user avatar
  • 5
0 votes
1 answer
330 views

User with Minimum Access Profile/Permission Set Cannot See Any Buttons on Object Pages

We recently created a new profile cloned from the Salesforce Minimum Access profile and added the rest of the necessary permissions for the users via Permission Sets/Groups. We noticed the users with ...
Developer Guy's user avatar
1 vote
3 answers
2k views

LWC buttons are not visible in Salesforce mobile app

Is there a way to make LWC actions visible in mobile app? The LWC actions which are visible for desktop are not visible in mobile.
Siddhant Singh's user avatar
0 votes
0 answers
143 views

Autopopulate a field from a Detail Button URL

I have a Detail Page Button with a URL. It resides on the Case object and creates a custom object record. On the custom object, there is a lookup to the case object. I would like the CaseNumber to ...
Debbie 's user avatar
0 votes
1 answer
757 views

How to Create URL Link Button for custom objects to pre-fill fields when creating new record

I'm trying to create a 'New' button using the Link button with URL. This is for my custom object that I need to pre-fill when the New button is clicked. For example, I have CustomObjectA that has a ...
Mae's user avatar
  • 339
1 vote
2 answers
2k views

Conditional Criteria on Lightning button disabled attribute doesn't work

Can someone help me how to make this work please. Wanted to disable the button based on the following criteria //Diabled criteria - MUST be disbaled for all rows except for last row. //Background - we ...
SMorse's user avatar
  • 39
1 vote
2 answers
1k views

Change text & prevent double click of LWC button

I need to prevent double clicking of a button. My goal is to disable it while im the DML operation is not completed. I am new with LWC so i don't exactly know how to proceed. Right now i just have the ...
Sukhwinder Singh's user avatar
0 votes
1 answer
668 views

Aligning button next to lightning card title

I am seeing so many examples to align lightning card title and a button. But all the examples that are provided are using slots="actions" in the button. But that will align the button to the ...
CodeGirl's user avatar
1 vote
1 answer
374 views

missing New Case Button, in groups

I cannot put the button to create a New case, on a public group layout. Just like here: from this trailhead: https://trailhead.salesforce.com/content/learn/modules/lex_implementation_chatter/...
Luis Aguiar's user avatar
0 votes
1 answer
2k views

Event.Target.GetAttribute returns null

I'm creating and displaying lightning buttons in aura components dynamically. On click of each button, I'm trying to fetch its index using event.target.getAttribute. I'm able to get it but ...
sfdcdevsathy's user avatar
0 votes
1 answer
53 views

Unable to find action 'deleteItem' on the controller of c:RosterLineItemCmp

I am am really new to the development console on SF but I saw a pre-set resources and was messing around with it to make a few action button. All worked except for the one that I edited to remove a ...
Rihco's user avatar
  • 3
0 votes
1 answer
300 views

Sending Adobe agreements on custom object relationship error

I have created a custom send for signature button for a specific Adobe Agreement in Salesforce lightning using the following: {!URLFOR('/apex/echosign_dev1__AgreementTemplateProcess', null, [masterId =...
stelts's user avatar
  • 1
0 votes
2 answers
2k views

Align button with inputs LWC

Hello everybody I am trying to align the next button with the inputs fields but I am not being able to do it. I have tried everything I can imaging but I cannot solve this issue. Could anybody help me?...
user avatar
0 votes
1 answer
141 views

Fields, Buttons, Custom Links and Mobile & lighting Actions are not visible on User page layout for edit

I am trying to create a section but the field itself is missing in page layout. Please see image below. Missing required options on the left side to edit the page. Please help.
Nanda Merawade's user avatar
0 votes
1 answer
456 views

Lightning Datatable: How to replace button with a lightning badge in a row on click?

In each row of the lightning datatable, I have a button. I want to replace the button with a lightning badge when an user clicks on the button. I wonder, how to implement this? JS @track COLUMNS = ...
user275494's user avatar
0 votes
0 answers
121 views

Create a validation for a managed lightning button on Salesforce Opportunity

0 Hi I am struggling to build this in SF. I have tried to create a validation for a managed lightning button (I cannot edit its functionality), on the opportunity level. The scenario is: If the user ...
dordev1's user avatar
1 vote
1 answer
1k views

LWC - NavigationMixin: Show A List Of Record Types (Closed)

Normally, when we create new record and if that record has different record types, a pop-up will show up with a list of record types when user click create new. I'm trying to aim that with ...
Pam's user avatar
  • 107
1 vote
1 answer
169 views

Can I access related record fields in onclick javascript button?

I have to check a field of a related record in my onclick javascript button. Is it possible? for instance: var fieldValue = '{!Object__c.LookupField__r.Field__c}' Or is the only alternative to call ...
joacoiudica's user avatar
4 votes
1 answer
564 views

Button sound in LWC

How can I add a sound to a lightning button in LWC? import { LightningElement } from 'lwc'; const audio = new Audio("https://www.fesliyanstudios.com/play-mp3/387"); export default class ...
Akzholbek Abdikarim uulu's user avatar
0 votes
1 answer
132 views

"Close Case" button is generating a script error

Please be gentle with me. I just barely started using Salesforce. I hardly know where anything is. The person in my company that has been in charge of Salesforce is retiring soon and isn't showing ...
Fisher_Charlie's user avatar
6 votes
2 answers
6k views

LWC Button pass a value to the JS Method

I have a two buttons defined in my LWC <lightning-button variant="brand-outline" label="Age" title="Age" onclick={handleClick} class=&...
Matthew Harris's user avatar
0 votes
1 answer
934 views

How to hide elements inside a loop with button in lwc?

I have a list rendered in lwc, and I'm trying to develop a button that hides part of that list. But I'm having problem, because when I click the button it is hiding all the lists. <template if:true=...
Eduardo Murakami's user avatar
1 vote
0 answers
2k views

I have a button in LWC Datatable which will view cases, i want to switch between hide/view case using same button inside LWC datatable. How to achieve

Below is my component, when i click view case it shows all cases associated with the account, and should change the label to hide case. And when clicked on hide case it should hide the cases shown ...
Naveen's user avatar
  • 65
0 votes
1 answer
275 views

Trying to Add Task Due Date on Add Task button

I am trying to add the Due Date(Activity Date) field to the button/action layout when a user clicks the Add button to add a Task on the Account page. I have looked all over where I thought it would be ...
NoviceAdmin80's user avatar
0 votes
2 answers
30k views

How align button to the right?

how can I align this button to the right side? I tried with "some classses" but it is not changing the place (working with lwc) Html: <template> <lightning-card variant="...
Alex Barón's user avatar
0 votes
1 answer
579 views

Auto populate recipients in DocuSign Envelope using custom Lightning button

We have a standard object Opportunity and we have DocuSign linked to it. I need to customize a custom button so that it auto populates the DocuSign Envelope's Signer 2 using the Email address of ...
HPA's user avatar
  • 1
0 votes
1 answer
5k views

Why can't I get rid of the 'X' button on my LWC Modal? I have a 'Cancel' lightning button so the 'X' is not needed

I have a LWC quick action on my Salesforce record page. I have added a 'Cancel' lightning button that will close the modal, so I need to remove or hide the big 'X' that shows up outside of the modal. ...
mcook's user avatar
  • 1
1 vote
5 answers
3k views

how to deploy chat button type omni-channel using SFDX

I am trying to deploy my chat button with routing type omni-channel using SFDX and this error occurred: You must select at least one skill. what do I need to make?
Arthur Almeida's user avatar
0 votes
1 answer
832 views

LWC - Reset button for the component

Hey I have a LWC and want to put a reset button where it can reset everything in the component(such as uploaded files and etc.) Currently have a retakePhoto function but it seems like it's not working ...
Ian Lee's user avatar
  • 137
0 votes
1 answer
309 views

How to add a new button to the form of new opportunity?

this is the form where i want to add the "save & new quote" button .Is it possible to add a button to the New Opportunity flow? Once the form is felled , I'd like to have the option to ...
AYA ISMAIL's user avatar
-3 votes
1 answer
1k views

Need to populate Account Name when Flow runs from Account Detail Action Button for a task [closed]

I have a task screen flow that runs just fine from task action button and assigns account. I need to have an Action button to run this flow from the Account details page header and still have it ...
David's user avatar
  • 1
1 vote
1 answer
4k views

Aligning Footer Button to right in Lightning card

I am working on dashboard screen. I have a lightning card which where I want a button on right side inside a footer. Below is the code I am using. But When I am trying to align the button inside ...
Pankaj Andhale's user avatar
1 vote
1 answer
2k views

align command buttons to center in Visualforce page

Command buttons have aligned to Right ,how to recenter them without using CSS? <apex:page standardController="Contact" lightningStylesheets="true" extensions="...
Purushothama Puru's user avatar
1 vote
0 answers
632 views

SSO button does not appear on Salesforce Cloudforce.com login page (with MS Azure AD as Single Sign On authenticator)

Does anyone recognize this situation and know of a possible solution? For my Salesforce login, I want to use Azure AD as a Single Sign On (SSO) provider. On Azure AD I have created the app on Azure ...
Erik Reiken's user avatar
1 vote
1 answer
762 views

Remove "New Lead" button from custom object page layout

I want to remove "New Lead" button from a page layout of custom object. This object is not related to Lead but the button gets displayed by default. I have checked the page layout and the ...
Jenina's user avatar
  • 25

1
2 3 4 5
9