tencent cloud

All product documents
Cloud Object Storage
Setting File Processing
Last updated: 2024-01-06 15:14:56
Setting File Processing
Last updated: 2024-01-06 15:14:56

Overview

The COS console allows you to preview documents in a bucket. This document describes how to use the document preview feature in the console. For information on document preview, see Document Preview Overview.
Note:
The document preview feature is available in public cloud regions in the Chinese mainland and Silicon Valley, Virginia, Frankfurt, and Singapore. Currently, only document-to-image conversion preview is supported in Singapore and Silicon Valley.
Document preview is charged by CI. For detailed pricing, see Billing and Pricing.

Directions

1. Log in to the COS console.
2. Click Bucket List on the left sidebar, and then click the bucket for which you want to enable the document preview feature.
3. Click Data Processing > Document Processing. In the Document Preview area, click Edit and toggle on the status
4. To preview a document, add parameters to the document URL. The parameters are described as follows:
<BucketName-APPID>.cos.<Region>.myqcloud.com/<objectkey>?ci-process=doc-preview&page=<page>&srcType=<srcType>
objectkey: Object key, which can be understood as a file path.
ci-process: CI's processing capability, which is fixed at doc-preview for document preview.
page: Number of the page to be converted, which is counted from 1.
srcType: Source data type. Currently, the file conversion feature determines the source data type according to the file extension of the COS object. If the object has no extension, you can set this value.
Note:
If you use the URL mode, only a single-page document or the first page of a multi-page document can be processed. If you want to preview more content, use Document Preview API.
Was this page helpful?
You can also Contact Sales or Submit a Ticket for help.
Yes
No

Feedback

Contact Us

Contact our sales team or business advisors to help your business.

Technical Support

Open a ticket if you're looking for further assistance. Our Ticket is 7x24 available.

7x24 Phone Support
Hong Kong, China
+852 800 906 020 (Toll Free)
United States
+1 844 606 0804 (Toll Free)
United Kingdom
+44 808 196 4551 (Toll Free)
Canada
+1 888 605 7930 (Toll Free)
Australia
+61 1300 986 386 (Toll Free)
EdgeOne hotline
+852 300 80699
More local hotlines coming soon