Application Config

To integrate desktop applications into DSM, you have to provide a config file in JSON format under the directory specified by dsmuidir in INFO.

    ".url": {
        "": {
            "type": "url",
            "icon": "images/app_{0}.png",
            "title": "Test App1",
            "desc": "Description",
            "url": "",
            "allUsers": true,
            "preloadTexts": [
        "": {
            "type": "legacy",
            "icon": "images/app2_{0}.png",
            "title": "Test App2",
            "desc": "Description 2",
            "url": "",
            "allUsers": true
Property Required Description O In “.url”, each object should have a unique property name.
type O When you click the menu item, the address you use to connect to the DSM management UI will be shown in the right frame of the management UI. However, you can customize the address as you wish.
The “type” value can be "url" or "legacy". "url" means when you click the application icon, the URL will be opened in a pop-up window, while "legacy" implies that the URL will be opened in an iframe window application.
You can follow the descriptions below to set up your customized URL.
icon O icon” indicates the icon for the application. It is a template string. The “{0}” can be replaced by “16”, “24”, “32”, “48”, “64”, “72”, “256” depending on the resolution of the icon.
The icon must be saved under /usr/syno/synoman/webman/3rdparty/xxx/ where xxx is the directory name of your package.
For example, if you create a directory named "images" and put the icon image file “icon.png” in it, the full path for the icon would be:
The icon value should also be set as "images/icon_{0}.png"
title O title” represents the application name that will be displayed in the main menu.
desc X desc” displays more details about this application upon mouse-over.
url O The following is an example of value setting for your URL of the application:
“url”: “3rdparty/xxx/index.html”
allUsers X This key determines whether or not the menu items can be seen by users when they log in with an admin account. If you would like to have all users see the menu items, please set the key value as below:
"allUsers": true
The default setting is that only the admin can find the application.
preloadTexts X The specified i18n section:key strings will be loaded even when application ui is not opened. This is necessary when corresponding strings are used to send desktop notifications.

Text fields support i18n value.

results matching ""

    No results matching ""