Pass the template path as crx:///<the path> Or you can set the content root in options and give the template name in the template parameter. It will resolve the template along with fragments and generate the PDF.This article should helphttps://experienceleague.adobe.com/en/docs/experience-manager-le...