Questions tagged [list-button]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
-1
votes
0answers
13 views

How to redirect from one lightning page to another lightning page record type selection page with pre poulating the lookups [on hold]

I'm working on migrating list button(onclick javascript ) to quick action.I have fetched the necessary parameters.I know how to redirect in classic ui. Can anyone please guide me here to redirect in ...
0
votes
1answer
49 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
2answers
39 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
0answers
45 views

List button - VisualForce Page - Modal

Is there is a way to open the VisualForce Page of a list button (related list button) in a modal instead of in a new tab ?
0
votes
0answers
29 views

List button - Visual Force Page

I need to create a list button with Visualforce page as Content source, that will appear in related list next to the button 'Add products', as you can see below. This related list is in Opportunity ...
0
votes
0answers
48 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 ...
0
votes
1answer
496 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
1answer
27 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
0answers
290 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
1answer
25 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
1answer
312 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
1answer
409 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
1answer
236 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
1answer
1k 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
1answer
184 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 ...
0
votes
2answers
465 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
0answers
619 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
0answers
51 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
1answer
231 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
0answers
294 views

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

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
1answer
23 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
1answer
80 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
1answer
918 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-...
1
vote
2answers
9k 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
1answer
33 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
1answer
149 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
1answer
83 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
1answer
126 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
1answer
306 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
1answer
2k views

Lightning modal dialog from a list custom button

After much research, I couldn't see my question answered. And the question is: is possible, from a related list, have a custom button that opens a lightning modal dialog, as is the behavior of the ...
0
votes
3answers
84 views

Creating Custom “new” LIST button for custom object

I have a junction object called relationships. It is tied to Projects and Accounts. I am just trying to create a custom list button that adds a new record. So far I have this: window.open("{!URLFOR($...
1
vote
0answers
580 views

Prepopulate Name and lookup field value from related list new button

On a custom object, I've managed to auto populate the custom object's name field to a default value using below custom vf page code: <apex:page standardController="CustomObject__c" recordSetVar="...
2
votes
0answers
74 views

Javascript Button only works for my login in sandbox,for others it throws error

I have a weird issue in my sand box. I had wrote a javascript custom button to open a tab in primary tab.But the weird  thing is this code only works in my Login only,for others in the same sandbox it ...
3
votes
3answers
2k views

How to Pass in Checked Objects from RelatedList into VF and Apex Class Constructor?

I am currently trying to pass in checked objects from a salesforce related list from the Accounts Page, via a custom Visual Force List Button in order to instantiate my Apex classes based on the ...
0
votes
1answer
103 views

Mass transfer not happening while using custom list button

{!REQUIRESCRIPT("/soap/ajax/16.0/connection.js")} var records = {!GETRECORDIDS($ObjectType.Lead)}; var url = parent.location.href; var newRecords = []; if(records[0] ==null) alert('Please select a ...
1
vote
1answer
95 views

Not able to mass transfer records based on the condition

I need to have a list button used to assign the records to the corresponding queue based on the lead type. Here is my code . I dont know that part i have missed here. {!REQUIRESCRIPT("/soap/ajax/16.0/...
0
votes
1answer
259 views

How to resolve “{errors:{message:'Id not specified in an update call', statusCode:'MISSING_ARGUMENT', }, id:null, success:'false', }” in list button

I am having a requirement like if lead industry(standard field) is equal to "education" , after clicking that button it should be changed to "Energy". But when i am doing that i am getting an error ...
2
votes
0answers
446 views

How to create list button with in SF lightning interface?

I have list button on Contact search layout with vf page and set controller. It is ok for SF classic but in Lightning interface do not have check boxes for multiselect for the contacts even though ...
1
vote
1answer
432 views

How to update the child custom Object Picklist field values while creating the child record from Parent Object related list?

I have a Custom Object called Opportunity_carset.the related list of Opportunity Carset Object is Service. The Opportunity Carse Object has two fields. Model Version The Service object has some ...
1
vote
1answer
341 views

Query on Javascript get error Malformed_Query

I create list button OnClick Javascript Button on Lead. it will update the Is_Picked__c checkbox on selected record whenever i click the list button. but i still get MALFORMED_QUERY. Any thoughts? {!...
0
votes
0answers
80 views

I need a URL list button to email multiple contacts

My client would like to begin leveraging Salesforce Tags to cut down on custom field creation, and they're just handy in general. The trouble is, one contacts are tagged, there's nothing you can do ...
1
vote
0answers
3k views

Custom Button that opens a visualforce popup, is needed to be reused as List Button as well

I have a custom button on Account detail page that onclick javascript opens a visualforce page window.open('/apex/test_k?id={!Account.Id}', '_blank', 'height=600,width=600,resizable=yes,scrollbars=...
0
votes
0answers
30 views

Javascript button working but not in my partner laptop

I have javacript list button on custom object payment to create child object under opportunity. The code running as expected, but not in my partner laptops. I try enable javascript on their browser ...
1
vote
1answer
106 views

Custom object has standard “List” action , how to get a “List” button onto the page layout?

I must be missing something simple. I have made a custom object, call it TestLog. If I click my TestLog object to see details, in the section "Buttons, Links, and Actions" I see eight items: Accept, ...
0
votes
1answer
397 views

How can i clone record use deepclone() method and update clone recorded id with its related list?

The problem arising clone recorded id does'not updated so and does'not appear related list and updated field so how should i do this? Apex class Public Class CloneVersionwithTextController{ Public ...
1
vote
0answers
833 views

How to clone record with its related list using custom clone list button in Sobject?

Clone record with its related list and update the picklist value i have created one button on record top beside the clone button, when clicked, execute code that would make a new version record with ...
0
votes
2answers
121 views

Error: List has no rows for assignment to SObject

i have created one button on record top beside the clone button, when clicked, execute code that would make a new version record with the same name and append today's date on the end of the name to ...
2
votes
1answer
686 views

Clone record with its related list by clicking on custom button on that record ?

i have created one button on record top beside the clone button, when clicked, execute code that would make a new version record with the same name and append today's date on the end of the name to ...
0
votes
1answer
157 views

Javascript Message show on List button click for a profile

I have a requirement to show a javascript pop-up that 'U r not allowed' when a particular profile Users click on the List button. For the rest of the profiles , I have a landing VF Page to deal with. ...
-2
votes
1answer
508 views

use javascript function in list button onclick javascript

In a List button, i execute javascript code, and for this i defined a static resource where i implemented some functions and i included my resource this way : {!REQUIRESCRIPT('/resource/...