2

I work at project that consists of Lightning App including two Lightning Component Tab. I needed to deploy it to another org and continue working. I retrieved all necessary components using package.xml and deployed it to target org. Deployment went without errors.

When I open my app, I see empty space and "No items" tab. I entered Lightning App Builder -> App settings -> User profiles and added System administrator. Nothing changed.

What else should I do to have it working?

<Package xmlns="http://soap.sforce.com/2006/04/metadata">
    <types>
        <members>*</members>
        <name>StaticResource</name>
    </types>
    <types>
        <members>*</members>
        <name>CustomApplication</name>
    </types>
    <types>
        <members>*</members>
        <name>ApexClass</name>
    </types>
    <types>
        <members>*</members>
        <name>ApexPage</name>
    </types>
    <types>
        <members>*</members>
        <name>CustomField</name>
    </types>
    <types>
        <members>*</members>
        <name>CustomMetadata</name>
    </types>
    <types>
        <members>*</members>
        <name>CustomObject</name>
    </types>
    <types>
        <members>*</members>
        <name>CustomTab</name>
    </types>
    <types>
        <members>*</members>
        <name>FlexiPage</name>
    </types>
    <types>
        <members>*</members>
        <name>LightningComponentBundle</name>
    </types>
    <version>54.0</version>
</Package>
2
  • 1
    You should add the Admin profile to make sure you retrieve all necessary permissions.
    – sfdcfox
    May 30, 2022 at 16:09
  • Thanks @sfdcfox, that's the solution! May 30, 2022 at 16:15

1 Answer 1

1

Many of the listed objects have Profile Permissions. As such, you should include the Admin profile to the package. This will make sure that the appropriate permissions are also retrieved for deployment to another organization.

You must log in to answer this question.

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