on 2023 Sep 08 12:04 AM
Hi People & UI Developers
I'm having trouble displaying DMC Core Plugins. I needed to have custom worklist core plugin in a project(worklist plugin). There are some open-source classes and their functions are defined in the Tutorial File for Core Plugins (tutorial for core plugins ). Since Pod Plugins are in View(XML) structure, I was able to directly create and open a simple UI5 project to integrate them. But Core Plugins only have classes and JS functions inside them. In this case, how must I open the project in Sap Business Application Studio and save it to the Service Registry in DMC? The Pod Plugin documentation has this information in a great pdf file, but the Core Plugin Tutorial unfortunately does not, It only explains classes and code blocks.
The example below that I made without being sure failed.
I defined the classes in the tutorial for the worklist core plugin in my PodPlugin and was going to use their properties in a function, but it gave an error while trying to open the plugins. Can someone with experience in this matter explain the correct steps?
JS:
sap.ui.define(["sap/dm/dme/podfoundation/controller/extensions/LifecycleExtension",
"sap/dm/dme/podfoundation/controller/extensions/NotificationExtension",
"sap/dm/dme/plugins/worklistPlugin/controller/extensions/CreateExtension",
"sap/dm/dme/plugins/worklistPlugin/controller/extensions/PluginEventExtension",
"sap/dm/dme/podfoundation/extensions/PluginPropertyEditorExtension"
... ],
Hi Emre,
Core plugin extensions are meant to enhance to standard plugins in terms of visualization or behavior. If I can explain the way it works
Steps
In your screenshot, it seems the namespace is not correct in the ExtensionProvider class. It should be of the custom plugin path. Can you please give it a try after modification.
Best Regards
Vivek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
3 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.