Background information
The new Widget Builder integrates all widget configuration options on a single page.
- By centralizing the management of all configuration options, users no longer need to switch between various pages, saving time and effort, enhancing user experience, improving work efficiency, and simplifying the operation process.
- This integrated design is easy to use and makes the configuration process more intuitive and efficient.
When to use Grid widget
- When you need to visualize data and show relationships and patterns between data.
- When you want to display structured data and compare or categorize data in rows and columns, allowing readers to easily find and understand information.
For example, when you need to show the sales department's monthly sales data changes, you can use a grid chart to present it. Through the grid chart, you can clearly see the sales figures for each month, the sales of each product, and the sales trends.
Required permissions
Only users with admin roles can access the New Widget Builder and edit the widget settings.
1. Access New Widget Builder
1.1 Create a new Grid widget using the New Widget Builder
- Navigate to Widgets on the MSPbots app menu and click New Widget.
- Choose the Grid widget type on the New Widget window.
-
1.2 Configure an existing widget using the New Widget Builder
- Navigate to Widgets on the MSPbots app menu.
- Search and click the widget to open it.
-
2. Add datasets
- In the Dataset tab, Click the
+ Dataset button.
- Select a dataset with the data you need, then click Add Selected.
Click Dataset name bar to show the fields in the dataset.
What else can you do in the Dataset section?
-
Search fields - Use keywords to search for the fields you need.
-
Order By - Sort all data from the added datasets based on the selected fields and sorting rules.
- Fill in the Field and Order By rules.
- Click Save.
- Fill in the Field and Order By rules.
-
Row Limit - Select an option to limit the rows of data for all added datasets.
-
Replace the dataset with another one you want.
- Hover over the name of the dataset.
- Click the ellipsis
button, then select Select.
- Click your desired dataset and click Add Selected.Replace the dataset with one that matches the structure of the original dataset. For example, a dataset that only differs in field data values is essential to avoid error reports and widget malfunctions.
-
Rename, Clone, or Delete the dataset
- Hover over the name of the dataset.
- Click the ellipsis
button, then select Rename/Clone/Delete.
- When you hover over the dataset, it displays the original name of the dataset.
- If you have renamed the dataset, hovering over it displays both the original name and the name you renamed it to.
- When you hover over the dataset, it displays the original name of the dataset.
* When you add a dataset with fields next to the triangle icon, it indicates that the field is associated with other datasets.
* The fields in the associated datasets can be dragged or added to the widget configuration area for settings.
* If you configure fields from the associated dataset in Query, Drill Through, or Options, the Widget Builder mode will stay in the New Widget Builder mode and cannot switch back to the original mode. You can switch back to the original mode only after you clear the fields from the associated dataset.
3. Set filters for the dataset
1. Data Scope
- When the dataset you are configuring has only one layer, this option is not editable. Skip this option and proceed to the next step.
- When the dataset you are configuring has multiple layers, select a layer you want to configure.
- How to check the number of layers in the dataset you are configuring?
- Search for the dataset you are setting up in Datasets and edit it.
- Click Layer to see how many layers there are.
- Search for the dataset you are setting up in Datasets and edit it.
- How to check the number of layers in the dataset you are configuring?
2. Query

- Click Query bar to show the settings.
- For Measure - Configure the fields to be calculated and the formula for calculating measures.
- Drag the required fields from the Dataset column to the Measure area, or click the
button to add a measure.
- Configure the following fields:
- Fields - Select a computation option from the Fields dropdown.
- Alias - Type an Alias for the measure.
- Select one from Formula, Format, or Custom SQL to set.
-
Formula
- Summarize Type - Select a Summary Type.
- sum
- count
- avg
- max
- min
- string_agg
- Summarize Type - Select a Summary Type.
-
Format
- Format Type - Select a Format Type.
- Text
- Number
- Date
- Date Time
- Yes/No
- User
- Hyperlinks
- Display Type
- Symbol - When the Display Type is Prefix, set the Symbol. The symbol displayed before the value. For example, if you enter $, it will be displayed as $888.
- Decimals - Enter the number of decimal places. 0 represents an integer, such as 1; 1 represents one decimal place, such as 1.1; 2 represents two decimal places, such as 50.21%.
- Format Type - Select a Format Type.
-
Custom SQL
- Enter your SQL in the Calculate Measure.
- Save promptly after entering the SQL. If you switch to Formula or Format without saving, the SQL will be automatically cleared.
-
Formula
- Remove duplicate data - If you want to remove duplicate data when calculating data, please check this option.
- Click Save.
- Drag the required fields from the Dataset column to the Measure area, or click the
- For Dimension - Configure the fields and format you want to be displayed as a group.
- Drag the required fields from the Dataset column to the Dimension area, or click the
button to add a dimension.
- Configure the following fields:
- Fields - Select a grouping option from the Fields dropdown.
- Alias -Give an Alias for the dimension.
-
Format
- Format Type - Select a Format Type.
- Text
- Number
- Date
- Date Time
- Yes/No
- User
- Hyperlinks
- Display Type
- Format Type - Select a Format Type.
-
Custom SQL
- Calculate Measure
- Click Save.
- Drag the required fields from the Dataset column to the Dimension area, or click the
- For Filter - Add conditions for filtering fields.
- Click the
button.
- Select the fields you want to filter.
- Set conditions for each field using the subsequent two dropdowns.
For a guide on each option on the list, refer to the article What Filter Conditions and Formats are Available for Creating Widgets. - Select the logical operator AND or OR for the filter group.
- If you want to add multiple conditions or groups, click either + Condition or + Group to add.
-
-
Filter Inspector - Click Filter Inspector to check the filter settings by viewing the Filter Expression and Filter SQL.
- Click Save.
- Click the
- For Order By - Sort the data of a specific layer in a certain dataset based on the selected fields and sorting rules.
- Click + Click to Add.
- Configure the following fields:
- Field - Select a parameter to sort the data.
- Order By
- Ascending
- Descending
- Click Save.
-
Row Limit - Select an option to limit the data rows for a specific layer in a certain dataset.
-
Remove duplicate data - If you want to remove duplicate data, select this option.
-
Materialized - Select an option from the Materialized dropdown menu to materialize data based on the actual conditions.
3. Drill Through
- Click Drill Through bar to show the settings.
-
Column - Configure which fields are included in the widget.
- Drag the required fields from the Dataset column to the Column area, or click the
button to add a condition.
- Configure the following fields:
- Field
- Alias
- Format
- Format Type
- Text
- Number
- Date
- Date Time
- Yes/No
- User
- Hyperlinks
- Display Type
- Format Type
- Custom SQL
- Click Save.
- Drag the required fields from the Dataset column to the Column area, or click the
-
Order By - Sort the data from drilling through a specific dataset based on the selected fields and sorting rules.
- Drag the required fields from the Dataset column to the Order By area, or click the
button to add a field.
- Fill in the following fields:
- Field
- Order By
- Ascending
- Descending
- Click Save.
- Drag the required fields from the Dataset column to the Order By area, or click the
4. Clear Query
When you want to clear all fields in Query and Drill Through at once, you can click the Clear Query button to avoid deleting them individually.
- Click Clear Query at the bottom of the page.
-
Click Continue.
4. Set the Options for the widget
4.1 Chart Type
Switch widget types by clicking the icon of your desired widget type.
The available types for switching in New Widget Builder mode are:
- Card Number
- Grid
- Column Chart
- Line Chart
- Heatmap
- Pie Chart
- Progress Tracker
-
Pivot Table
4.2 Toolbar
- Click Toolbar bar to show the settings.
-
Display - Activate the switch to display the toolbar at the top of the widget.
-
CSV - Activate the switch to show the CSV Export button on the widget toolbar.
-
PDF - Activate to show the PDF Export button on the widget toolbar.
-
Export Option - This option applies only when the PDF is the option selected for Toolbar.
- If enabled, clicking PDF Export will show the following export options:
- Page orientation:
- Portrait - vertical
- Landscape - horizontal
- Page size - Select the appropriate size.
- Export Data - Select the pages for inclusion in the exported CSV file.
- Page orientation:
- If disabled, clicking PDF Export, will export the PDF file with the following default settings:
-
- Page orientation - Portrait
- Page Size - A4
-
- If enabled, clicking PDF Export will show the following export options:
-
Column Chooser - Click the switch to show the Column dropdown list on the widget toolbar.
4.3 Body
- Click Body bar to show the settings.
-
Grid Style - Select the style of the grid widget, including Data Grid, Table, List.
Is support configured? Data Grid Table List Font Size Yes Yes Yes Border Yes No No Column Width Fits Yes Yes No Content Yes Yes No Stripe Yes Yes Yes Auto Scroll Yes Yes No - Font Size - Set the font size for the text in the table.
-
Border - Configure the display of lines in the data area of the widget.
-
- Show both horizontal and vertical lines
-
- Only show vertical lines
-
- Only show horizontal lines
-
- Do not show lines
-
- Column Width Fits Content - Set the column width to display based on the length of the content.
- Stripe - Configure if the rows of the widget are displayed in a striped style.
- Auto Scroll -Turn on the switch, the widget will scroll automatically.
4.4 Footer
- Pagination - Configure whether pagination is displayed in the bottom of the widget.
4.5 Customization
Configure the columns you selected in the Drill Through.
Editing a column
- Click Customization bar to show the settings.
- Click
to edit a column.
- Configure the following options.
- Header Title - Assign a column name.
- Tooltips - Add a tooltip for the column.
- Text Align - Set alignment to Left, Center, or Right.
- Allow Filter - Toggle to allow users to filter the column.
-
Disable HTML - Turn on the Disable HTML toggle switch to disable the use of HTML codes. This toggle switch is enabled by default.
- When the Disable HTML switch is turned on, if the field's content exceeds 300 characters (including spaces and punctuation), the text will be trimmed to 300 characters. To see the complete content of the field, hover over the field in the widget, and a tooltip will appear to display the full content.
- If you encounter excessive content in the field or if your HTML codes are not working properly, please turn on the Disable HTML switch to ensure it functions correctly and to avoid performance issues that may cause PDF generation to fail.
- When the Disable HTML switch is turned off, there are no restrictions on the character count of the field content, but excessive characters may lead to performance issues.
- When the Disable HTML switch is turned on, if the field's content exceeds 300 characters (including spaces and punctuation), the text will be trimmed to 300 characters. To see the complete content of the field, hover over the field in the widget, and a tooltip will appear to display the full content.
- Max Width - Set the width for the column.
- (Optional) Aggregates - When the column type is Number, calculate the values in the column. The calculation result is displayed at the bottom of the widget.
- Click + Add button.
- Choose one of the following calculation methods:
- Sum - Calculates the sum value.
- Min - Finds the minimum value.
- Max - Finds the maximum value.
- Count - Counts the number of items.
- Average - Calculates the average value.
- When you select Average as the Aggregates, you can customize the precision of the Number Format. There are five options for precision: 0, 0.0, 0.00, 0.000, 0.0000.
- When you select Average as the Aggregates, you can customize the precision of the Number Format. There are five options for precision: 0, 0.0, 0.00, 0.000, 0.0000.
- Click Save.
Hiding a column
- Click
button to hide a column.
- If you want to display the hidden column, click
button to show it.
Adjusting the column order
You can adjust the order of the columns by dragging and dropping, and the changes will be applied to the widget immediately.
5. Conditional Formatting
If you want to change the text or background color when the fields meet specific conditions, or display as an icon, set a conditional formatting rule for your widget.
- Click Conditional Formatting bar to show the settings.
- Click the
button.
-
Configure the following fields:
- Name
- Field
- Value
-
Color Cell - Select the format to be applied once conditions are satisfied. You can apply color to a cell or row.
- Background Color
- Text Color
- Icon
-
Color Entire Row
- Background Color
- Text Color
-
Click Save.
6. Save your settings
-
Click the
button in the upper right corner.
-
Fill in the following fields.
- Name
- Description
- More Info
- Tag
-
Role
- Click Save.
New widgets are at the bottom of dashboards, scorecards, and reports. When you save a new widget, the screen will automatically scroll to show where the new widget is.
You can edit the dashboard design by modifying the widget's placement in the dashboard.
What other actions are available from the widget's screen in the new Widget Builder?
Switching to the original Widget Builder
If you want to switch back to the original Widget Builder page, click to open the Unsaved Changes pop-up window.
- If you do not want to save the settings in the New Widget Builder, click Leave without Saving.
- If you want to save the settings in the New Widget Builder, click Save Changes.
Creating a bot from the widget
- Click
> Create Bot.
- For more details on creating a bot, see How to Create a Bot from a Widget in New Widget Builder mode.
Creating a filter for the widget
The filter is for secondary filtering of the data filtered in the Dataset.
- Click
> Filter.
- Select a field you want to filter.
- Set a condition for the field using the subsequent two dropdowns. For descriptions of each option, refer to What Filter Conditions and Formats are Available for Creating Widgets.
- If you want to add multiple filter conditions,
- Click the Add
icon and choose either Add Condition or Add Group.
- Add Condition - Add a filter condition.
-
Add Group - Add a condition group.
- Repeat steps 2 and 3.
- Click the Add
- Select the logical operator AND or OR for the conditions or filter groups.
- AND - Conditions within a group or groups are connected by an AND relationship, which requires that all conditions or groups must be fulfilled.
- OR - Conditions within a group or groups are connected by an OR relationship, which means that only one of the conditions or groups needs to be fulfilled.
- Click ok to keep your settings.
Cloning the widget
- Click the
button in the upper right corner.
- Hover over Clone to and select from:
- Clone to "My Widgets"
- Clone to Existing Dashboard
- Clone to New Dashboard
- Follow the steps below:
- If you select Clone to "My Widgets",
- Fill in the following fields:
- Name
- Role
- Description
- Click Confirm to clone the widget as a new widget.
- Fill in the following fields:
- If you select Clone to Existing Dashboard,
- Select a existing dashabord from the list.
- Click Clone.
- The page will redirect to the editing mode of the existing dashboard. For more information on how to edit the dashboard, see How to Create and Use Dashboards in MSPbots.
You can also find the cloned widget in My Widgets category in Widgets.
- Select a existing dashabord from the list.
- If you select Clone to New Dashboard,
- Select Dashboard or Report.
- For more information on how to edit the dashboard or report, refer to the below articles.
- How to Create and Use Dashboards in MSPbots
-
How to Create and Use Reports in MSPbots
You can also find the cloned widget in My Widgets category in Widgets.
- Select Dashboard or Report.
- If you select Clone to "My Widgets",
Deleting the widget
- Click More Options
, and then select Delete.
- Click Confirm.
Sharing the widget
- Click the Share
icon to copy the URL of the widget.
- The message Copy Success indicates that the copy was successful and you can share the URL with others who want to view the widget.
Adding the widget to My Favorites
Click the button in the upper right corner to add the widget to My Favorites.
- When
changes to
, it means the addition was successful.
- After that, you can find the widget in the My Favorites tab.
- If you want to remove it from My Favorites, click
to change it to
.