on 2024 Nov 26 10:36 AM
Hi Experts,
I am working on core plugin extensions in SAP DM where in I am extending the SfcCardExtensionProvider whenever there is change of resource status.
As per the github code for SfcCardExtensionProvider there are only four events mentioned in
I wanted to know are only those for events supported for SfcCardExtensionProvider or other events like ON_CLOSE_PLUGIN or ON_POD_SELECTION_CHANGE_EVENT are also supported by SfcCardExtensionProvider ?
I tried using other events like ON_CLOSE_PLUGIN or ON_POD_SELECTION_CHANGE_EVENT but the SfcCardExtensionProvider does not captures it whenever I changes the resource status through changeEquipmentStatus plugin and the plugin is closed.
Also, is there a way we can call plugin events of SfcCardExtensionProvider from any other extension plugin for example changeEquipmentStatus?
Reference Blog for plugin Extension
Thanks and Regards,
Sabahat Shaikh
SAP Digital Manufacturing SAP Digital Manufacturing Insights @ManoelCosta
Request clarification before answering.
Hi! For Sfc Card plugin, the supported events are:
As docummented at https://github.com/SAP-samples/digital-manufacturing-extension-samples/blob/main/documentation/jsdoc... and implemented as an example at https://github.com/SAP-samples/digital-manufacturing-extension-samples/blob/main/dm-coreplugin-exten...
Br,
Manoel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Manoel,
Thank you for your response.
I found out the solution. It is possible to trigger an event by publishing it through another extension provider.
For example, publishing PageChangeEvent from changeEquipmentStatusExtensionProvider. Since PageChangeEvent is supported by SFCCardExtension, it was captured by SFCCardExtensionProvider and it rendered new details on the SFC Card as per custom logic.
Thanks and Regards,
Sabahat Shaikh
User | Count |
---|---|
3 | |
2 | |
1 | |
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.