2

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

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 May 13 at 19:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.