How to insert the Archive Widget as a Lightning Web Component

    The Archive Widget can be added to the Lightning Web Component.

    There are two recommended procedures for adding the Archive Widget. You can select either option. Both are described in this article.

    Option One

    1. Navigate to Setup.
    2. Select the Object Manager tab.

    1. Select the Object to insert the widget on its page, for example - Account.

    1. Select “Lightning Record Pages” to access the layout editor.

    1. Select the existing record page or create a new one.

    1. Select Edit.

    1. Select the location to insert the widget on the page.
    2. On the Components toolbar scroll to the Custom - Managed section.
    3. Locate the component: “relatedArchiveRecordsWidget”.

     

     

    1. Drag and drop the component to the desired location.

    1. Save the change.
    2.  Ensure the page is Activated.

    1. Click Close to go back to the object.

    Option Two

    1. Navigate to the Object you want to add the widget to.
    2. Open the object detail page.
    3. Click the Settings icon to open the drop-down menu.
    4. Select Edit Page.

    1. Click the middle component to see the different tabs on the right.

    1. Click Add Tab to add a new tab for the Archive.

    1. Choose custom type and create a custom label for the tab (i.e. Archive).

    1. Click the new Archive tab to configure it.

    1. On the left menu, drag the Visualforce Component onto the newly created tab.
    2. Select the appropriate Visualforce page (ie OwnBackup_ArchiveTableViewForAccountVF for account layout).

    1. Add in a custom Label (ie Archive Records).
    2. Adjust the Height to be between 400-600px.
    3. Save and activate the page layout to make it visible to your users.

    Note: A default object can be configured when opening the Archive Widget.

    You can also view a video via this link.

     

    Using the Search Widget

    You can view archived records from within a Salesforce Object.

    https://lh5.googleusercontent.com/WdyS8hBnmc6fpsqVZAmrCzCknGBsuF2w-bjkpjHz3aPWiQM2VLuLd_JZfEYd3p9nXsdFr8nUD45mG-xRAZ1zY1sypcnzvIOJcAI9P9emvdTOb3Nss1hiv1AVpEVtKtzYZ4l2zATaDYo

    You can view, unarchive or export a specific record by clicking the relevant icon on the relevant record.

    https://lh4.googleusercontent.com/xfLyiX9dL1qLWVHBXOruSBYFkNbcZseUyiz7yztyoPItjDCo7plrlYlWQ7ZiqKttBtLhN8TpsfnxqBN9aZ6JVmm4UZMX-uQQ2CeLiP_OmE00yIpbrquVim8RAiklVxAo6HFzaPyfXto


     

    « Previous ArticleNext Article »


    Contact Us

    Sometimes you just want to talk to someone. Our customer support team is available by phone:
    Request a Technical Support Call Back