Hiding commands - global masks
Hello guys,
we can hide commands in different widgets with conguration of module.config() - see
https://forums.opentext.com/forums/developer/discussion/comment/965479#Comment_965479 and usefull comment by Ferdinand Prantl
https://forums.opentext.com/forums/developer/discussion/comment/945226#Comment_945226
The problem is, that we have to write a signature like String. So if we want to hide the same command for different toolbars we have to duplicate the same list multiple times.
I was experimenting with global mask but they also use module.config() which probably does not support links to external files like csui-ext! do.
But voila, there are some other config file like children and creation.toolitems.mask . What do they do? They use csui-ext! config possibility so you can do something like
` "file" : { "extension" : { "yourmodulename" : ["string path to your extension"]}}`
Any ideas? Any documentation? Any anything that would help me? :)
My idea is to create one list of signatures that would be applied to multiple toolbars. At the end to all widgets with global mask config file.
In smart UI see this path - lib\src\csui\utils\toolitem.masks
Comments
-
I am sure this post will resolve your query
0 -
Thank you for the link. Jan Velas is actually my colleague :) I am aware of hiding commands with masks. But there is more way as I mentioned. - GLOBAL masks
With simple masks, you can hide commands in exact places - action bar, header bar ... one by one.
But these global masks should hide commands everywhere I suppose. But not sure about children and other creation toolitems masks. What are they good for? :) any idea
0
Categories
- All Categories
- 122 Developer Announcements
- 54 Articles
- 151 General Questions
- 148 Thrust Services
- 56 OpenText Hackathon
- 37 Developer Tools
- 20.6K Analytics
- 4.2K AppWorks
- 9K Extended ECM
- 918 Cloud Fax and Notifications
- 84 Digital Asset Management
- 9.4K Documentum
- 31 eDOCS
- 186 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 7 XM Fax
- Follow Categories