Customize Event Program

Hello,

Is there any way we can customize Event Program in Capture App? We can customize Tracker program using Tracker Plugin Configurator, so that we can add our own custom plugins. Can we do same like adding new plugins in Event Program too?

Thanks,
Hiral

1 Like

@Gassim Do you have any idea here?

1 Like

Hi

Thanks! Yes, I got the ticket issue related to this from (@Karoline): DHIS2-17591

For further comments and updates, please watch the ticket. I’ve also triaged to @eirikhaugstulen for further input :folded_hands: Thanks!

Hey @ramavat - thanks for reaching out!

Plugins in event programs are supported and should work the same way as it does for tracker programs. However, it has not yet been added to the configurator app. That’s just a hobby project of some sorts, which is why things take a bit more time there. If you follow the Plugin documentation, everything should work the same way, and the syntax for configuring it should be the same. I’ll look into adding it to the configurator app as well as soon as I have the time.

Thanks again!

Eirik

1 Like

@eirikhaugstulen Thank you for the update. Yes, I have referred to this Plugin documentation and developed one tracker plugin. It is very very useful. It will be great if we have same feature available for Event program too. Looking forward to this.

Thank you so much,
Hiral

1 Like

Hey again @ramavat!

I am glad to announce that v3 is now published and available on the App hub. It brings along a number of improvements, but the biggest one is that you can now configure form field plugins for all contexts in the Capture app. This includes event programs and program stages.

Here is what’s new in v3:

  • Extended Plugin Support: You can now configure form field plugins for all forms available within the Capture app, including:
    • Tracker Enrollment Forms
    • Tracked Entity Type Forms
    • Event Program Forms
    • Tracker Program Stage Forms
  • Multiple Plugins per Context: It’s now possible to define multiple form field plugins of the same type within the same context, offering greater flexibility.
  • Easier Configuration Export: I’ve improved the process for exporting and downloading plugin configurations, making it simpler to share with other instances.
  • Customizable Capture Widget Settings: You can now adjust custom settings for capture widgets based on context, such as enabling read-only modes.
  • Updated Technology Stack: The app now runs on Vite and the latest version of app-runtime.
  • Bug Fixes and Improvements: Additionally, there have been various bug fixes and general improvements enhancing overall reliability and usability.

I hope this helps, and let me know if you have any feedback!

Eirik

1 Like

Amazing @eirikhaugstulen ! :tada:

This is amazing news. I will try it out this. Thank you so much for this update. Really appreciated.

1 Like