How to deploy a custom app using the salesforce package xml?

980    Asked by AugustinaFuentes in Salesforce , Asked on Feb 27, 2023

I work on a project that consists of a Lightning App including two Lightning Component Tabs. 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 a "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?


    
        *
        StaticResource
    
    
        *
        CustomApplication
    
    
        *
        ApexClass
    
    
        *
        ApexPage
    
    
        *
        CustomField
    
    
        *
        CustomMetadata
    
    
        *
        CustomObject
    
    
        *
        CustomTab
    
    
        *
        FlexiPage
    
    
        *
        LightningComponentBundle
    
    54.0
Answered by Clare Matthews

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



Your Answer

Answer (1)

Stellen Sie sicher, dass Sie die folgenden Komponenten in Ihre package.xml aufgenommen haben: StaticResource, Custom Application, ApexClass, ApexPage, CustomField, CustomMetadata, Custom Object, CustomTab, und FlexiPage. Stellen Sie außerdem sicher, dass Ihre Salesforce-Version 54.0 oder höher ist. Wenn alle diese Komponenten vorhanden und auf dem neuesten Stand sind, müssen Sie möglicherweise Ihre Lightning App Builder-Einstellungen überprüfen, um sicherzustellen, dass die App für das Systemadministratorprofil sichtbar ist. Erfahren Sie mehr über benutzerdefinierte Software und wie Sie eine benutzerdefinierte App mit dem Salesforce Pack XML bereitstellen. Mit der richtigen Anleitung können Sie eine leistungsstarke, effiziente und sichere benutzerdefinierte App erstellen, die Ihre spezifischen Anforderungen erfüllt.

11 Months

Interviews

Parent Categories