Im a German Developer and currently working on my first NextCloud Application.
I already have a good (and working) base now and wanted to add some Administrator Settings to my App.
console.log(OCP.AppConfig.getValue('berichtsheft', 'pdf_auto_date', 'no'));
but i just get ‘undefined’ in the console.
If i try logging
without (), then i will see the Function but i cant call it.
Thanks for reading all this and your help.