27

When creating an event subscriber, the application that generates the event must be part of the dependencies in app.json. This is not a problem if there is a dependency on a standard or legislation. However, if the application connects to events of other applications from other partners, a dependency on these applications is required and this means that the customer must have all applications from the dependecies installed. The problem is that the customer does not want all applications but only one. In order to achieve the required options, it is necessary to change the dependecies in app.json or create another "bridge" application that will contain the necessary dependencies and event subscribers.


It would be good if it were possible to create independent event subscribers that would not require a direct dependency.


For example, a new "eventdependencies" property would be created in app.json, this would be used when compiling the application, but would not require the installation of those applications.

Independent subsriber events would only be triggered if the database contains the application that generates the event. If there was nothing in the database, this event would not happen and this event subscriber would never be called.



Category: Development
STATUS DETAILS
Needs Votes
Ideas Administrator

Thank you for this suggestion! Currently this is not on our roadmap. We are tracking this idea and if it gathers more votes and comments we will consider it in the future. Best regards, Business Central Team