# US 10,956,652 B2 · Support for non-native file types in web application environment

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

- Number: US 10,956,652 B2
- Document ID: US10956652B2
- Status: Granted
- Kind: B2
- Application number: 16/012,810
- Filed: 2018-06-20
- Published: 2018-12-06
- Granted: 2021-03-23
- Earliest claimed: 2015-04-27
- Assignees: Microsoft Technology Licensing, LLC
- Applicants: Microsoft Technology Licensing, LLC
- Inventors: Dorrene Brown; Joey Masterson; Nate Waddoups; Shreedhar Thirugnanasambantham; Xiao Wu; Jay Rathi; Mauricio Ordonez; Darren Miller; Ela Malani; John Wang; Sreekanth Lingannapeta; Gabriel Hall
- Web page: https://patentgrep.com/patent/US10956652B2

## CPC

- G06F 40/106: Display of layout of documents; Previewing
- 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 9/451: Execution arrangements for user interfaces
- G06F 16/986: {Document structures and storage, e.g. HTML extensions}
- H04L 67/02: based on web technology, e.g. hypertext transfer protocol [HTTP]
- H04L 67/06: specially adapted for file transfer, e.g. file transfer protocol [FTP]
- G06F 3/04817: using icons (graphical or visual programming using iconic symbols G06F8/34)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Applications may be created and registered to an online ecosystem and then execute within individual web applications such as productivity applications, communication applications, collaboration applications, and so on. These non-native applications may be enabled to interact with files and provide custom experiences for a user. The applications may also be enabled to interact with additional information discovered about the user within the ecosystem to provide custom experiences. The applications may further be enabled to create custom workflows to allow users to accomplish new tasks.

## Claims

### Claim 1

A method to provide support for custom file types in an environment, the method comprising:
registering a file handler application with a service associated with the environment;
detecting a non-native file within the environment;
determining that the file handler application supports a type of the non-native file;
retrieving metadata associated with the non-native file, the metadata specifying a uniform resource locator (URL) that points to a method in the file handler application configured to retrieve a file stream for the non-native file;
making a request to the URL;
receiving the file stream;
generating a preview associated with the non-native file based on the file stream; and
causing display of the preview of the non-native file.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
employing the file handler application to integrate the non-native file to the environment such that the non-native file is handled in the same way as native files.

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
enabling one or more of a customized file icon, a file preview in a browser, and one or more interactive features through the file handler application.

### Claim 4 (depends on 1)

The method of claim 1, wherein the file handler application includes a file handler endpoint and a file icon.

### Claim 5 (depends on 4)

The method of claim 4, wherein the file handler endpoint is a cloud-hosted application configured to provide preview and editing functionality for the non-native file and the file icon represents the non-native file in the application.

### Claim 6 (depends on 1)

The method of claim 1, wherein the file handler application includes functional logic to preview, open, create, print, and save non-native file types handled by the file handler application.

### Claim 7 (depends on 1)

The method of claim 1, wherein registering the file handler application with the service of the environment provides the file handler application access to the environment.

### Claim 8 (depends on 1)

The method of claim 1, wherein the URL is a previewURL, and making the request to the URL comprises:
making a request to a location specified in the previewURL.

### Claim 9 (depends on 8)

The method of claim 8, wherein the previewURL points to a method in the file handler application configured to retrieve the file stream for the non-native file and use the file stream to generate the preview of the non-native file for display within the application.

### Claim 10 (depends on 1)

The method of claim 1, wherein the URL is an openURL, and making the request to the URL comprises:
making a request to a location specified in the openURL.

### Claim 11 (depends on 10)

The method of claim 10, wherein upon invocation with the openURL, the file handler application loads a file stream into an editor associated with the non-native file.

### Claim 12

A system to provide support for custom file types in an environment, the system comprising:
a first computing device configured to execute a file handler application associated with a non-native file within the environment, the file handler application used to integrate the non-native file to the environment, wherein the first computing device comprises:
a communication interface configured to facilitate communication between the first computing device and a second computing device configured to execute an application and between the first computing device and a third computing device configured to execute a service associated with the environment;
a memory configured to store instructions; and
a processor coupled to the communication interface and the memory, wherein the processor is configured to:
register the file handler application with the service associated with the environment;
detect the non-native file within the environment;
determine that the file handler application supports a type of the non-native file;
retrieve metadata associated with the non-native file, the metadata specifying a uniform resource locator (URL) that point to a method in the file handler application configured to retrieve a file stream for the non-native file;
make a request to the URL;
receive the file stream;
generate a preview associated with the non-native file based on the file stream; and
cause display of the preview of the non-native file.

### Claim 13 (depends on 12)

The system of claim 12, wherein one or more activation parameters are used to invoke the file handler application, the one or more activation parameters including at least one of:
a client parameter to specify a particular application to open or preview the non-native file,
a culture parameter to specify a culture name of a current thread for localization,
a fileGet parameter to specify a full URL of an endpoint to retrieve the non-native file by the application,
a filePut parameter to specify the full URL of the endpoint to save the non-native file within the application environment,
a resourceID parameter to specify a URL of a particular tenant used to obtain an access token from the service, or
a documentID parameter to specify documents in order to allow the application to open multiple documents at the same time.

### Claim 14 (depends on 12)

The system of claim 12, wherein a workload is used to provide constrained access to the non-native file by using data embedded in the URL and an access token.

### Claim 15 (depends on 14)

The system of claim 14, wherein the data embedded in the URL includes one or more of a file identifier to provide access to the non-native file, a time stamp to expire the URL after a predefined duration of time, a user identifier to ensure that a specified user has access to the non-native file using the URL, or an application identifier to ensure that the application has access to the non-native file using the URL.

### Claim 16 (depends on 12)

The system of claim 12, wherein the file handler application is registered with the service and a file handler manifest containing file handler application properties is declared.

### Claim 17 (depends on 16)

The system of claim 16, wherein the service uses a client identifier and an authorization code to register the file handler application.

### Claim 18 (depends on 16)

The system of claim 16, wherein the file handler manifest includes one or more URLs for resources to be called when the file handler application is activated, a file icon, one or more file open resources, and one or more file preview resources.

### Claim 19

A computer-readable memory device with instructions stored thereon to provide support for custom file types in an environment, the instructions comprising:
registering a file handler application with a service associated with the environment, wherein the file handler application is used to integrate a non-native file to the environment;
detecting the non-native file within the environment;
determining that the file handler application supports a type of the non-native file;
retrieving metadata associated with the non-native file, the metadata specifying a uniform resource locator (URL) that points to a method in the file handler application configured to retrieve a file stream for the non-native file;
making a request to the URL;
receiving the file stream;
generating a preview associated with the non-native file based on the file stream; and
causing a display of the preview of the non-native file.

### Claim 20 (depends on 19)

The computer-readable memory device of claim 19, wherein the instructions further comprise:
generating a second preview associated with the non-native file based on the file stream; and
delivering the preview and the second preview at the same time.
