csui-sdk 21.4.0 FolderBrowser Widget add Button sample
Hi All,
I am new to and having some trouble learning the smart UI sdk framework,
I have been studying require.js, backbone.js and marionette.js but it's still taking me awhile to understand how to implement functionality to more complicated widgets.
Are there any samples where I can inject a custom button under the FolderBrowser widget?
More specifically when documents are selected, a list of buttons show up on the top toolbar of the widget, my aim is to add a custom button in that toolbar shown:
But I don't seem to find any tutorial or samples to add a button,
Any help would be appreciated!
Also, is there an alternative way of deploying the code besides using Oscript?
Kind thanks,
Sean
Comments
-
The exact link escapes me but I think one of the examples the SDK training course or documentation does is exactly that .I will try to answer this question first
Also, is there an alternative way of deploying the code besides using Oscript?
The code or software you develop are actually javascript files but to use it in the Content Server context you need extension points. Since CS is written in Oscript its registration will happen like this. This same smartui SDK is used in other OT products like Documentum, since DCTM has a java code base my guess is its registration will be in its language. As such the JS is not tied to anything but the JS interpreter but the SDK itself tries "minifying" and "scaffolding" see @Chris Meyer https://schwiiz.org/2020/05/12/smartui-other-frameworks/ in essence your browser is ending RESTAPI requests to CS which does its thing in Oscript and returns JSON.
This is the disclaimer that OT provides to encourage developers
FOOLBOThttps://knowledge.opentext.com/knowledge/llisapi.dll/kcs/kbarticle/view/KB17956733
The SDK as delivered
https://knowledge.opentext.com/knowledge/llisapi.dll?func=ll&objId=78242133&objAction=browse
I just downloaded the document and expanded it is afar cry from about 3 years when I attended training perhaps one of these days will try my luck.
@Ferdinand Prantl is the GURU on SUI at OT he answers almost complex things
@Reiner Merz a veteran as well
https://medium.com/driver-lane (Mathew Barben)
I know this wont help with adding a button but many things can only be done with some amount of perseverance and knowledge :)
1 -
Thanks @Appu Nair
@Matthew Barben This is is the post where we need your expertise.
0 -
Hello @SeanYuLin,
Did you manage to do this?
0 -
Hello @SeanYuLin
If you managed to do this, could you please tell us how?
0 -
0
-
My starting points would be to
- Register the command
- Add this command to the NodeWidget's commands collection (probably we can use toolbaritemmask as well)
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