function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Mohamed FaizalMohamed Faizal 

quick action button added to list view is giving "select at least one record" message

I have created a quick action button (which creates a contact) in contact object and I have added the quick action button to the list view. I am getting a message "select at least one record" whenever I click on quick action button in the list view. Whether this is the expected behavior?
FYI:
 
quick action - contactquick action added to list view there is no recordtype in contact object.
mukesh guptamukesh gupta
Hi Mohamed,

it's depand on your Lightning component, what functionality is working behind this. Can you please share your component code.

if you need any assistanse, Please let me know!!

Kindly mark my solution as the best answer if it helps you.

Thanks
Mukesh  
Mohamed FaizalMohamed Faizal
Hi Mukesh,

There is no lightning component involed, this quick action (New Contact) button is similar to Standard new button. Kindly refer the quick action button screenshot in my earlier post.
ravi soniravi soni
hy Mohamed,
It's not giving only on this button but also 'Add to camping' button as well but my concern is that when there is already  a button that create a new contact then why you are creating another new. you can change label of new button.

let me know if it helps you and marking it as best answer.
Thank you
MSravMSrav
@Mohamed Faizal, Could you please let me know if you were you able to resolve the issue? I am facing the same issue, as I don't want to create any record type and I want to have separate custom new button which helps in inserting default values apart from standard new button.

 
reinmi joereinmi joe
If you have placed the custom button in a List View page, make sure you select at least one record before you execute the button action. From list view ...https://tractorsinfo.net/tj-maxx-tjx-credit-card-login/
Henry StarkHenry Stark
After reading this amazing and informative post I want to request you for written one blog about vertical machining center manufacturers (https://www.centrecnc.com/en/cnc-machining-center-vertical) as I am searching for the best post here but I can't find the quality posts.
peter gusmanpeter gusman
Last year i used live chat CRM software to aggregate sales data. Thats not working well.I used three website to aggregate the sales data. https://www.photoboothetc.com.au/https://www.goodmoments.com.au/. http://sundayads.in. I think this product is good for CRM
Patrick Farrell 4Patrick Farrell 4

I see no good information has really been given here on this topic.

 

I currently am trying to do the same. I dont understand why this is an issue when Salesforce documentation specifically states to do this method to adjust list view buttons.

User-added image

User-added image

 

Has anyone found the reason why this is happening? The button is to create a new record, so it makes no sense at all why I would HAVE to select one record? I would greatly appreciate any help I can get here, and if a work-around has been done, great. I just dont understand why it seems all I can do to change the button, and the form it asks to fill out, is create a screen flow.

Sheryl JohnsonSheryl Johnson
I have this exact same issue.  Agree that it makes no sense that you have to select a record in list view in order to use an action that creates a record.  My "New Contact" button brings up a screen with way too many fields (that I can't figure out how to pare down, BTW, if anybody has any ideas) so I thought making a new action would allow me to do a quick record create with just essential fields.  Which it does quite nicely...but only if you select a record in the list view.  So very annoying.  Hoping a new comment (and flagging some of the spam comments in this thread) might get the attention of somebody who might know if this is a "glitch" with Salesforce or if there is another way to make this happen.
Faiyaz Ghole 6Faiyaz Ghole 6
If you have creating contact from new action button, it will not work, The button should be on account or any other parent object so that the record will be filled in with the parent lookup value. else go with lighthing component