Customize forms and fields
Sales Agent forms determine which CRM information sellers see and can update in Outlook and Teams. Form settings are specific to each CRM environment. Contact, opportunity, and account record types are available by default.
In Dynamics 365, the interface uses the term record type. In Salesforce, it uses object. Changes appear in the Sales pane in Outlook, the Sales panel in Teams, and Adaptive Cards shared in Teams chat.
Access forms settings
You need CRM administrator permissions to change Forms settings. The required permissions depend on whether you use Dynamics 365 Sales or Salesforce.
- Open the Sales personal app in Outlook or Teams.
- Sign in with your administrator credentials.
- Select Settings.
- Under the environment-level settings, select Forms.
Settings apply to the CRM environment that you're signed in to. Switch environments before making changes for another environment.
Configure record types and views
Add and organize record types
You can add up to 10 out-of-the-box or custom record types. A record type must be related to one that is already available. Sales Agent supports 1:N and N:1 relationships.
- In Sales admin settings, select Forms.
- Select Add a record type or Add an object.
- Select one record type, and then select Next.
- If prompted, select its relationship to an existing record type or field, and then select Next.
- Select the CRM view that defines the fields and their order, and then select Add.
- Select Publish.
Sales Agent displays only relationships to record types that occur earlier in the Forms list. If a required relationship isn't available, remove and re-add record types in the required order. Removing a record type also removes its related record types. You can't remove Contact.
Use CRM views
A CRM view determines which fields appear and their order. These rules apply:
- You can't select a view for Contact.
- A view is optional for Account and Opportunity. If you don't select one, Sales Agent uses the default view.
- A view is required for other record types.
- View filters and sort order don't control which records search returns.
After changing a view in CRM, select Refresh data in Forms settings to apply the latest fields and field order. To change the selected view, open the record type, select Change, choose the relationship and view, and then select Publish.
Changing the selected view removes existing key-field selections and creates new defaults. The record type's edit setting remains unchanged, but field-level editing settings reset. If the record type is editable, fields in the new view become editable by default.
Manage fields without a CRM view
You can manage fields directly only for Contact, Account, and Opportunity when they aren't based on a CRM view. A record form can contain up to 40 out-of-the-box or custom fields.
In Forms, open the record type. Under Manage fields, add, remove, or reorder fields, and then select Publish. For Salesforce, include only fields that every Sales Agent user can access. A user who lacks access to an included field can't view the CRM record in Sales Agent.
Configure field and record behavior
Configure required fields and editing
You can mark a CRM field as required only in Sales Agent. Sellers must then enter a value before saving the record through Sales Agent. A field that is required in CRM remains required and can't be made optional in Sales Agent.
Contacts are editable by default. To enable inline editing for another record type, open it in Forms, select Edit records inside Sales, and configure Allow editing for individual fields. Select Publish when you're done. CRM permissions continue to control which records and fields each seller can update.
Configure record creation
For each record type, administrators can enable either or both creation options:
- Create new records inside Sales: Sellers create records inline in Sales Agent.
- Create new records by opening (CRM) from a link: Sellers open the CRM in a browser to create records.
Configure these options under Creating records, and then select Publish.
Configure mini views and refresh data
Select key fields for the mini view
The mini view displays a fixed title and two configurable subtitle fields. Select fields under Key fields, and then select Publish. The available key fields come from the detailed view.
Key fields also affect connected-record search in Outlook. For Dynamics 365, the table's primary column and selected key fields must be configured as find and view columns in the quick find view. For Salesforce, search uses the record name and the additional fields selected for the mini view.
Refresh CRM data
Select Refresh data after changing record types, views, or fields in CRM. You can refresh all record types from the main Forms page or refresh one record type from its menu or settings page.
For complete procedures and CRM-specific limitations, see Customize forms and fields in Sales Agent.