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
0answers
12 views

standard button not on related list after changing standard object name

We changed the standard object label to 'Order Profiles', yet on the Opportunity page layout, I am unable to add the NewQuote button (which was also re-labeled to New Order Profile) to the related ...
1
vote
1answer
13 views

Add Products button not visible on Classic opportunity page

When you edit an opportunity page layout, you will see these options for the products related list: And in the edit page layout this looks like: However, when you actually look at an opportunity, ...
0
votes
0answers
54 views

Issue with creating URL to invoke email functionality in Lightning [duplicate]

I keep getting this error: The value of the p3_lkid parameter contains a character that is not allowed or the value exceeds the maximum allowed length. Remove the character from the parameter value ...
0
votes
1answer
31 views

Lightning button icon without border

Is it possible to remove the border on a lightning button icon when it clicked? <lightning:buttonIcon iconName="utility:dislike" variant="bare" onclick="{!c.downVote}" size="medium"" <...
0
votes
1answer
13 views

Is it possible to override “Change Owner” button from listview items menu?

As the title says: Is it possible to override "Change Owner" button from listview items menu? If so, how can be done? Thank you all!
0
votes
2answers
154 views

Get button name or Id in LWC?

Looking to identify which button was pressed through name or id as there are three buttons in my LWC that each trigger the same function. I've used a standard html button so i could style it in a ...
0
votes
0answers
13 views

Removed all buttons from Login flow,not able to login now

I was testing login flows in sandbox and I remove the navigation buttons.Then I check it is working or not so I applied to it on system admin.And now I can't be able to login and deactivate this flow. ...
0
votes
0answers
16 views

How to create link button from Account to Lightning page

I am trying to create a Quick Action Button/Link from a Lightning Account record page to a custom Lightning page which passes some query string values, for example: /lightning/n/myLightningPage?id={!...
0
votes
1answer
56 views

How do I make the button size the same width regardless of the content length in LWC?

I have written up some code in Playground but isn't working as I expected. I want to make the buttons in LWC the same size as in picture below (which in turn will naturally make the spacing the same) ...
3
votes
1answer
194 views

Dynamically changing lightning button icon name with setAttribute not working

I'm trying to change the icon of a lightning button icon but the image isn't changing however I see that the attribute is being updated. this.template.querySelector('#'+event.target.id).setAttribute(...
2
votes
1answer
215 views

Opening the VF page in a new Tab Lightning

We are converting a VF Page from Classic to Lightning and this VF page called from the button in Classic is like So when the button is clicked in Classic it opens the VF page in a new pop up window. ...
0
votes
1answer
14 views

Edit button override saves, but does not show on record detail page

I have created a custom lightning component that overrides the standard edit button on opportunities. As of now I am just trying to get it to function like the standard edit functionality, but there ...
0
votes
1answer
115 views

how to display the button inside the input in lightning

i am trying to achieve this, placing the search button inside the input. Onclick of search icon, i need to invoke other functions. How to make the search icon acting as button and invoke the js ...
0
votes
0answers
13 views

How to auto populate CPQ Quote in Email Message object Related To lookup field?

I have created CPQ Quote in my edition. Based on my requirement i need to send listed Quote data in selected Template using Email Message. Once clicked save & Email Button in Send an email screen ...
0
votes
0answers
27 views

Button to Launch Multiple URLs

I have created a button on the opportunity that launches a URL in a new window (i.e. https://test.com/launch/{!Opportunity.Contact_Name__c}). Is there a way instead of just launching a URL associated ...
0
votes
0answers
13 views

Send email from opportunity contact role?

Is it possible to create a button on the contact listed in the Contact Roles related list on an opportunity? I want to send an email to that person and have the email show up on the opportunity page, ...
1
vote
0answers
36 views

Find column from event was fired

experts! I have LWC data table populated with data. One or more columns contain Button element. I want to show some 'master-detail' information by clicking this button. I tried to handle onRowAction ...
0
votes
1answer
21 views

Add a button in the recent account area

I would like to place a button in the "Recent Accounts" area in the Account home page: The closest I accomplished is to add a button in the List view area, I used an article in salesforce to place ...
0
votes
1answer
34 views

Disable button even after refresh of page/component [closed]

I have a button in my lightning component (aura), which will send out a notification to certain user. In helper and controler there are events for success and failed. In case of success, I want to ...
1
vote
1answer
109 views

Trying to center button on page

I have the following component code that I am trying to use to center a button on a page. It keeps showing left-aligned. I have tried using <center> tag and slds-align_absolute-center. ...
0
votes
0answers
20 views

How to use a Button to download a file in lightning?

I have an Excel/pdf file stored in the files section of Lightning. I would like to create a Button on a Custom object so that when any user clicks the button it downloads that file. How do I do this?...
0
votes
2answers
202 views

Hide/Show button base on Role

I want to be able to show and hide a button base on the user Role. I think using code can fix this problem. But I'm new to Salesforce. Im thinking of create a div and hide/show the button using "slds-...
0
votes
0answers
13 views

Identify theme of active tab whether it is lightning or classic

I am trying to redirect on a url based on the active theme by pressing a button it is running fine but when i have two tab opened at a time one is classic and other is lightning and when i am pressing ...
0
votes
0answers
10 views

Community page not loading after changing language to Chinese (Simplified)

I encountered the case that after changing language for community user to Chinese (Simplified) and login to community for the first time, I get 404 page ("Page not available"), after refresh and for ...
0
votes
0answers
20 views

custom button in lightning

<apex:outputLink value="/apex/AP_newbutton?oppId={!Opportunity.Id}">newbutton</apex:outputLink> This is my code. Here after clicking the button I'm getting a page with "newbutton" link ...
0
votes
0answers
23 views

How to differentiate when user clicked on New or Save & New button in salesforce Lightning controller?

I have overridden the standard new button using lightning component. In spite of this, when user is clicking on Save & New button on the edit screen, it is navigating the lightning component. I ...
0
votes
0answers
12 views

Trying to use validation rule on managed button

I am in the process of creating a validation rule in a managed button. I noticed that the button is managed and from searching within the trailblazer community I've learned that I need to remove the ...
0
votes
0answers
17 views

Icon is not getting displayed in display icon on in Lightning Experience Actions

Created button and added icon to button button. The icons are visible on classic quick action. But the icon is not visible when button is added to "Salesforce Mobile and Lightning Experience Actions". ...
0
votes
1answer
72 views

Lightning Component Button Showing in Related List - Move to Page-Level Action Menu

This question has a few flavors out there. This is NOT a duplicate of the closest question I can find since the accepted answer does not apply to my use case. I am trying implement a custom button ...
0
votes
1answer
70 views

How do I stop oncomplete action on button if action throws error and display the error, on a modal VF page?

I have a modal VF component displayed over a VF page (opened as a result of click on a button on the underlying page), from which I enter a few criteria and then click a button to generate a VF PDF ...
0
votes
2answers
147 views

Getting error while moving chat buttons from one sandbox to another through changed set. error : Required fields are missing: [RoutingType]

Getting error while moving chat buttons from one sandbox to another through changed set. error : Required fields are missing: [RoutingType]
0
votes
0answers
11 views

Call javascript function(which is there in visualforce) on click of custom button

I have a javascript function in a VF page, can I call this javascript function through custom button(created at object level). I don't want to rewrite this javascript at button level, I just want to ...
0
votes
0answers
29 views

Populate fields from Contact onto Opportunity when a “New Opportunity” button on contact is Clicked

I created a button on Contact which is supposed to create a new opportunity, populate fields and create an Opportunity Contact Role on Opportunity when a Sales Rep clicks on New Opportunity Button. ...
0
votes
1answer
105 views

Button Section Not Visible in Page Layout's Related List - Quote Line Items

I have a custom Object and from Quote Line Item I've created a lookup for my custom object and added it as a related list. For some reason I can't see the button section in the related list settings ...
1
vote
1answer
65 views

What happened to the “New Event” button in the mobile app Events screen?

My users are complaining that the "New Event" button has disappeared from the Events screen in the mobile app. As far as I know we are using the standard Salesforce mobile app. I haven't done ...
0
votes
1answer
37 views

How to a adress lightning button from parent component

I have a master lightning-component with a next button and a child component button with create. I want to a replace the create button from the child with the next button from the parent. I get the ...
0
votes
0answers
97 views

VisualForce Page - Detail Page Button - not displaying

I have a Detail Page Button on opportunity that open Visualforce page. From this Visual force page I can navigate through multiple Visualforce pages.That was working very well and without any changes ...
0
votes
0answers
32 views

sforce.console.getFocusedPrimaryTabId returns undefined value

sforce.console.getFocusedPrimaryTabId returns 'undefined' value. I am using the function in a Javascript button on Lead object to open a sub tab if the button is clicked in console. if(typeof (srcUp)...
0
votes
0answers
17 views

Open lightning component as well as VF page on same related list button

We have a custom VF page for a 'New Contract'. While migrating to lightning, we have created a lightning component for this 'new contract' VF page. There is a new contract button in the Account's ...
0
votes
2answers
2k views

ShowToastEvent notification is not displayed in LWC

I have a problem with Toast Event in Lightning Out App. I don't know why when I click on button "Show notification" - nothing happens. I want to see notification, but it's not showing. HTML file: &...
0
votes
1answer
24 views

Button should get clicked only once for each record

I created a Button from Buttons,links.The button is placed in the detail page,That button should get clicked only once for each record.How can this possible. Regards, Usha
0
votes
0answers
179 views

Add lightning rich text toolbar buttons from css

How can I use css to add toolbar buttons to the lightning:inputRichText editor? When I used css to modify the height of the editor window, I lost the color button from the toolbar. I was able to get ...
0
votes
1answer
850 views

SLDS Button refreshing entire page on click in LWC

I am just after a simple button icon to indicate a warning. I need it to pop up a tooltip on click of the errors. So I found <lightning-button-icon> which was just about what I needed. The ...
0
votes
0answers
45 views

Lightning Button which Resets the form (uncaught action)

I am currently working on a lightning component which takes the input from a user and let them submit or reset it. Upon submission, the data is fed to an external system and get the results of the ...
0
votes
0answers
113 views

Call Apex Controller method from button in Visualforce component table row

I have a Visualforce page which has a few Visuaforce Components to display sections of data, one of which contains a table with an "apex:repeat> for each row. Each of these rows has a button, which, ...
0
votes
0answers
22 views

Javascript Code on Order Object in Create Order Custom Button

I want to override Standard Button with Custom Functionality. When user clicks Create Order button it should check for its related Quote's Quote lines product name which contains QSM then it should ...
0
votes
0answers
41 views

Is it possible to create a custom button which causes related lists to refresh?

I would like to add a button to a page layout which when clicked would cause all the related lists to refresh. Is there a page event I can trigger to make this happen? Is is possible? How would I ...
0
votes
1answer
29 views

How do I call a Lightning Component from my Visualforce page button/checkbox?

I have a custom VF page that displays information from a custom object. I currently have a checkbox that displays/hides a VF section to enter a new record of this type, but would like to make use of a ...
1
vote
2answers
619 views

how to remove default subject value “Call” from log a call button from activity history?

I want to remove the default subject value "Call" from the 'log a call' page from activity history section on case page. Could it be possible? Thank you. Thanks, Anitha
0
votes
0answers
25 views

Having trouble with a date/time get;set;

UPDATE I made a global string in the controller called temp date composed of the date as yyyy/mm/dd and then used THIS is the get;set; var rather than the one I directly use in the query. When I am ...

1
2 3 4 5
7