Resource Center customization |
The filters on the left panel of the Rsource Center support customization, including: the resource type filter, type filter, directory filter, and tag filter. Among them, the directory filter requires to enable the custom directory function and set the corresponding directory structure tree before it can be displayed on the Resource Center page. Filter customization supports show/hide, modifying filter name and drag to adjust the display order.
After logging in to iPortal as an administrator, enter Management> Resource Center Management> Resource Application Form page, The following customization operations can be performed:
icon on the right side
of the filter column, enter the filter alias in the pop-up modify
name window, and click OK. Note: The directory filter does not support
modifying the name. You can enter the custom directory page, and change
the root directory name to modify the directory filter name.
icon will appear. Click and drag the filter with the left mouse button
to move it up and down to adjust the display order. Note: All the
directory filters can only be dragged as a whole to exchange the display
order with other filters. Besides, you can drag and adjust each directory
filter among the directory filters area.After the customization is complete, click Save and enter Home> Resource Center to view the customization effect on the left sidebar.
iPortal also supports customizing the Resource Center filters via modifying the configuration file. You can modify the %SuperMap_iPortal_HOME%/webapps/iportal/resources/web-ui/config/ResourceCenterPage.json file for customization before starting iPortal for the first time. The file example is as follows :
{
"aside": [
{
"key": "resourceType",
"name": "resourceType",
"show": true,
"items": [
{
"name": "map",
"show": true
},
{
"name": "service",
"show": true
},
{
"name": "scene",
"show": true
},
{
"name": "data",
"show": true
},
{
"name": "insights",
"show": true
},
{
"name": "mapdashboard",
"show": true
},
{
"name": "notebook",
"show": true
}
]
},
{
"key":"category",
"name":"category",
"show":true,
"querySubDirResource": false
},
{
"key":"subResourceType",
"name":"subResourceType",
"show":true
},
{
"key":"tag",
"name":"tag",
"show":true
}
]
}