Community Setup
The Partner Commerce platform leverages a Salesforce Community to provide authentication and hosting features for guest users. After the Partner Commerce package is deployed, the next step is to create a Salesforce Community. At a minimum, you just need the community URL. However, if you intend to support guest users, you will need to enable that within the community settings. After deployment, the angular library will provide a Visualforce page that you can set as the default page for all page settings within the community. For example home, login, forgot password, change password, and more). Being that it is a single-page application that is designed to handle all incoming requests.
Creating a Community
- Go to and click New Community.
- Select from one of the Standard Community templates. For example, Salesforce Tabs + Visualforce.
- Click Get Started.
- Type a community Name. URL displays the domain name of your community. In Optional, type a suffix for your community and click Create. For example, Name = E-Commerce or Partner Commerce, Optional = ecom or pcom.
Sites Creation
Sites enable you to create your Partner Commerce websites that are directly integrated with your Salesforce org—without requiring users to log in with a username and password. To create sites, refer to Create Sites for detailed information.
Activating Community
- Go to and click All Communities.
- Click Workspaces and under My Workspaces click Administration.
- From the Settings page, click Activate Community.
Your community space is now activated.
Setting Default Page
After deployment, the angular library will provide a Visualforce page that you can set as the default page for all page settings within the community.
- Go to .
- Click Workspaces and under My Workspaces click Administration.
- Click the Pages option.
- From the Community Home drop-down, select Visualforce Page.
- Search and select ECommerce for your eCommerce template and click Save.
Configuring Sharing Settings
You can configure sharing settings to control data access for external users. This task helps you align Default External Access with Default Internal Access so partners and community users have the appropriate level of visibility.
- Go to Setup, enter Sharing Settings in the Quick Find box, and select Sharing Settings.
- Click Edit.
- Compare the Default External Access with Default Internal Access and update the Default External Access with the same option selected as Default Internal Access.
- Click Save.
Enabling Users to Access a Community
- Go to and click All Communities.
- Click Workspaces and under My Workspaces, click Administration, and select Members.
- Under the Select Profiles section, from the Available Profiles column, select respective profiles and add them to the Selected Profiles column.
- Under the Select Permission Sets section, from the Available Permission Sets column, select respective permission sets and add them to the Selected Permission Sets column.
- Click Save.
Allowing External User Self-Registration
You can allow external users to self-register so they can create their own accounts and access the community without manual setup. This task helps you enable self-registration from the community's login and registration settings.
- Go to and click All Communities.
- Click Workspaces and under My Workspaces, click Administration, and select Login & Registration.
- Under the Registration Page Configuration section, select Allow external users to self-register.
- Click Save.
Publishing Communities
You can publish the community to make your latest changes live for users. This task helps you use the Community Builder to finalize and publish the community so it is accessible to users.
- Go to and click All Communities.
- Click Workspaces and under My Workspaces, click Builder.
- Click Publish.
Setting Up a Guest User
- Go to and click All Communities.
- Click Workspaces and under My Workspaces, click Administration.
- Select Pages, select the Force.com section. This section takes you to the underlying site record for your Salesforce community.
- Under the Site Visualforce Pages section, ensure the pages are listed for the guest user to access. The pages that are not listed cannot be accessed by a guest user.
- Once done, click Public Access Settings where you can see the guest user profile for our storefront. This displays what a guest user can access and manage object and field-level permissions.
- Click Save.
