If you are still trying this, here you find my approach for a similar problem:
Would be nice if that were better documented in the official docs tho.