Questions tagged [list-button]
The list-button tag has no usage guidance.
81
questions
1
vote
0
answers
38
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 ...
0
votes
0
answers
442
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}/...
0
votes
1
answer
799
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/...
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 ...
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=?#...
0
votes
1
answer
103
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 ...
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 ...
0
votes
0
answers
332
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 ...
0
votes
0
answers
135
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=%...
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
...
0
votes
1
answer
641
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 ...
1
vote
1
answer
462
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 ...
0
votes
1
answer
874
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 ...
0
votes
1
answer
118
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 ...
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 ...
2
votes
4
answers
906
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 ...
0
votes
0
answers
16
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 ...
0
votes
1
answer
778
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 ...
0
votes
1
answer
1k
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&...
0
votes
2
answers
68
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 ...
0
votes
1
answer
550
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 ...
2
votes
0
answers
781
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 ...
0
votes
2
answers
916
views
How to create a custom Activity History related list button on Account object to create a new record
I've been struggling for a while this one and am hoping someone can help. I need to create a Log a Call list button that I can display on Account Activity History Related List. Goal of this button ...
0
votes
1
answer
561
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 ...
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 ...
0
votes
0
answers
133
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 ...
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 ...
0
votes
1
answer
50
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 ...
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 ...
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="...
0
votes
1
answer
518
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. ...
0
votes
1
answer
694
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, ...
0
votes
1
answer
494
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 ...
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 ...
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 ...
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?
1
vote
0
answers
739
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 ...
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 ...
1
vote
1
answer
576
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....
1
vote
1
answer
397
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 ...
2
votes
1
answer
74
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 ...
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 ...
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-...
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 ...
1
vote
1
answer
78
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 ...
0
votes
1
answer
294
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 ...
0
votes
1
answer
159
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 ...
1
vote
1
answer
194
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 ...
1
vote
1
answer
874
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 ...
2
votes
2
answers
6k
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 ...