Overview
This document is applicable to users who have installed the Data Portal plugin to learn plugin functions.
Version
Report Server Version | Data Portal Version | Functional Change |
11.0.7 | V1.0 | / |
11.0.8 | V1.1 | / |
11.0.8 | V1.2 | 1. Added Portal Theme, allowing you to switch the portal theme with one click. 2. Allowed page configuration and component style to follow the theme. 3. Allowed component background of the image component to be built-in images. |
11.0.8 | V1.4 | Allowed title to contain formulas in component style. |
11.0.8 | V1.9 | Supports mobile data portals. Six styles of mobile portal themes are built in. |
Function Description
This document introduces the styles that the page and components can be set when you edit a data portal.
Portal Style on PC
Page Configuration
Log in to the decision-making platform as the admin, choose System Management > Data Portal > Portal Management, click Add Portal, set Portal Name, choose a portal layout, and click OK.
The data portal uses grid layout, and the width and height of components depend on the grid granularity.
On the data portal editing page, when no component is selected, you can set the Page Config on the right, as shown in the following figure.
Page background supports two types of settings.
Style Setting | Background |
Follow Theme | In the Data Portal plugin V1.2 and later versions, four styles of portal themes are built in. After Follow Theme is selected, the style of page background follows the style of portal theme. For details, see section "Portal Theme". |
Custom | Two styles of background can be set. Color: You can customize a color. Image: You can upload local JPG/PNG/GIF/BMP image files. These images are adapted to the component by default. |
Component Style
On the data portal editing page, select a component, then you can set the Component Style on the right.
The component style can be set to Follow Theme or Custom.
· Follow Theme
In the Data Portal plugin V1.2 and later versions, four styles of portal themes are built in.
After Follow Theme is selected, the component style follows the style of portal theme. For details, see section "Portal Theme".
· Custom
The component style includes the component title, title text, title style, and component background.
Component Style | Supported Component | Explanation | Example |
Component Title Title Text | Not supported in a text component Not supported in an image component | You can perform the following operations: Determine whether to display the component title. Set the component title text. Set the title font and font size. Set the style of the title text: bold, italic, underline, color, and alignment. The component title can contain formulas in the Data Portal plugin V1.4 and later versions (see below). | |
Title Style | Not supported in a text component Not supported in an image component | You can perform the following operations: Set the background color of the component title. Set the title icon before the component title. Set the space between the component title icon and the text. Title Style can be set to Predefine or Custom. Predefine Simple, Business and Fresh are available.
Custom The background color and transparency of the component title can be set. | |
Component Background | Supported in all components | You can perform the following operations: Set the color and transparency of the component background. Set the rounder corner size of the component. Set the color and thickness of the component border. | |
Component Icon | Supported only in a report dynamics component | In the Data Portal plugin V1.2 and later versions, five styles of component icons are built in. | |
List Colors | Supported only in a bulletin board component whose Displayed Content is set to All | List Colors can be set in a bulletin board component when the component displays all announcements in the Data Portal V1.2 and later versions. |
Four images are built in to match different portal themes in the Data Portal plugin V1.2 and later versions. The component background of the text component can be set to Built-in Image.
The component title can contain formulas in the Data Portal plugin V1.4 and later versions. Supported formulas are shown in the following table.
Classification | Supported Formula | Explanation |
System Parameter | ${fine_username} ${fine_position} ${fine_role} ${fr_username} ${fr_userposition} ${fr_authority} ${GETUSERDEPARTMENTS()} ${GETUSERDEPARTMENTS(X)} ${GETUSERJOBTITLES()} | Note: You need to enclose formulas in ${} brackets. Example: ${fine_username} |
DATE Function | DATE, DATEDELTA, DATEDIF, DATEINMONTH, DATEINQUARTER, DATEINWEEK, DATEINYEAR, DATESUBDATE, DATETONUMBER, DAY, DAYS360, DAYSOFMONTH, DAYSOFQUARTER, DAYSOFYEAR, DAYVALUE, ENDOFMONTH, HOUR, ISWORKDAY, LUNAR, MINUTE, MONTH, MONTHDELTA, NOW, SECOND, TIME, TODATE, TODAY, WEEK, WEEKDATE, WEEKDAY, YEAR, and YEARDELTA | Note: You need to enclose formulas in ${} brackets. Example: ${now()} |
Portal Theme
You can switch the portal theme with one click in the Data Portal plugin V1.2 and later versions.
Four styles of portal themes in this plugin are built in, covering the page background, component title style, component background, component icon, quick entry icon, and list colors in the bulletin board component.
Set the page configuration/component style to Follow Theme.
Select Portal Theme to switch the style of the portal theme with one click, and the effect is shown in the following figure.
Mobile Portal Theme
Page Configuration
Log in to the decision-making platform as admin, choose System Management > Data Portal > Portal Management, and click Add Portal.
In the pop-up page, enter the portal name, set the display terminal to Mobile, choose a portal demo, and click OK.
The data portal uses grid layout, and the width and height of components depend on the grid granularity.
On the data portal editing page, if no component is selected, you can set the Page Configuration on the right, as shown in the following figure.
Page background supports two types of settings.
Style Setting | Settings |
Follow Theme | In the data portal plugin, six styles of mobile portal themes are built in. If Follow Theme is selected, the style of page background follows the style of the portal theme. For details, see section "Portal Theme." 1. Padding You can set the top, bottom, left, and right padding of the page. 2. Component
3. Top Navigation You can determine whether to display the top navigation. If this option is not selected, no top navigation is displayed for the second-level pages of the portal. If this portal is used on the HTML5 terminal, you are advised to hide the navigation. |
Custom | 1. Two styles of background can be set. Color: You can customize a color. Image: You can upload local JPG/PNG/GIF/BMP image files. These images are adapted to the component by default. 2. Padding You can set the top, bottom, left, and right padding of the page. 3. Component
4. Top Navigation You can determine whether to display the top navigation. If this option is not selected, no top navigation is displayed for the second-level pages of the portal. If this portal is used on the HTML5 terminal, you are advised to hide the navigation. |
The following figure shows the top navigation effect.
Component Style
In the data portal plugin, six styles of mobile portal themes are built in.
The mobile component style completely follows the style of Portal Theme. For details, see section "Portal Theme."
Portal Theme
You can switch the mobile portal theme with one click.
Six styles of portal themes in this plugin are built in, applied to the page background, component background, report dynamics icons and buttons, and list colors in the bulletin board component.
Click Portal Theme and switch the style of the portal theme with one click.