Questions tagged [list-button]

The tag has no usage guidance.

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

Custom JavaScript list button is not visible

I have a custom object. There I'm trying to add list button of content source JavaScript. The script is correct, I've copied it from existing functional script. However, I'm not able to see the button ...
unflagged.destination's user avatar
1 vote
0 answers
85 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
610 views

Background context and Save URL in URL hacking

I have a URL list button that pops up the New Account contact relationship form. Below is the URL: {!URLFOR('/lightning/o/AccountContactRelation/new?backgroundContext=/lightning/r/Account/{Account.Id}/...
Rahul Allada's user avatar
0 votes
1 answer
1k views

Custom button URL with default values to create a Lead from a Contact

I have created a custom URL button with default values to create a Lead from a Contact. I'm unable to map Lastname and email field values from contact to Lead. Can anyone help with this? lightning/o/...
Lilly's user avatar
  • 17
1 vote
1 answer
2k views

List View button flow Redirect Url

I have a need to give the ability to the users to create specific type of opportunity from the opportunity related list on the Account. For that I created a list view button of type url with the url ...
Raphael D's user avatar
  • 554
0 votes
1 answer
3k views

Passing record id In the List Button (URL type)

I had created a list button and from that button I am calling the lwc component.I want to pass the parent object Id to that LWC component from that list button. URL --> /one/one.app?strRecordId=?#...
darkshadowrule's user avatar
0 votes
1 answer
120 views

ListView custom button does not update pulled in selected ids

I am struggling to figure out what I am missing for my code to work as expected. I have a visualforce that is tied to a button that just is used to mass update a status. This button is supposed to ...
SoleHack's user avatar
  • 115
0 votes
1 answer
1k views

List button URL with default values to create a Task from a custom obj record related list

I am unable to create a list button in Task to be added on custom obj related list to create a task with some values from custom obj that would work for lightning. This is how it is already working ...
Kartik.S's user avatar
0 votes
0 answers
405 views

Opportunity team members: list view buttons not available to specific users with same role and profile as others

I have several users in a team with the same profile, role (high up in the hierarchy), and permission sets. However, two specific users are unable to view the Opportunity Team related list buttons on ...
Ayee Y.'s user avatar
0 votes
0 answers
145 views

After comma text values are not capturing in the lightning URL

Display Type: List button Content Source: URL Code: {!IF($User.UIThemeDisplayed="Theme4d", URLFOR('/lightning/o/Quote/new?navigationLocation=RELATED_LIST&backgroundContext=%...
mayank gupta's user avatar
1 vote
1 answer
50 views

If I click list button 'sync', I want to move on to the view screen of the checked record

I want to check the record as shown in the next screen and move on to the checked record screen when I click the sync button. But the screen doesn't go over and it keeps stagnating. Here's is my Code ...
Hwang's user avatar
  • 31
0 votes
1 answer
683 views

Related list with custom button is not getting updated when a new record is saved

I'm using a custom list button to create records. It's working, but when a new record is created and saved, I need to refresh the full page to see the new record at the related list. I wish I didn't ...
Sabrina T.'s user avatar
1 vote
1 answer
514 views

Return to Initial List view when using a Visualforce Page and a Flow

We are using a list button that calls a visualforce page which execute a flow. Basically we want to delete specific cases from a list view in "Bulk". We want to know if it's possible to ...
Juan Jardim's user avatar
0 votes
1 answer
962 views

Making a Record Related List Button for Classic and Lightning

I have a related list button in Classic that isn't working in Lightning and we are still transitioning. We created a Lightning Action that calls a Lightning Component and leads to the same controller ...
LMills's user avatar
  • 23
0 votes
1 answer
129 views

Can I customize the "display as" toggle on a list view to always display all options?

In a list view, when you click on the "display as" button, it gives you the three options for displaying the list view. I wonder if there's a way to customize this so that the display as ...
user-2147482428's user avatar
1 vote
1 answer
2k views

Lightning Navigate to Create Record with Default Values not working

I want to add a button on the related list to create a new record with some prepopulated default value in the standard "Name" field. I'm looking at the release notes from Spring 2020 which ...
user569925's user avatar
  • 1,179
2 votes
4 answers
978 views

Lightning & Classic Hybrid List Button

Has anyone made a Lightning hack for a List Button that acts as a Hybrid for both Classic and Lightning? How'd you do it? Context: I'm running a pilot of some users on Lightning and I have an Event ...
Cory O. Bennett's user avatar
0 votes
0 answers
17 views

Show selected records from Opportunity List on Lightning Page [duplicate]

I have an existing Lightning page that display records and some action buttons against each record. I want to have a Button on Opportunity List view, So that, a user can pass the selected records to ...
Syed Abdullah Bin Zubair's user avatar
0 votes
1 answer
825 views

Add "New" Button to Metadata Related list

We have some related MetaData objects in Salesforce. However, when I'm on the parent metadata record, I can't add a child record from the related metadata record. I'm thinking the only way I can do ...
thinker's user avatar
  • 1,432
0 votes
1 answer
2k views

Mass "Change Owner" case list-view button not showing on Community?

In our lightning community, we cannot figure out why the mass "Change Owner" button is not showing on a list-view within our community. In Case search layouts, the mass "Change Owner&...
SFUser220's user avatar
0 votes
2 answers
70 views

How to remove Assign to Volunteer Project button in Standard Contact List View Page

I logged in to my developer org and upon checking the standard contact list view page, I noticed a button named Assign to Volunteer Project. It suddenly appeared among the list of buttons when it is ...
Ertyq's user avatar
  • 331
0 votes
1 answer
600 views

Why custom List view button sends only 20 records to visualforce page?

I am performing some bulk operation on the Account list view. For this purpose, I used the custom List button Say Hello of visualforce type with the following attributes:- <apex:page ...
Sushant Srivastava's user avatar
2 votes
0 answers
840 views

List view button in Lightning

I know this is not a new thing but wanted to put some more focus on it to get working solution I need to create a "List View Button" using pure Lighting (No VF Page at all). Till now I have tried ...
Ishwar Mete's user avatar
  • 1,492
0 votes
1 answer
568 views

Is it possible to add a mass quick action/button to Account listview to create a Note?

I created a new quick action to Add a Note on the Account object, but even though I go to the Search layout/List this action is not available there. Is it possible to do this? I would like to select ...
Irene's user avatar
  • 1,801
0 votes
2 answers
2k views

Lighning: is there a way to use Action button to show in related list

Is there a way to show an Action button in the related list of an object in Ligning. The only way I see is to use the "New Button or link" with type "List" selected, but there we can not use the new ...
Boris Gichev's user avatar
0 votes
0 answers
141 views

Adding parameters to custom List button with intermediate record type selection screen

We have a Quote object with Price as the child object. When creating a Price record from parent's related list, we are currently redirected to the standard record type screen. Can we somehow override ...
Sumita's user avatar
  • 1
1 vote
1 answer
4k views

Access parent record id from visualforce page called in custom list button?

I’m trying to create a custom List button that can call a Lightning Component. However because that’s not yet directly possible, I’m trying to embed the Lightning Component in a Visualforce page and ...
dmorse's user avatar
  • 75
0 votes
1 answer
52 views

I developed a portal using salesforce lightning. In Desktop view having lot of options, but Not in IPAD view. Why?

I developed a portal using salesforce lightning. In Desktop view having lot of options, but Not in IPAD view. Why? Can you please help me Please check the difference of IPAD View and Desktop View ...
Magi102's user avatar
  • 91
0 votes
0 answers
1k views

Child recordType will be inherited from parent object recordType

I have 2 custom objects, CustomA__c and CustomB__c, Master-detail relationship between them, A is master and B is child. I am working in lighting experience. When creating new record from Master ...
RSICK's user avatar
  • 149
0 votes
1 answer
35 views

Issue when trying to use custom list button

i am trying to create a custom object list button but i'm getting an issue "unknown constructor 'sendemailctlr.sendemailctlr()' Markup" visualforce page <apex:page standardController="...
ClevelandDan's user avatar
0 votes
1 answer
521 views

Visualforce custom list button not working in Napili Community

I have created a custom list button with visual force page and it is working in Salesforce console. The button is not responding in Napili community as it doesn't do any action after clicking it. ...
user09's user avatar
  • 101
0 votes
1 answer
699 views

sforce.one.createRecord in LEX Unable to save the record

I am trying to create a related list button with default values with sforce.one, however when I try to click Save button I am getting this error "Review the errors on this page". But no errors listed, ...
Ajay 's user avatar
  • 1,579
0 votes
1 answer
503 views

Disable a custom button on page after click

We have a button list button on Order (Bill Now Button). It opens a VF page and executes some actions. After clicking the button, it take a while to be redirected to the VF Page. Some users click it ...
jema's user avatar
  • 423
4 votes
1 answer
2k views

visualforce list button not working in Napili Community

Visualforce list button is working in lightning experience whereas the same button is not working in Napili Community.I have enabled Available for Lightning Experience, Salesforce1, and Lightning ...
sfdc's user avatar
  • 13.7k
0 votes
1 answer
1k views

Remove Custom List button for only few users of a Profile

I have a Custom list button which needs to be hidden/removed for those users of a profile who do not have delete access. There are few users of the same profile who has delete access for that custom ...
Sowparnika's user avatar
1 vote
3 answers
5k views

How can Lightning components be opened from a list view?

I am looking to add a custom button to the Account list view that opens a Lightning component. How can I do this?
Mossi2's user avatar
  • 469
1 vote
0 answers
743 views

Add a lightning component to a related list on a record page layout

I currently have an object called related files that has 8 different object lookups and I have created a button for it that uses javascript to extract the record ID so just 1 button can be used for ...
Mark Dale's user avatar
1 vote
0 answers
77 views

Detail button not saving the url to the related list section of the parent account

I am trying to add a list button to the related list section(custom Object) of Account page and upon save ,it should bring the focus back to the related list section Please find image below of the ...
Hara Prasad Sahoo's user avatar
1 vote
1 answer
589 views

how to apply mass delete java script function for deleting specific record type in case

I am using mass delete list button.I am using following code for mass delete: {!REQUIRESCRIPT("/soap/ajax/29.0/connection.js")} var selectedRecords = {!GETRECORDIDS( $ObjectType.Case)}; sforce....
Gmi's user avatar
  • 15
1 vote
1 answer
403 views

How to get list of selected OpportunityLineItem ids List Button VF - Salesforce Lightning

We are migrating our development from Salesforce Classic to Salesforce Lightning. In Salesforce Classic having a development 'Mass Update' opportunity line item from Opportuntiy. Having custom list ...
Lavanya Sanathkumar's user avatar
2 votes
1 answer
80 views

Is there a way to use one button on object search results to assign different record types depending on profile?

We would like to have a New Account button on the search results page for accounts: We currently have a custom button (as you can see above) but it is opening the incorrect record type. What we want ...
Rachel Linder's user avatar
3 votes
1 answer
141 views

Custom Case Change Due Date button

I'm trying to create a button that would change the Due Date field of a selected case in a List View. I'm stuck on the URL, since this is a mass change type would there be a custom URL that would be ...
Skobiwankanobi's user avatar
0 votes
1 answer
3k views

Custom list button throwing 'Insufficient privilege' when clicked on by user other than System admin profile

I have a custom list button on a related list under opportunity.On click of the list button, it takes me to a VF page. This works fine for the system admin, but when logged in as a user with non-...
Sowparnika's user avatar
2 votes
3 answers
21k views

window.location.href navigating to correct page but not updating URL

What Am I doing ? I have this JavaScript list button 'Create Record for RecordType X' on Object B (which is child to Object A) to navigate to the correct VF page "RecordTypeX_VF" with RetUrl of ...
Rajeev's user avatar
  • 222
1 vote
1 answer
86 views

Is there a way to prevent List View buttons appearing in Customer Portal?

If I create a List View button that is really only intended for my internal users, that List View button also seems to be appear in the Customer Portal. For example, Test Button is valid for ...
Phil Hawthorn's user avatar
0 votes
1 answer
462 views

Why is Salesforce choking on the 'forEach(function())' function

Desired output: Loop through selected custom sObjects and insert child objects determined by a CELING value of the difference between the parent record's two date fields. Problem: The Button compiler ...
GPP's user avatar
  • 553
0 votes
1 answer
167 views

Not able to return visualforce page from custom List button

First of all let me explain why i am doing this.. my client do not want Action column (EDIT/DELETE) in related list so, i developed one visualforce and override it to original page layout.. Here is ...
HSdev's user avatar
  • 453
1 vote
1 answer
197 views

On-Click Button: Why is Salesforce passing in 'undefined' string value?

I am trying to auto-insert an array of Tasks based on the Accounts selected in the Account 'List View' tab. The tasks are inserting as expected, but instead of writing the Account Name in the subject ...
GPP's user avatar
  • 553
1 vote
1 answer
892 views

Linking List Button to visual force page not working

I'm trying to create a new Custom List Button which can redirect to a visual force page. The problem I'm facing is that the "Content" selector at the bottom of the "Custom Button Edit" page. There is ...
Kirill's user avatar
  • 11
2 votes
2 answers
7k views

Lightning modal dialog from a list custom button

Is it possible, from a related list, to have a custom button that opens a lightning modal dialog, as is the behavior of the standard buttons of these related lists? My research tells me that it isn't ...
André Garção's user avatar