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
FernandaFernanda 

List view custom button on lightning community

I am changing the template of a community from the Visualforce + tabs to a lightning template.

I have a custom button of type list view. But i do not find a way to make it work.

if it is JavaScript type it does not even appear the button, which makes sense because of lightning.

if I use Visualforce type it appears but when I click it nothing happens.

if I use url type, it appears but nothing happens when I click it.

how do I make this work?

Thanks,
Fernanda
 
Ajay K DubediAjay K Dubedi
Hi Fernanda,

With communities, I think you are better off using a OnClick JavaScript that checks the user's profile before redirecting. If it is a community user, then redirect to the URL which contains the CommunityName, otherwise just redirect to the "normal" Salesforce URL.

Thanks,
Ajay
FernandaFernanda
Hello Ajay,

javascript burtons do not even display on lightning.
my problem is that none of the other 2 types seem to work for me. They do display but when I click them nothing happens.

regards,
fernanda 
Juan Robles 7Juan Robles 7
Hi - Did you get a solution for this? 
System Administrator 356System Administrator 356
Hey , am facing the same issue . Did you get the solution .
Sia Thripio 688Sia Thripio 688

Hello,
Any solution for this please?

I am facing same issue.

Bhargavi Ananthoju 6Bhargavi Ananthoju 6
Hi Fernanda/Sia/Juan,
Did you find the solution for this.. I am also facing the same Issue!
nikith ynikith y
Hi,

Any solution for this, I'm also have the same issue.