# US 2021/0081086 A1 · Custom preview interface for search results

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0081086 A1
- Document ID: US20210081086A1
- Status: Published application
- Kind: A1
- Application number: 16/776,394
- Filed: 2020-01-29
- Published: 2021-03-18
- Earliest claimed: 2019-09-18
- Assignees: salesforce.com, inc.
- Applicants: salesforce.com, inc.
- Inventors: Eric Constantin; Alexander Lovell; Glenn Sorrentino; Oleg Yanchinskiy
- Web page: https://patentgrep.com/patent/US20210081086A1

## CPC

- G06F 3/0484: for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F 3/0482: Interaction with lists of selectable items, e.g. menus
- G06F 16/248: Presentation of query results
- G06F 16/252: {between a Database Management System and a front-end application}
- G06F 16/9535: Search customisation based on user profiles and personalisation
- G06F 16/9577: {Optimising the visualization of content, e.g. distillation of HTML documents}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Techniques are disclosed relating to generating custom previews for search results provided by a search service. For example, in various embodiments, a server system that provides a search service may receive a custom preview definition from a user associated with a first group of users. The custom preview definition may specify code that is usable to generate a custom preview interface for search results of a particular record type. The server system may use the custom preview definition to generate a custom preview interface for search results provided to users of the first group. For example, the server system may receive user input identifying a first search result provided by the search service. The server system may then determine that the record type of the first search result matches the particular record type and retrieve the specified code to facilitate display of the custom preview interface at the client device.

## Claims

### Claim 1

A method, comprising:
receiving, at a server system of a search service, a custom preview definition that specifies code usable to generate a custom preview interface for search results of a particular record type, wherein the custom preview definition is received from a user of the search service;
receiving, at the server system from a client device, a search query from a particular user of the search service;
based on the search query, the server system providing one or more search results to the client device, wherein a first search result, of the one or more search results, corresponds to a first data record maintained by the server system;
receiving, by the server system from the client device, user input identifying the first search result of the one or more search results; and
in response to receiving the user input identifying the first search result, selecting, by the server system, a preview interface for the first search result based on a record type associated with the first search result, including by:
based on metadata associated with the first search result, identifying the record type of the first data record;
determining, that the record type of the first data record matches the particular record type; and
retrieving the specified code to facilitate display of the custom preview interface for the first search result at the client device.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
executing, by the server system, at least a portion of the specified code to generate at least a portion of the custom preview interface for the first search result; and
providing, by the server system to the client device, data indicative of the custom preview interface.

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
providing, by the server system to the client device, data indicative of the custom preview interface, wherein the data is usable, by an application on the client device, to render at least a portion of the custom preview interface.

### Claim 4 (depends on 3)

The method of claim 3, wherein at least a portion of the data includes an API call to a third-party service.

### Claim 5

(canceled)

### Claim 6 (depends on 1)

The method of claim 1, further comprising:
providing, by the server system to the client device, data indicative of a search interface usable to present the one or more search results;
wherein the user input is received, from the client device, via the search interface.

### Claim 7 (depends on 1)

The method of claim 1, further comprising:
providing, by the server system to the client device, data indicative of the custom preview interface for the first search result;
receiving, from the client device via the custom preview interface, a request to modify the first data record corresponding to the first search result;
in response to the request, the server system modifying one or more fields of the first data record to generate a modified version of the first data record; and
storing, by the server system, the modified version of the first data record at the server system.

### Claim 8 (depends on 7)

The method of claim 7, further comprising:
subsequent to modifying the one or more fields of the first data record, providing, by the server system to the client device, data indicative of the custom preview interface that depicts the modified version of the first search result.

### Claim 9 (depends on 1)

The method of claim 1, wherein the server system is a multi-tenant server system, and wherein the specified code is usable to generate the custom preview interface for users associated with a first tenant of the multi-tenant server system.

### Claim 10 (depends on 9)

The method of claim 9, wherein the user providing the custom preview definition and the particular user submitting the search query are different users that are both associated with the first tenant.

### Claim 11

A non-transitory, computer-readable medium having computer instructions stored thereon that are capable of being executed by a server system to cause operations comprising:
receiving a custom preview definition that specifies code usable to generate a custom preview interface for search results of a particular record type, wherein the custom preview definition is received from a user of a search service provided by the server system;
receiving, from a client device, a search query from a particular user of the search service;
based on the search query, providing one or more search results to the client device, wherein a first search result, of the one or more search results, corresponds to a first data record maintained by the server system;
receiving, from the client device, user input identifying the first search result of the one or more search results; and
in response to receiving the user input identifying the first search result, selecting a preview interface for the first search result based on a record type associated with the first search result, including by:
based on metadata associated with the first search result, identifying the record type of the first data record;
determining that the record type of the first data record search result matches the particular record type; and
retrieving the specified code to facilitate display of the custom preview interface for the first search result at the client device.

### Claim 12 (depends on 11)

The non-transitory, computer-readable medium of claim 11, wherein the operations further comprise:
executing at least a portion of the specified code to generate at least a portion of the custom preview interface for the first search result; and
providing, to the client device, data indicative of the custom preview interface.

### Claim 13 (depends on 11)

The non-transitory, computer-readable medium of claim 11, wherein the operations further comprise:
providing, to the client device, data indicative of the custom preview interface, wherein the data is usable by an application on the client device to generate at least a portion of the custom preview interface.

### Claim 14 (depends on 11)

The non-transitory, computer-readable medium of claim 11, wherein the operations further comprise:
providing, to the client device, data indicative of the custom preview interface for the first search result;
receiving, from the client device via the custom preview interface, a request to modify the first data record corresponding to the first search result; and
in response to the request, modifying one or more fields of the first data record to generate a modified version of the first data record; and
storing the modified version of the first data record at the server system.

### Claim 15 (depends on 14)

The non-transitory, computer-readable medium of claim 14, wherein the operations further comprise:
subsequent to modifying the one or more fields of the first data record, providing, by the server system to the client device, data indicative of the custom preview interface that depicts the modified version of the first search result.

### Claim 16

A system, comprising:
at least one processor;
a non-transitory, computer-readable medium having instructions stored thereon that are executable by the at least one processor to cause the system to:
receive a custom preview definition that specifies code usable to generate a custom preview interface for search results of a particular record type, wherein the custom preview definition is received from a user of a search service provided by the system;
receive, from a client device, a search query from a particular user of the search service;
based on the search query, provide one or more search results to the client device, wherein a first search result, of the one or more search results, corresponds to a first data record maintained by the system;
receive, from the client device, user input identifying a first search result of the one or more search results; and
in response to receiving the user input identifying the first search result, select a preview interface for the first search result based on a record type associated with the first search result, including by:
based on metadata associated with the first search result, identifying the record type of the first data record;
determine that the record type of the first data record matches the particular record type; and
retrieve the specified code to facilitate display of the custom preview interface for the first search result at the client device.

### Claim 17 (depends on 16)

The system of claim 16, wherein the instructions are further executable to cause the system to:
provide, to the client device, data indicative of a search interface usable to present the one or more search results;
wherein the user input is received, from the client device, via the search interface.

### Claim 18 (depends on 16)

The system of claim 16, wherein the instructions are further executable to cause the system to:
provide, to the client device, data indicative of the custom preview interface for the first search result;
receive, from the client device via the custom preview interface, a request to modify the first data record corresponding to the first search result;
in response to the request, modify one or more fields of the first data record to generate a modified version of the first data record; and
store the modified version of the first data record.

### Claim 19 (depends on 18)

The system of claim 18, wherein the instructions are further executable to cause the system to:
subsequent to modifying the one or more fields of the first data record, provide, to the client device, data indicative of the custom preview interface that depicts the modified version of the first search result.

### Claim 20 (depends on 16)

The system of claim 16, wherein the system is a multi-tenant server system, and wherein the specified code is usable to generate the custom preview interface for users associated with a first tenant of the multi-tenant server system.
