@BigRoy thanks, that dit the trick.
And indeed, now i want to save it to the correct folder with the ayon Directory Template or similair like
{root[work]}/{project[name]}/{hierarchy}/{folder[name]}/work/{task[name]}/{app}
That doesn’t work unfortunately.
And for now it would be simple as just create a workfile if you click the pureref icon, and open it if it’s there. (like prism does)
Publishing etc i can do through the launcher publisher, that shouldn’t be a problem.
But indeed maybe a separate topic on how to integrate pureref