I have created new template from TemplateBean. Following are the API's I used to place my template file in the Report Wizard.
TemplateBean templateBean = new TemplateBean();
templateBean.setName(templateName);
templateBean.setDescription(description);
templateBean.setTemplateFileName(filename);
templateBean.setCategory(categoryName);
// save template bean into user.dir directory
TemplateHelper.saveTemplate(templateBean);
TemplateHelper.reloadTemplate(templateBean);
By doing this I am able to upload my Template file but it does create the Default Report Data instead I need create it manually using New button.
Can anybody help me on this issue. I want to know how can I get that Default Report Data in Select Report Data panel.