{{tag>Programmers_Reference Methods IDOCEngineClient_Interface initialisetemplate Index}} ====initialiseTemplate (DataPresentationTemplate, IDomainVersion)==== public void initialiseTemplate (DataPresentationTemplate template, IDomainVersion domainVersion) throws Exception This method is called by //**AwareIM**// when a new document template is being created in the Configuration Tool. The method is supposed to find the attribute paths referenced by tags contained in the document template and set the information about these paths into the provided [[docs:3500:0600:0630|]] object using its ''[[pr_methods:setattributepaths|setAttributePaths]]'' method. ===Parameters=== |''template''|the document template to set the attribute paths into| |''domainVersion''|the business space version where the document template is defined| ===Throws=== an exception if an error occurs or if the document template structure is invalid.