@WithAttachments and @Shareable not working after new code

Hi,

I have a table with @WithAttachment en @Shareable which worked fine until i added a code to limit the number of records that can be created. When i remove that part of the code everything workes fine again. I tried several options to get everything working together, but up until now no luck.

any ideas would be welcome.

Regards
LS

Hi,

Both addons use declarative controllers under the hood for Cuba 6 screens.

When using that and you override the init method, you have to call super to trigger the logic that enables the logic of both addons. See: GitHub - balvi/cuba-component-declarative-controllers: CUBA component that allows to write generic features for a Controller and use them in a declarative way

Bye
Mario

thanks Mario. Solved