Need a special offer?Find out if your project fits.
+

Can we create a template with out data and use the same template for rendering the data

Answered
Ranjith asked on July 13, 2020

Can we create a template with out data and use the same template for rendering the data

5 answers

Public
Milena Pechura Milena Pechura Flexmonster July 14, 2020

Hello, Ranjith,
 
Thank you for writing to us.
 
Could you please provide further details about your case?
Understanding the logic, for example, how the data is supposed to be loaded into Flexmonster, will help us to solve your issue.
 
Looking forward to hearing from you.
 
Best regards,
Milena

Public
Ranjith July 14, 2020

Similar to Save Report  functionality with out data and then use that template to integrate with josn file for reporting
 
Not sure whether this makes sense

Public
Milena Pechura Milena Pechura Flexmonster July 15, 2020

Hello, Ranjith,
 
Thank you for the details.
 
In your case, we would like to suggest following these steps:
 
1. To create a template please get the report using getReport() and save() API calls. Further information could be found in the article.
 
2. To use the template for new data change filename value of the Data Source Object. The value could be the URL to CSV or JSON file or to a server-side script that generates CSV data or JSON data.
 
We hope it helps. Do not hesitate to contact us in case additional questions appear.
 
Best regards,
Milena

Public
Milena Pechura Milena Pechura Flexmonster July 22, 2020

Hello, Ranjith,
 
We were wondering if our response helped you with your question.
Did you implement your template concept? Perhaps you still have any questions?

We are looking forward to hearing from you.
 
Kind regards,
Milena

Public
Milena Pechura Milena Pechura Flexmonster July 29, 2020

Hi!
 
We are just checking in to ask if you’ve found our response helpful.
Is the description for creating a template clear? Perhaps further details or examples are needed?
 
We are looking forward to your response.
 
Best regards,
Milena

Please login or Register to Submit Answer