Module 3: Creating the Application

In this module, you create Tabs to provide access to the Session and Speaker objects. You group these tabs together in an Application to make them easier to access. Finally, you optimize Page Layouts to show relevant information in the Speaker and Session lists.

Step 1: Creating Tabs

To create the Sessions tab:

  1. In Setup mode, select Build > Create > Tabs

  2. In the Custom Object Tabs section, click New

  3. Select Session as the Object, click the magnifier icon next to Tab Style and select the Books icon

  4. Click Next, Next

  5. Uncheck the Include Tab checkbox to ensure the Sessions tab doesn't appear in any of the existing applications, and click Save (In step 2, we will add the Sessions tab to a new application).

To create the Speakers tab:

  1. In the Custom Object Tabs section, click New

  2. Select Speaker as the Object, click the magnifier icon next to Tab Style and select the Presenter icon

  3. Click Next, Next

  4. Uncheck the Include Tab checkbox to ensure the Speakers tab doesn't appear in any of the existing applications, and click Save

Step 2: Creating the App

A Salesforce App is a group of Tabs that makes it easy for users to access a set of related features.

  1. In Setup mode, select Build > Create > Apps

  2. In the Apps section, click New

  3. Check Custom app and click Next

  4. Enter Conference for both the App Label and App Name, and click Next

  5. Accept the default App Logo and click Next

  6. Add the Sessions and Speakers tabs to the Selected Tabs and click Next

  7. Check the Visible checkbox for System Administrator and click Save

  8. Select Conference in the App selector (upper right corner of the screen)

    If the Conference App doesn't appear in the App Selector, you probably forgot to assign it to the System Administrator profile. In Setup, select Build > Create > App, click Edit next to Conference, check the System Administrator profile, and click Save.

Step 3: Enter Sample Data

  1. Click the Speakers Tab, click New, and add a few sample speakers

  2. Click the Sessions Tab, click New, and add a few sample sessions

  3. To assign speakers to a session:

    • In the details view for a session, click New Session Speaker
    • Click the magnifier icon next to the Speaker field, select a speaker in the Speaker lookup dialog and click Save

    Notice that the speaker lists in both the speaker lookup dialog and the session details page don't provide very informative data at this time. We will fix this in the next steps.

Step 4: Optimize the Session Page Layout

In this step, you optimize the Session details screen: to allow the user to easily identify the speakers for a session, you add the appropriate fields to the Speaker list.

  1. In Setup mode, select Build > Create > Objects

  2. Click the Session link

  3. In the Page Layouts section, click Edit next to Session Layout

  4. In the Related Lists section, click the wrench icon (Related list properties)

  5. Add the following fields to the Selected Fields:

    • Speaker: Speaker Number
    • Speaker: First Name
    • Speaker: Last Name
  6. Remove the following field from the Selected Fields:

    • Session Speaker: Session Speaker Name
  7. Click OK

  8. Click Save (upper left corner)

Step 5: Optimize the Speaker Page Layout

In this step, you optimize the Speaker details screen: to allow the user to easily identify the sessions for a speaker, you add the appropriate fields to the Session list.

  1. In Setup mode, select Build > Create > Objects

  2. Click the Speaker link

  3. In the Page Layouts section, click Edit next to Speaker Layout

  4. In the Related Lists section, click the wrench icon (Related list properties)

  5. Add the following fields to the Selected Fields:

    • Session: Session Name
    • Session: Session Date
  6. Remove the following field from the Selected Fields:

    • Session Speaker: Session Speaker Name
  7. Click OK

  8. Click Save (upper left corner)

Step 6: Optimize the Speaker Lookup

In this step, you optimize the Speaker lookup dialog to allow the user to easily identify speakers.

  1. In Setup mode, select Build > Create > Objects

  2. Click the Speaker link

  3. Scroll down to the Search Layouts section, and click Edit next to Lookup Dialogs

  4. Add First Name and Last Name to the Selected Fields

  5. Click Save

Step 7: Test the Application

  1. Click the Sessions tab, select a session and make sure the speaker list shows the speaker number, first name, and last name

  2. Assign a new speaker to a session and make sure the speaker lookup dialog shows the speaker first name and last name

  3. Click the Speakers tab, select a speaker and make sure the session list shows the session name and date

If the lists don't show the expected fields, you probably forgot to click the Save button in the Page Layout screen. Go back to steps 4 and 5, and make sure you click Save at the end.

comments powered by Disqus