cancel
Showing results for 
Search instead for 
Did you mean: 

DMC Core Plugin Extension

emre_sap
Participant
0 Kudos
1,049

Hi Experts,

Recently I've been reviewing and trying a GitHub link(https://github.com/SAP-samples/digital-manufacturing-extension-samples/tree/main/dm-podplugin-extensions) about DMC customization. There is an excellent document in the pod plugin section, I have integrated it as a plugin in DMC without any problems. I wanted to add the Worklist Plugin Extension, but there is no documentation in the Core-Plugin part and I could not find information on how to implement it in the readMe file. There are 4 js files. How do we integrate all 4 of them? Thank you in advance

Accepted Solutions (0)

Answers (2)

Answers (2)

emre_sap
Participant
0 Kudos

Thanks Manoel,

Yes, 4 different js code files and functions inside have been added and their definitions explained. For Pod Plugins There is a nice PDF file for integrating into DMC(howTo). But there is no equivalent tutorial for Core Plugins, should it go the same way? I would appreciate it if anyone who made an example could let me know.

Best Regards, Emre

ManoelCosta
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Emre,

Have you checked Tutorial: Plugin Extensions in the link I provided above? It should cover all aspects of extending Core Plugins. See details below, especially number #4:

To get started on implementing core plugin extensions, follow these steps:

  1. In your browser, go to https://github.com/SAP-samples/digital-manufacturing-extension-samples

  2. Choose Code.
  3. Select one of the options to download the code locally, or simply run the following command within your CLI at your desired folder location: git clone https://github.com/SAP-samples/digital-manufacturing-extension-samples
  4. Open the documentation/jsdocs directory and see the tutorial-a_extensions.html file. This file contains the Tutorial: Plugin Extensions tutorial that describes what extensions are and how to implement them for the supported core plugins.
Note

For sample code references, you can refer to the code snippets inside the dm-coreplugin-extensions folder.

Hope it helps,

Manoel

emre_sap
Participant
0 Kudos

Hello Costa,

Actually, I found these documents beforehand and even integrated the pod plugin and produced various studies. In the Core Plugin integration tutorial, only what the documents and codes are used for is explained. My question is how to apply them in SAP Business Application Studio and how to register them in the DMC Manage Service Registry. As in the pictures below, I created a "controls" file for a pod plugin I created before and imported 5 different JS files for the workList core Plugin. Even though I defined controls in View XML and called it, the plugin gave an error and did not open. That's why I'm asking how to open Core Plugins practically. In the file defined as a Tutorial consists only what the Codes work.

Thank you for your suggestions.

ManoelCosta
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Emre,

See more about Implementing Core Plugin Extensions here.

Br,

Manoel