{{tag>Programmers_Reference Methods DataPresentationTemplate_Class}} ======getLoadedTemplate ()====== **Class:** [[3500:0600:0630|DataPresentationTemplate]] public BinaryResource getLoadedTemplate () This method returns the data for the document template as a ''BinaryResource''. ''BinaryResource'' is a structure that contains the document file name and the binary data of the document as an array of bytes. This method should be used by [[ref:p_m:fillwithdata|fillWithData]] method to retrieve the document template so that it can find tags and replace them with values. =====Parameters===== none =====Returns===== the document template as a ''BinaryResource'' structure.