How to Create a Custom Archive Visualforce Component

     

    The following information is relevant for Orgs that use Salesforce Classic.

    These steps are only required if you need to create a widget for the objects that are not included with the managed package. If irrelevant to your setup, you may skip this step.

    1. At the top-right of the page, click the Settings icon to open the drop-down menu, and select Setup.

    2. Filter by entering Visualforce Pages in the Quick Find.

     

    3. Click New.

     

    4. In the Page Information section, create a new Visualforce page, and name it appropriately to reference the specific object (with no spaces).

    5. In the Visual Markup section, insert the following code into the body: 

    <apex:page showHeader="false" standardController="Account" docType="html-5.0" >
    <OB_Archiver:SearchResultWidget recordId="{!Account.Id}" object="Account"> 
    </OB_Archiver:SearchResultWidget> 
    </apex:page>
    

    6. Replace the marked parentObject to be the object of the Visualforce page.

    7. Click Save.

     

     

    « Previous ArticleNext Article »