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
Ashsih jaiswalAshsih jaiswal 

Custom button is not working on community.

HI All,
I have one issue at partern community lightning.
I have created a list button at related list object of account.
I used button type list with URL. But it is not working.
below URl I passed in button body.
{!$Site.Prefix}/apex/Address?accId={!Account.Id }&retURL=%2F{!Account.Id }
Please help and guide me.
Khan AnasKhan Anas (Salesforce Developers) 
Hi Ashish,

Greetings to you!

According to Salesforce doc: (

Visualforce custom list buttons and custom list buttons with a URL source are not supported in Lightning communities.

I hope it helps you.

Kindly let me know if it helps you and close your query by marking it as solved so that it can help others in the future. It will help to keep this community clean.

Thanks and Regards,
Khan Anas
Ashsih jaiswalAshsih jaiswal
Hi Khan Anas,
Thanks for resposne.
I understand. Can you let me know any other way to button working.
I dont have much idea about community.
Please let me know the alternate way.