Override the logic for file upload - How to remove existing commands?
To extend the logic for and override the default file upload behavior, I think we will have to extend and register nodestable.view, as well as inlineform.view and tabletoolbar.view.
I believe there are no extension point directly for fileupload, and the only way to extend the fileupload behavior is to extend the views mentioned.
With this there should be no problem implementing our own fileupload behavior, however there is another problem.
Apart from adding new commands, toolbar entries and widgets, how do we remove existing command, toolbar entries and widgets?
Say if I want to replace the current behavior of the rename command, I think is possible is to extend and register a new rename command.
Once this extension is loaded, there will be two rename commands, one is the original version, the other is mine.
How do we go about removing or hiding the original rename command?
Thanks
Comments
-
Hello guys. I can provide you some guide to hide commands in nodestable. There is a configuration step by step solution. You need to extend some masks for the widgets. See "yourmodule"-extension.json file. You need to specify the signature of the command you want to hide in blacklist array. Different widgets can have different structure. I also noticed that there are some general mask that , I believe, are applied to all widgets at once, but I did not dig deeply into it...
0
Categories
- All Categories
- 111 Developer Announcements
- 49 Articles
- 102 General Questions
- 123 Services
- 40 OpenText Hackathon
- 32 Developer Tools
- 20.6K Analytics
- 4.1K AppWorks
- 8.9K Extended ECM
- 901 Cloud Fax and Notifications
- 77 Digital Asset Management
- 9.3K Documentum
- 29 eDOCS
- 127 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 1 XM Fax