I am creating a new lightning App Builder Home Page. on login of user he need to see his Dashboard, now user is seeing his Dashboard. but my problem is Dashboard is Not apply entire screen. Below i have attached the Screen please let me know any work around for this. enter image description here



I hereby attached the code-Snippet for your reference.

After you created the component:

  1. Go to AppBuilder --> Select HomePage --> The Custom Component that you have created is listed on --> then select that.


<aura:component implements="lightning:homeTemplate" access="global" >

    <aura:attribute name="dashboard" type="Aura.Component[]" access="global"/>

    <div aura:id="container">

        <lightning:layout >
            <lightning:layoutItem aura:id="dashboard" size="12" class="dashboard">




<design:component label="One column layout">
    <flexipage:template >
        <flexipage:region name="dashboard" defaultWidth="MEDIUM">
            <flexipage:formfactor type="MEDIUM" width="LARGE" />
| improve this answer | |

Your Answer

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