Plug-Ins: "Copy Element"
Title: Copy Element
Compatibility: 10.x ++
- I created a plugin sometime ago that enables you to copy/connect multiple elements from one content class to another.
Developed by: Kim Dezen
Updated by: OpenText Usergroup e.V.
Download: Solution Exchange GitHub
By Kim Dezen ⋅ May 17, 2011
Apart from the creation of custom plugins or scripts, the majority of development time within RedDot CMS (Open Text WSM) projects is spent creating content classes and elements. Most elements (particularly content elements) contain a lot of settings/options that have to be individually set each time you create a new one. On many occasions you may need to create more than one instance of the same element with the same settings within the page. Where’s the duplicate/copy button when you need one?!?!
I created a plugin sometime ago that enables you to copy/connect multiple elements from one content class to another. But I thought id extend the idea one step further by enabling ‘duplicate’ copies of individual content elements to be created within content classes.
This is especially handy when having to create multiple Text elements without having to manually reset the text editor settings individually for each element. (I wish there was a way to set default options for each new Text element project wide – rather than having all options selected!)
The plugin has been developed using RedDot CMS v10+ and works within projects that incorporate the use of single or multiple language variants.
Download the plugin, unzip and copy the folder ‘rdUICopyElement’ into the RedDot CMS plugins folder. Refer to Chapter 7 ‘Administering Plug-ins’ of the Open Text Web Site Management Server – Server Manager Guide on how to import plugins.
How to use it
When a content element is selected under a content class in SmartTree, the following option will appear within the Action Menu:
Clicking on this link will automatically create a copy of the selected element.