I have tried following this tutorial.
However, I can not manage to query the contents of any folder, it just returns an empty array, but I know that there files inside. Is the tutorial outdated?
It works now, turns out the that solid tutorial has a typo when declaring the DLP vocab.