How to Use fastreport VCL 6 to save a report to cloud services

Source: Internet
Author: User

You can download a report on a local drive or on a remote server.However, what should I do if I cannot deploy a remote server but want to store reports on shared resources?You can manually transfer a report to a Web Repository. Fastreport VCL 6 provides you with a more convenient method-Cloud Service storage reports. Cloud services are widely used because of their high reliability and data security. Almost every modern cloud storage provides oau22. this greatly simplifies data access to client applications, allowing users to store data conveniently, quickly, and securely.

Download fastreport vl6

Fastreport VCL 6 provides four cloud services: Dropbox, googledrive, onedrive, and box.com to save reports. In addition, the report template itself is. fr3 format. You can use. fp3 format. The application executes access to data. The following are two examples of creating such an application:

Google cloud hard drive

(1) You must create a project in advance. Perform this operation on the developers Console: https://lele.developers.google.com /. Click Create application )". Then, enter the application name and check "accept the terms of use that Google provides to users ".

(2) Add the Google Drive api library to the project. On the "library" tab, select a library and click "enable.

(3) If you want to use the connected database, you will be prompted to create credentials and click "create credentials. Call the API. Select "other, with user interface ". Select the data access method-user data. Set the oauth 2.0 Client ID. Enter any name (for example, testuser) and click "Create Customer ID.

(4) download the JSON file with the credential and click "not now ". Next, the user will be invited to download the JSON file with the credential. Click "not now", select testuser on the "credentials" tab, click this name, and go to the client creden. The client ID and client key will be used in fastreport when the report is saved or loaded.

Dropbox

To use its API, you must create an application on the service platform.

(1) login webpage https://www.dropbox.com

(2) create a new application: https://www.dropbox.com/ss/#/create. select the application type-Dropbox API.

(3) Select the access type-only access the application folder or the entire repository, and select the first option.

(4) Specify the application name.

(5) On the application settings page, you can see the app key. on this page, add a redirection Uri. After authorization in Dropbox, you must return to the Web application. Now you can access Dropbox from fastreport. The preceding two examples show how to use the cloud storage API to create an application. For onedrive and box.com services, you need to use APIs through applications ??. The following describes how to save and load reports from cloud storage.

There are two storage formats: fr3 and fp3. The first is the report template format, and the second is the prepared report format, that is, the template for data filling. To save the Report Template (fr3) to cloud services, use "file"-> "Save ". Next, select an available cloud service:

(1) If you select Dropbox, the following window is displayed:

Enter the application key. If necessary, select the Save directory in Dropbox. Enter the login name and password from the Dropbox account, and click "OK ".

The proxy tab will contain the proxy settings accordingly:

Provides Dropbox service authorization and allows applications to access data.

In Dropbox, you receive a window containing the folder content of the application. Save Report:

(2) If you select googledrive:

Enter the customer ID and password received when creating an account in the project on googledrive, and click "OK ".

The application requests the permission to access the data. Click "allow" and obtain the repository content:

This folder already has a saved report.

(3) Select onedrive. When saving:

Remind the user that the Dropbox connection window also requires an application identifier. After verification, the user will get a file storage window:

(4) box.com, similar to the connection window of googledrive:

Enter the Client ID and key. After verification, save the file:

To open a report saved in the cloud service, "file"-> "open ":

The connection format of the service is exactly the same as that when it is saved. Only the last window is different. Now this is the select file window:

Save the prepared report file and run the report in preview mode.

To save the export to the cloud service, select the export format. On export settings forms, select the Save location:

How to Use fastreport VCL 6 to save a report to cloud services

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.