0

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 in any section (Button/ QuickAction/ Mobile and lightning action) of page layout to add it in the quick panel.

What could be the issue? The old list button was created in 2016. Does salesforce has stopped supporting JavaScript List buttons now? If yes than what is the alternate of it (is it creating LWC and add it in button action)

Kindly suggest, Thanks in advance.

2
  • 1
    Tags aren't bits of text that you add randomly. They're supposed to describe what the question is about. This isn't about SalesforceDX (it appears none of your questions are), the cli, apex, etc... So it's not appropriate to be using those tags.
    – Derek F
    Mar 6 at 11:51
  • 1
    Check this may help you - Add, remove, or create buttons for a list view Mar 6 at 12:13

1 Answer 1

0

Custom JavaScript buttons and links only work in Classic. You'll need to make a Lightning alternative in order to enable custom code for Lightning. For the most part, this means you'll be creating Lightning Web Components. For more information, please read about how to Convert JavaScript Buttons and Links into Lightning Experience Alternatives.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .