Hello,
I am building a 3rd party package which will display php web pages within a DSM UI
For the UI, I am using a bin defined via the SPK's resource file. An icon is added into the Main menu of the DSM to open this UI
The php web pages is running as a web service, also defined via SPK's resource file:
This is creating the portal :
But unfortunatelly, it's also creating an second icon in DSM's Main menu, and I don't want it !
I already have the icon that is oening the UI going to embed the web pages...
Any idea how to avoid the icon linked to the portal?
Thx a lot in adv !!
V.
I am building a 3rd party package which will display php web pages within a DSM UI
For the UI, I am using a bin defined via the SPK's resource file. An icon is added into the Main menu of the DSM to open this UI
JSON:
{
"usr-local-linker": {
"bin": ["bin/demouispk7-cli"]
}
}
The php web pages is running as a web service, also defined via SPK's resource file:
JSON:
{
"webservice": {
"services": [{ ... }],
"portals": [{
"service": "myapplication",
"type": "alias",
"name": "myapplication1",
"display_name": "My Application 1",
"alias": "myapplication1",
"app": "com.mycompany.app"
}],
"pkg_dir_prepare": [{
"source": "/var/packages/MODS_DemoUiSpk7/target/src",
"target": "myapplication",
"mode": "0755",
"group": "http",
"user": "MyApplication"
}]
}
}
This is creating the portal :
But unfortunatelly, it's also creating an second icon in DSM's Main menu, and I don't want it !
I already have the icon that is oening the UI going to embed the web pages...
Any idea how to avoid the icon linked to the portal?
Thx a lot in adv !!
V.