2

I am trying to upload a custom component on the community site page, but it's not visible on the community site.

1 Answer 1

2

Just give it a try

<?xml version="1.0" encoding="UTF-8"?>
<LightningComponentBundle xmlns="http://soap.sforce.com/2006/04/metadata">
    <apiVersion>51.0</apiVersion>
    <isExposed>true</isExposed>
    <targets>
        <target>lightningCommunity__Page</target>
    </targets>
</LightningComponentBundle>

Hope it will help you.

1
  • 4
    Hi, and welcome to SFSE! Remember to use the format code button ({}) in the editor to have your code properly appear.
    – sfdcfox
    Commented May 13, 2021 at 19:22

You must log in to answer this question.

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