How mobile reports enable offline viewing of report functions

Source: Internet
Author: User

1. Description

For mobile reports, viewing reports often has the following problems: Viewing cached data reduces data transfer time and efficiency compared to real-time data, and some customers do not need to see data in real time, take data on a regular basis, or manually update data to meet demand, sometimes due to poor network conditions or limited traffic , you can't see real-time reports. The best solution is to implement offline view reports, according to my usual report development experience, with their common report development tools Finereport Mobile For example, specifically to tell you how this offline view of the function can be achieved.

2. Mobile Off-line mode

2.1 Offline mode

If the network is abnormal before logging on to the server, use pop-up hints


650) this.width=650; "Src=" http://dl2.iteye.com/upload/attachment/0113/1848/ 85a5d3a5-9d95-3ce4-b0e6-ff23ec843ec7.jpg "style=" border:0px; "/>

Click to use, turn on the offline mode, the offline mode opens, enter the directory, the title is shown as: Offline mode, no bottom toolbar (directory and Favorites);

Click on the upper right corner of the settings, directly into the settings interface, replace the previous pop-up window;


650) this.width=650; "Src=" http://dl2.iteye.com/upload/attachment/0113/1852/ A8774a44-834d-305e-889b-ee7feac59c59.jpg "style=" border:0px; "/>

650) this.width=650; "Src=" http://dl2.iteye.com/upload/attachment/0113/1856/ Df3da5d4-cb24-377d-bce4-bc1c85d3214e.jpg "style=" border:0px; "/>

If the current status is online, the network suddenly disconnect, enter the report when the pop-up window prompts the user whether to open offline mode, the app in each run only one pop-up prompt, the user if the cancellation, you must click on the settings in the offline mode to use offline, no longer pop-up window prompt;

If the user starts again, it is necessary to prompt when encountering the network anomaly;


650) this.width=650; "Src=" http://dl2.iteye.com/upload/attachment/0113/1859/ 4eb8c900-22e6-3cf4-beab-7a6f3329cbd7.jpg "style=" border:0px; "/>

650) this.width=650; "Src=" http://dl2.iteye.com/upload/attachment/0113/1862/ 03cab090-87b9-36bb-9e82-4aaf9544471f.jpg "style=" border:0px; "/>

If the current status is online, the network is suddenly disconnected, and when other actions are performed on the report preview page, pop-up prompts are also used.


650) this.width=650; "Src=" http://dl2.iteye.com/upload/attachment/0113/1868/ C37b1463-47cf-3cbb-9be8-edb59bcfa477.jpg "style=" border:0px; "/>

If the offline mode switch is manually turned on from online mode, the directory interface is displayed as offline mode


650) this.width=650; "Src=" http://dl2.iteye.com/upload/attachment/0113/1872/ C67d5dc2-91aa-31c8-87e4-8810df8f1a67.jpg "style=" border:0px; "/>

650) this.width=650; "Src=" http://dl2.iteye.com/upload/attachment/0113/1878/ Ab0ef77a-9619-3e87-b951-cf3f8d3078bd.jpg "style=" border:0px; "/>

2.2 Clearing the cache

If you click to clear the offline cache, there are pop-up Windows prompt, whether you are sure to clear the cache, click OK, the above will be the prompt to clear the success.



650) this.width=650; "Src=" http://dl2.iteye.com/upload/attachment/0113/1882/ 39aa967a-c1a3-3c79-ab86-383d825e002e.jpg "style=" border:0px; "/>

650) this.width=650; "Src=" http://dl2.iteye.com/upload/attachment/0113/1886/ 3688302c-5d48-350b-b9e4-f577c3042364.jpg "style=" border:0px; "/>

When the offline cache is cleared, the offline mode directory becomes empty.


650) this.width=650; "Src=" http://dl2.iteye.com/upload/attachment/0113/1888/ 017a2f43-a8f7-327b-a288-c114367a1697.jpg "style=" border:0px; "/>

2.3 Offline Report view

When viewing an offline report, there is no favorite button, the page flipping button is offline based on the day of the previous preview, and if not viewed, the preview appears blank after offline.


650) this.width=650; "Src=" http://dl2.iteye.com/upload/attachment/0113/1890/ 611b85e9-0ea0-336b-bfce-e1b672a1df99.jpg "style=" border:0px; "/>

650) this.width=650; "Src=" http://dl2.iteye.com/upload/attachment/0113/1892/ Be101147-656c-3e82-be9c-26f205834e6d.jpg "style=" border:0px; "/>

Note: The data can be cached locally via the "Download/update offline data" in the settings, which makes it easy for the mobile to view offline or offline.


650) this.width=650; "Src=" http://dl2.iteye.com/upload/attachment/0113/1894/ 612d163b-dc74-3659-b544-8f1f5bd69bdf.jpg "style=" border:0px; "/>

3. What data is offline

3.1 Controls

·  controls in the parameters panel and form bodies

Can only be viewed, cannot be manipulated (grayed out).

·  Fill in the controls in the template

If the data dictionary content of the control is required by a background request, the default value is taken out of the content. Examples are as follows:

A drop-down box, where the data dictionary is a DataSet ds1, where DS1 is a "Select region from Xxxtable", all data items that are fetched by SQL are cached as drop-down items in the drop-down box.

Note: Linkage and form temporarily not supported

3.2 Template Body (CPT or frm)

Initially, only one set of data (take the default value of parameters), when the template in the online mode parameter changes, take the change of the parameter value-summary: Take the current parameters of the results report.

The default value of the cache parameter corresponds to the template content, and if there are multiple pages, all page content needs to be cached.

3.3 Ultra-chain

Hyperlinks are not supported, including linkage.


How mobile reports enable offline viewing of report functions

Related Article

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.