Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To create a page that contains code for the Create Dial List button, perform the following steps:

  1. Go to the Administration Setup Page in  Setup in Salesforce.
  2. On the left-hand side of the Salesforce window, in the App Setup section, expand Developthe Quick Find field, type 'Visualforce Pages'.
  3. In the expanded filtered list of items, click click Visualforce PagesVisualforce Pages appears.
  4. At the top of the list of Visualforce pages, click New.

    Section


    Column
    width60%

    A new Visualforce Page appears.


    Column
    width40%

    New VisualForce Page



  5. Type the following information:

    Section


    Column
    width60%


    FieldDescriptionExample
    LabelA label that identifies the page in Setup tools.Dial List From Custom Object
    NameThe unique name that identifies the page in the API. The name must contain only alphanumeric characters. For further restrictions on field contents, click Help for this Page.DialListFromCustomObject
    DescriptionAn optional description of the page.Code for a button that creates a Dial List from selected entries in a List View.



    Column
    width40%

    New VisualForce Page



  6. In Visualforce Markup, paste the following code, replacing 'My_Custom_Object__c' with the API Name for your object:

    Section


    Column
    width60%

    <apex:page standardController="My_Custom_Object__c" recordSetVar="listRecs" extensions="NVMConnect.ListFromListViewController"> <NVMConnect:ListFromListView dataSource="{!me}" /> </apex:page>


    Column
    width40%

    VisualForce markup


    Click Save. Your newly created page appears.

...