cancel
Showing results for 
Search instead for 
Did you mean: 

DMC Core Plugin Extension Integrations

emre_sap
Participant
0 Kudos

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" 
... ],


Accepted Solutions (0)

Answers (2)

Answers (2)

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

  1. We define the core plugin extensions in the designer/components.json file maintaining reference to pod and plant and registering the extension provider.

    1. We define various core extension mechanism (table visualization, worklist plugin events, lifecycle events or notification events, POD Configuration) from this ExtensionProvider.js file.
    2. Then we deploy and register the application in Manage Service Registry similar to as we do with custom plugins. And that should active this core extension behavior very particular to the plant or pod.

    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

    emre_sap
    Participant
    0 Kudos

    The codes are giving errors despite my definitions. The worklist plugin does not open.

    Emre