📢 Attention Salesforce Certified Trailblazers! Maintain your credentials and link your Trailhead and Webassessor accounts by April 19th. Learn more.
close
•
Start tracking your progress
Trailhead Home
Trailhead Home

Set Your Org's External Org-Wide Defaults

External Org-Wide Defaults

External org-wide defaults give you full control over the baseline record access for community and portal users. This layer of protection ensures that you can define separate record access policies for internal users and external users.

Check out this video for a quick overview of external org-wide defaults and how they work with external users.

For example, you may have public read-only access on opportunities for all your internal users and set the external org-wide defaults to private so that partners do not see each other’s opportunities.

External Org-Wide Defaults Considerations

Here are some things you need to consider when using external org-wide defaults. External org-wide defaults affect all Community Cloud and legacy portal licenses. Not all objects can have an external sharing model. Here are the ones that can.
  • Accounts and their associated contracts and assets
  • Assets
  • Cases
  • Contacts
  • Opportunities
  • Orders
  • Custom Objects
  • Users

We highly recommend setting the default external access to private for all objects, and then opening up access using other means. Also, if you want to expose reports and dashboards on any objects to external users (such as a partner), you must set the external org-wide default to private.

Another thing to keep in mind is that the external org-wide default can’t be more permissive than the internal one. What does that mean? That if your internal Salesforce users have Public Read/Write access on cases, your external users can’t have Public Read/Write/Transfer access.

Setting Up and Testing External Org-Wide Defaults

Since Ursa Major has decided to expand sales via partners, setting external org-wide defaults is a must.

Maria wants to restrict external access to opportunities, while allowing internal Ursa Major Salesforce users the flexibility to see any opportunity.

In order to meet that requirement, Maria changes the default internal and external access settings.

  1. From Setup, enter Sharing Settings in the Quick Find box, then select Sharing Settings.
  2. Click Enable External Sharing Model.
  3. Click Edit in the Organization-Wide Defaults area.
  4. For the Opportunity and Account and Contract objects, set the Default Internal Access to Public Read Only and the Default External Access to Private. Click OK if you get any popups or warnings.
  5. Click Save.

Now, let’s see how this external org-wide default change affects what folks actually see in the Salesforce org and in the Ursa Major Partner portal.

Add Opportunities to the Navigation Menu

In order to see opportunities in the Ursa Major Partner portal, we first have to add the opportunity object to the portal’s navigation menu.

  1. From Setup, enter Communities in the Quick Find box, then select All Communities.
  2. Click Builder next to the Ursa Major portal.
  3. Click anywhere on the Navigation Menu bar (1) and then click the Navigation Menu button (2).Detail of the navigation menu
  4. Click Add Menu Item. Drag the new menu item so that it’s nested under Sales.
  5. Change the following properties:
    1. Name: Opportunities
    2. Type: Salesforce Object
    3. Object Type: Opportunity
    4. Default List View: All Opportunities
  6. Click Save Menu.
  7. Click Publish and then Got it.

Test Opportunity Visibility in the Ursa Major Partner Portal

Log in to the Ursa Major Partner Portal as your system administrator. The easiest way to do this is from Salesforce Setup | All Communities | [community URL]. Navigate to the Opportunities menu item we just added.

Look at all the opportunities you can see!

Log in to the portal as Josh Davis. You can either use the credentials sent to you when you set up Josh as a community user, or use the Log in to Community as User option on his contact record. Log in as community user

Navigate to the same Opportunities menu item. You shouldn’t be able to see any opportunities.

Good job! Give yourself a pat on the back, because you’ve passed your first test as a portal security guru.

retargeting