An overview of two methods to enable external users and applications to create and work with records in your Salesforce instance
Part 1
Enable external users and applications to work with records in Salesforce - an overview of two key methods - Communities and the REST API
Salesforce provides several methods to retrieve, create, update and delete records for standard and custom objects:
- Web-to-Lead forms
- Web-to-Case forms
- email-to-Case
- Salesforce Communities
- API’s - REST, SOAP and the Bulk API
Enable external users to work with records in your Salesforce organization using Salesforce Communities, focused on customers, partners, employees
Salesforce Communities provide templates using the Salesforce Community Builder https://lnkd.in/eX4UUtQ
- Customer Account portal - customer self-service leveraging Knowledge articles, Case management and Einstein Analytics
- Partner community template - provides an enterprise platform for channel partners and collaboration capabilities
- Employee community template - for engaged employees experience
Experience Builder provides out of the box buttons to enable users to work with records using web forms in community pages. Users submitting the form must be added as Contributors. Introduction to Community Builder https://lnkd.in/eHXcvyf
Community Builder provides access to easily customize pages similar to App Builder with components for tabs to work with objects’ records, articles and content.
Each template can work with Lightning components that support community users to create and update records for: custom objects, accounts, assets, campaigns, cases, contacts, contracts, events, groups (collaboration), leads, list email, locations, maintenance plans, notes, operating hours, opportunities, product items, product requests, product request line items, product transfers, return orders, service contracts, service crews, service crew members, service resources, service territories, shipments, tasks, time sheets, work orders and work types.
To enable community users to create record for specific object types, the Create Record button should be configured for the page(s) where community users can submit these new records.
As shown in the diagram above, a community administrator configures the Create Record Button for specific objects by adding the corresponding global action for the desired object type to the Create Record Button property editor on the community page where the create record button is to be available.
When configured properly the Create Record Button will have the custom button name and a dropdown list of objects to create a record for:
A Community administrator can add community members to be contributors to community content which can include providing them with access to work with records in their Salesforce organization using the community Experience Builder
As shown in the screenshot below, Contributors in a community can be granted access based on roles as Viewer, Contributor (default), Builder, Publisher or Administrator.
Overview of Experience Builder (aka Community Designer or Community Builder)
This content should have provided Salesforce practitioners with an overview of using capabilities in Salesforce Communities to enable external users to create and work with records in your Salesforce instance. Part 2 will be an overview of using the REST API to enable external applications to create and work with records.