Create template: Get QID/doc