Overview
You can open the app via a custom URL link instead of manually clicking the app icon.
com.fr.finereport://?serverName=xxx&serverUrl=xxx
//or finereport://?serverName=xxx&serverUrl=xxx
Scheme Parameter Introduction

1. You must upload at least three parameters namely serverName, serverYr, and reportUrl to open a template.
2. You can open the app directly by com.fr.finereport:// or finereport://, and this document takes com.fr.finereport:// as an example for demonstration.
Parameter Name | Description | Example |
---|---|---|
serverName | Server Name | com.fr.finereport://?serverName= the server name &serverUrl=http://IP:the port number/webroot/decision&reportUrl=the template path&reportName=the template name |
serverURL | Server Address | |
reportUrl | Template Address, relative paths (paths from folders) used on the specified server. | |
reportName | Template Name | |
keepDemo | To keep the demo server or not, with false selected by default. true: to keep the demo server. false: not to keep the demo server. | com.fr.finereport://?keepDemo=true |
removeLogin | In the app of V10.4.80 and earlier versions, this parameter is not supported, which is equivalent to false. In the app of V10.4.80 and later versions, this parameter is supported. To block functions such as login and logout or not, with false selected by default. true: to block functions such as login and logout. false: to keep functions such as login and logout. | com.fr.finereport://?removeLogin=true |
Example one: Keeping the login and logout functions.
You can keep the functions of Login, Logout, Change Password, and Pattern by opening the app in this way, as shown in the following figure.
Creating an HTML File
You can create an HTML file named HTML1 with the following content:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>DataAnalyst Application Login Test by Third-Party</title>
</head>
<body>
<p>com.fr.finereport://call</p>
<p><a href="com.fr.finereport://?keepDemo=true&removeLogin=false&serverName=Carly&serverUrl=http://172.16.0.200:8075/webroot/decision">Click to jump to the DataAnalyst application</a></p>
<p>finereport://call</p>
<p><a href="finereport://?keepDemo=true&removeLogin=false&serverName=Carly&serverUrl=http://172.16.0.200:8075/webroot/decision">Click to jump to the DataAnalyst application</a>
</p>
</body>
</html>
Effect Display
You can preview the HTML file directly in the browser on Android devices, while you need to download a CHM viewer before viewing the file on iOS devices.
You can open the DataAnalyst app by opening the HTML file and clicking the hyperlink.
Server information is automatically added to the App server list.
You will jump to the server home page after logging in to the app automatically.

Example two: NO Login/Logout Required
In the app of V10.4.80 and later versions, you can open the Data Analyst app by the parameter removeLogin without the need of third-party logging in.
You can remove the functions of Login, Logout, Change Password, and Pattern by opening the app in this way, as shown in the following figure. The following figure shows the effect.
Creating an HTML File
You can create an HTML file named HTML1 with the following content:

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>to open the app by the third party with no login required</title>
</head>
<body>
<p>com.fr.finereport://call</p>
<p><a href="com.fr.finereport://?keepDemo=true&removeLogin=true&serverName=Carly&serverUrl=http://172.16.0.200:8075/webroot/decision&reportUrl=GettingStarted.cpt&reportName=test template">click to jump to the DataAnalyst app</a></p>
<p>finereport://call</p>
<p><a href="finereport://?keepDemo=true&removeLogin=true&serverName=Carly&serverUrl=http://172.16.0.200:8075/webroot/decision&reportUrl=GettingStarted.cpt&reportName=text template">click to the DataAnalyst app</a>
</p>
</body>
</html>
Effect Display
You can preview the HTML file directly in the browser on Android devices, while you need to download a CHM viewer before viewing the file on iOS devices
You can open the DataAnalyst app by opening the HTML file and clicking the hyperlink. Server information is automatically added to the App server list.
You can jump to the corresponding template location/server home page with no login required.

The first time you log in to the project with the DataAnalyst app, no username and password parameter is passed in the HTML.
You have used the DataAnalyst app to log in to the project before, but have not checked the automatic login box, and no username and password parameter is passed in the HTML.
The username password parameter passed in HTML is wrong.
The server passed in HTML does not exist.
