Custom UI for report generation
-
Hi,
We plan to use jsreport to build templates for our reports.
Then, we want to use our existing UI to list all available templates and then allow the user to create reports.
We can pass information about selected clients to jsreports using
data
.Can you tell me if there is any way to see available options/attributes for each template from the API?
Example: We have three templates: User report, Client report, and Device Report. We must display select with users, clients and devices for each template.
Do we need to hardcode it?
-
Example: We have three templates: User report, Client report, and Device Report. We must display select with users, clients and devices for each template.
I am afraid I don't understand. What are the users, clients, and devices?
The API for querying entities like report templates is described here
https://jsreport.net/learn/api#querying-and-crudYou can also inspect the entities in the studio to see what attributes they have