Hi,
Are the extensions built with the SDK compatible to use with CS 16.0.3? It seems like a lot has changed with the Smart UI between version 16.0.2 and 16.0.3?
ThanksMathijs
Absolutely, since the SmartUI SDK was released with the 16.0.3 update of CS (2016-12) for developing extensions and widgets. Therefore, compatibility should definitely not be an issue.
What exactly are you having issues with? Could you let the forum know?
In CS 16.0.3 the "Related Workspace Folder" object does not seem to be supported anymore in the Smart UI. So I developed an extension that enables the "Browse" command for the Related WS Folder (ObjType 854) like this:
open.related.default.actions.js
define(function () { return [ { equals: {type: 854}, signature: 'Browse', // Less than 10 takes priority over the built-in command sequence: 5 } ];});
And then enabled the command as follows in the <mod>-extensions.json:
{ "csui/models/server.module/server.module.collection": { "modules": { "mdmcs": { "version": "1.0" } } }, "csui/utils/defaultactionitems": { "extensions": { "mdmcs": [ "mdmcs/commands/open.related/open.related.default.actions" ] } }}
I Copied the javascript+folderstructure "commands/open.related/open.related.default.actions.js" to the <mod>/src/ folder, ran grunt, and deployed the files from out-module into a Content Server 16.0.2. When I then try to install that module to 16.0.3 , it doesn't work. The module gets installed but the smart UI doesn't work anymore, without a clear error message.
By Related WS Folder, if you mean the ones that comes with Connected WS, you could easily show them inside a Connected WS by means of a widget. That would show you all the related workspaces to this parent Connected WS. Are you looking for something extra?
We are aware that you can indeed add a Widget to show the related WS; but there are some shortcomings to these widgets.
First of all, they only show either all Child-related WS or Parent-related WS, not both , so you would need to have 2 widgets to show the relations. In the Related Folder you can specify both Child and Parent-relations
Second, in these widgets you can only select 1 kind of Workspace Type to display, while in the Related WS folder you can specify multiple or "All".
And third, in the Workspace Integration Widget in another application, for example SAP GUI, you can't really display other widgets to show the related objects. So the Related folder is very convenient to use from within SAP GUI to navigate to related objects.
I rebuilt the module and now it seems to be working, so my issue is fixed and it's good to see that the SDK works with CS 16.0.3 to fix the issues we've been having.