A code sample for calling a side-panel with Intelligent Viewer (.../viewx) in it
Hello,
I would like to have a sample of code on how to manually trigger/show the side-panel widget with a document opened in Intelligent Viewer like this
I plan to use same functionality in WebReports contents which are loaded by Smart UI widgets
In some previous post I found nice samples on how to call Alert and Dialog boxes and it works well in WebReports, but is it possible to do a side-panel in a similar way?
Comments
-
To clarify, I am looking something similar to this code, which shows how to call Node's property panel
csui.onReady2(['csui/lib/backbone',
'csui/utils/contexts/page/page.context',
'csui/utils/contexts/factories/connector',
'csui/models/node/node.model', 'csui/utils/commands'
], function
(Backbone, PageContext, ConnectorModelFactory, NodeModel, commands) {
var
context = new
PageContext(),
connector = context.getObject(ConnectorModelFactory),
node = new
NodeModel({
id: 128157,
actions: [
{signature: 'Properties'}
]
}, {connector: connector});
var
nodeCollection = new
Backbone.Collection([node]),
properties = commands.get('Properties'),
status = {
nodes: nodeCollection,
context: context
};
if
(properties && properties.enabled(status)) {
properties.execute(status);
}
});
but to open Intelligent Viewing (viewx) in side panel for particular document Node
0
Categories
- All Categories
- 123 Developer Announcements
- 54 Articles
- 151 General Questions
- 148 Thrust Services
- 57 OpenText Hackathon
- 37 Developer Tools
- 20.6K Analytics
- 4.2K AppWorks
- 9K Extended ECM
- 918 Core Messaging
- 84 Digital Asset Management
- 9.4K Documentum
- 32 eDOCS
- 186 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 8 XM Fax
- Follow Categories