Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
pr_methods:createdynamictemplate [2023/04/04 07:33] – removed - external edit (Unknown date) 127.0.0.1pr_methods:createdynamictemplate [2023/05/08 06:48] (current) sean
Line 1: Line 1:
 +{{tag>Index Programmers_Reference, Methods IDOCEngineClient_Interface createDynanicTemplate}}
 +
 +====createDynamicTemplate (String, String, byte [], String)====
 +<code java>public DataPresentationTemplate createDynamicTemplate (String templateName, String fileName, byte [] fileData, String dirPath)</code>
 +
 +Implementers of this method are supposed to create the DataPresentationTemplate on the fly from the given parameters. They should also save the template file and all resources (if any) in the provided directory.
 +
 +===Parameters===
 +|''templateName''|name of the template to create|
 +|''fileName''|name of the original file containing the template and possibly resources (if file represents an archive, for example).|
 +|''fileData''|data of the original file (it can represent the template itself or an archive containing the template and its resources)|
 +|''dirPath''|name of the directory where the template file and all its resources (if any) should be written.
 +
 +===Returns===
 +newly create template.