Dear support,I am using an EntryTemplate with Layout. I have to add a button next to an EDS dependent choice List field, press on this button will select default value on the choice list. To achieve this behavior i consider to add a new "Editor" that doing the same as the original EDS default Editor that called "FilteringSelect" with one more thing like button next to it.
I use this guide to create a new EntryTemplate Editor.
http://www.notonlyanecmplace.com/create-your-custom-attribute-editor-part-2/
I created a new plugin and on his global JS i add
on the require list the ecm/model/configuration/ControlRegistry
require([
"dojo/_base/lang",
"ecm/model/configuration/ControlRegistry",
"customEditorPluginDojo/editors/MyCustomEditor" // our custom editor widget
], function(
lang, ControlRegistry, MyCustomEditor
) {
var editorId = "myCustomEditor";
ControlRegistry.editors.editorConfigs[editorId] = {
label: "My Custom Editor",
editorClass: MyCustomEditor
}; ControlRegistry.editors.mappings.choices.falt.single.editorConfigs.push(editorId);
});
How do i add\create\call the same Editor like pvr.widget.editors.FilteringSelect editor with option to extend it on my MyCustomEditor.js and MyCustomEditor.html?
Do you have any Idea?
Do you have some reference? i dont want to break the EDS behavior with unsupported js that why it is so important to Duplicate and extend the FiltringSelectEditor.
#IBMContentNavigator(ICN)#Support#SupportMigration