In this Salesforce Lightning tutorial, we are going to discuss How to deploy the App page to Salesforce Lightning Application.
In Salesforce Lightning, we build Custom App Pages with the help of Lightning App Builder. We can deploy these Custom App Pages to a number of Applications.
In Salesforce development we generally add a custom app page to the application while creating an app page. I got into a situation where I have to add the custom app page to a different application. So, I got a solution which we will discuss straight forward in this tutorial.
Deploy Custom App Page to Salesforce Lightning Application
To deploy a Custom App Page, you first need to create a custom app page with the help of Lightning App Builder. Now to deploy the custom app page to the Salesforce Lightning Application follow the below steps.
Step:1- First, go to the Home Page of Salesforce Lightning and below the home page there will be a quick find bar search Lightning App Builder and click on it as shown in the below picture.
Step:2- On clicking the Lightning App Builder a new window will appear, where we will see the list of created Lightning Pages. We have to click Edit on the App Page we want to deploy to the Salesforce Lightning Application.
Step:3- In this step, you can see our custom App Page is shown. Click on the Activation button on the top right side of the window.
Step:4- On clicking Activation, a new window will appear with the heading Activation: “application-name”. Now go to the LIGHTNING EXPERIENCE tab and select the application on which you have to deploy the Custom App Page.
In this case, I have selected the application Sales Tech App. After selecting the application click on Add page to the app and then click on Save.
Step:5- Till now we have completed the deployment of the app page to the application. To view the app page in the application, again go back to the Home Page of Salesforce Lightning and click on the App Launcher (9 dots) as shown in the below picture, and in the dropdown, menu click on View All.
Step:6- On clicking View All, the Application in which we have added the app page will be visible. In this case, we have added Custom Page to the Lightning Application Sales Tech App, so we will click on it.
Step :7- When we click on the Application name, it will open in a new window where we can see the app page Custom_Sales_App_Page is successfully deployed and visible in the tab as shown in the below picture.
Now we have successfully deployed the Lightning Custom App Page to the Salesforce Application.
In this Salesforce Lightning tutorial, we learned how to deploy any Custom App page to the Salesforce Application. By following the same method we can add the same Custom App Page to multiple Applications.
After Deploying the Custom App Page, we also viewed it through the to make it is deployed successfully.
You may also like to read:
- How to Create a Custom App Page in Salesforce Lightning
- How to remove App Page from App in Salesforce Lightning
- How to add logo image to a Salesforce Lightning Application
I am Bijay Kumar, the founder of SalesforceFAQs.com. Having over 10 years of experience working in salesforce technologies for clients across the world (Canada, Australia, United States, United Kingdom, New Zealand, etc.). I am a certified salesforce administrator and expert with experience in developing salesforce applications and projects. My goal is to make it easy for people to learn and use salesforce technologies by providing simple and easy-to-understand solutions. Check out the complete profile on About us.