Additional datastore allowed in addon

Is additional data store allowed in jmix addon in composite projects? (addon doesn’t have main datastore)

I can add additional datastore (read only), but when i add entity from database, it gives error on running.

Thanks in advance

Yes, an add-on can declare and use an additional data store.
But the main application should also declare an additional data store with the same name.
For example:
image

1 Like

Thank you, My application stopped executing when I added an additional data store in one of the add-on applications. This post helped which is very clear. The inclusion of the above example image would make the documentation more clear.