1

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

Thanks.

2

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.

Component:

<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">
                {!v.dashboard}
            </lightning:layoutItem>
        </lightning:layout>

    </div>

</aura:component>

Design:

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

Your Answer

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