You need to sign in to do that
Don't have an account?
Jonathan Spink
My button works in Lightning but not in a Community
I have a Detail Page button with a URL which works in Lightning but not in a Community - instead it gives an 'Address is down for maintenance' error. The URL is:
/apex/VF17_CreateOrder?contactId={!Contact.Id}
The page itself has the 'Available for Lightning Experience, Experience Builder sites, and the mobile app' box ticked.
/apex/VF17_CreateOrder?contactId={!Contact.Id}
The page itself has the 'Available for Lightning Experience, Experience Builder sites, and the mobile app' box ticked.
Try adding implements="forceCommunity:availableForAllPageTypes" and check below reference for community.
https://releasenotes.docs.salesforce.com/en-us/winter16/release-notes/rn_lightning_community_builder.htm
Hope above information was helpful.
Please mark as Best Answer so that it can help others in the future.
Thanks,