Apply a Page Variation

Add Some Variety

Beyond using Audiences on an individual component, Audiences can also be used to show completely different pages to member segments of the site. Ursa Major Solar would like to customize the site's home page for each partner. 

  1. To return to Builder, click the down arrow next to your name and select Experience Builder.
  2. Click the gear icon next to Home to open the Page Properties.
    Gear icon highlighted on the page selector.
  3. Click the Page Variations tab.
  4. Click the down arrow to the right of Home and select Duplicate.
  5. Click the down arrow to the right of Home (1) and select Rename.
  6. Enter sForce Home.
  7. Click Save.
  8. Click the down arrow to the right of sForce Home and select Assign.
  9. Under Audiences, select the sForce audience.
  10. Click Assign.
  11. Click Done.
  12. Click the down arrow to the right of sForce Home and select Edit.
  13. Ensure the selected page is Home and the Page Variation is sForce Home.
    Home page with sForce Home page variation selected.
  14. Double click the text component with “Welcome!”
  15. Edit the welcome text to say Welcome to the sForce Hub.
  16. Click Publish.
  17. On the Publish Your Experience confirmation screen, click Publish, then Got It.

Test the Variation

Now that you’ve done that work, view the page variation in action.

  1. Click the Settings icon Community settings iconfrom the menu on the left.
  2. From the General menu, click the Published URL under Published Status to see the published site.
    Note: The sForce page variation should be missing as “sForce” has not been designated as the admin’s (you) company’s name.
  3. Click the down arrow next to your name.
  4. Select My Profile.
  5. Click Edit.
  6. Update the Company Name listed in your profile to sForce.
  7. Click Save.
  8. Click the Home tab.
    Note: The customized sForce welcome message should now be visible. If not, refresh the page.

Screenshot of new page variation in action.

Activate the Site

Finally, it’s time to activate the site to make it accessible to members. This also triggers the welcome email to be sent to all members.

  1. To return to Workspaces, click the down arrow next to your name and select Experience Workspaces.
  2. Click the Administration tile.
  3. Click Activate, then click OK.
    Note: Two welcome emails will arrive in your inbox shortly (one for the admin user and the other one for the Partner User, Kate).

Congratulations! You created a bright new site for Ursa Major Solar partners. It includes variables to show a specific Lightning Component to users in San Diego and a customized Home Page for the users associated with the sForce company. The site is ready to spread the sunshine of CRM data with your partners. With this partner site, watch for channel sales and marketing to (solar) power up!