I ended up going with the powerpoint solution as I couldn’t hack the DataSourceReference property. As such this belongs in PresentationXML, but the code to make the certificates based on a template is up at GitHub link to C# file