Report Templates in a Request URL

Report templates can be specified as a file name or a resource name. If the templates are referenced using a file name, a 'templateFile' parameter must be included in the request URL, e.g.,

http://localhost/servlet PDFService?templateFile=template1.srt

If the file name is not a full path, the directory specified in the 'templateDir' parameter is used as the location of the file. Otherwise, the full path is used to load the template file.

Alternatively, a template can also be specified as a resource name. A resource is loaded using the Java class loading mechanism. The resource is loaded using the CLASSPATH in the same way as a class file. Therefore, a resource file could be loaded from the local file system, or a JAR file.

http://localhost/servlet/PDFService?templateResource=/reports/template1.srt.
demo
Read how InetSoft saves money and resources with deployment flexibility.

Encoding Parameters in the URL

If any query used in a report requires user parameters, the parameter values must be encoded in the request URL as HTTP parameters. All parameters specified on the URL are passed to the query engine as the parameters for the queries. Assuming a parameter called 'state' is defined in the query, the request URL must specify the parameter as follows:

http://localhost/servlet/PDFService?templateFile=template1.srt&state=ny  

If parameters are required, the request URL must contain the parameter specification as shown above. The servlet does not prompt for the parameter values. If the parameter values need to be entered by users at runtime, the application must create its own HTML interface to get the parameters and pass the parameters to the servlet as part of the URL.

InetSoft Viewpoint

The goal overall of data virtualization is agile business, and we really need to put business at the center of this whole discussion. You know we are not really interested in building pretty architecture pictures here. The goal is to really enable a fast incremental business value driven evolution of the organization and so we ask what role therefore does enterprise architecture and information management play in that? How can we make that iterative agility as much as possible self-service enabled by the business people. You want pervasive business intelligence at the edges of the organization, not all centralized.

The idea is virtualized access to information as a service, and we will explore what that means architecturally, but the idea is you want to be able to deliver the right information to the right person or persons at the right time and not make that very complex or difficult to do. In this context, enterprise architecture is evolving more away from just being a set of boxes that represent well here is my IT or infrastructure architecture, here is my messaging architecture, here is my information architecture, my business process architecture, and application and solution architecture.

More Articles About Reporting

Alternative to Tibco Spotfire's Visualization - Are you looking for alternative to Tibco Spotfire's visualization software? InetSoft offers a web-based server solution that is better suited to enterprises and OEMs, yet is easy to deploy and use. Since 1996 InetSoft has been offering business intelligence applications that are flexible and powerful, serving over 5,000 enterprises and solution providers worldwide. Some of the reasons to evaluate InetSoft against Tibco Spotfire: All Web based solution for creating, interacting with, and modifying visualizations and dashboards...

Analytics for Ammunition Manufacturers - The integration of predictive analytics in armaments and ammunition manufacturing has significantly enhanced efficiency, safety, and strategic planning. This essay delves into the specific applications of predictive analytics in this sector, highlighting its impact on production processes, quality control, supply chain management, and product innovation. One of the primary applications of predictive analytics in armaments and ammunition manufacturing is predictive maintenance. Manufacturing equipment and machinery are critical to the production process, and their failure can lead to significant downtime and financial losses. Predictive analytics uses sensor data from machinery to monitor performance indicators such as vibration, temperature, and pressure. By analyzing these indicators, predictive models can forecast when a machine is likely to fail or require maintenance...

Analytics for Therapeutic Innovation - Medical or healthcare institutions without access to the right BI tools typically suffer from a significant lack of digestible or accurate patient data. Couple this issue with a striking rate of administrative errors, and you have a real problem on your hands. Visually digestible KPIs and data visualizations give healthcare institutions the tools to combine clinical, medical, fiscal, and operational data that dictates the impact of their many processes across departments, as well as the overall health and wellbeing of their patients...

Automation of Reporting for Warehouses - Automated houses run like a well-oiled machine regardless of the systems set in place. Whether it is robots, robots, or automated replenishers, these systems make warehousing very simple and efficient. However, despite these measures, warehousing companies can optimize their operations even further with advanced analytics and dashboard software. Automation generates a lot of data that can be analyzed and processed for higher productivity and optimum performance. Implementing advanced dashboards, warehouse managers have gained to real-time business intelligence about their operations. For example, they can know exactly where to place cargo and items that are frequently required...

BI Solutions for Water Supply Enterprises - Water supply enterprises utilize Business Intelligence (BI) solutions to monitor and manage various aspects of their operations efficiently. The metrics tracked with BI solutions help in optimizing water distribution, ensuring compliance with regulations, and enhancing overall system performance. Here are some key metrics that water supply enterprises typically track: Water Quality Metrics: Water Purity Levels: Monitoring the concentration of contaminants and ensuring compliance with water quality standards. Chlorine Residual: Measuring the effectiveness of disinfection and ensuring water safety. Water Distribution Efficiency: Water Loss and Leakage Rates: Assessing the efficiency of the distribution system by tracking losses through leaks and unauthorized consumption. Distribution Network Pressure: Monitoring pressure levels to optimize water flow and minimize leakage risks...

Strong Analytical Culture - The best performing companies are more likely to report a stronger analytical culture, one that sees value in the timely analysis of relevant data in order to support major decisions as opposed to those that just run largely on gut feel. Also the best run companies are more likely to employ what's frequently referred to as a data scientist, someone dedicated to the data that understands not only how to manage and improve the cleanliness, usability, and accessibility of data, but someone who also understands statistical modeling, and in some cases how to make the data more relevant to business decision makers...

Vehicle Tracking in Fleet Management Software - Fleet Management Software is GPS-enabled which helps businesses track their trucks' progress throughout the route. Vehicle tracking also allows them to see if the drivers are taking the correct way and if the trucks are in optimum condition. Vehicle tracking data helps fleet managers improve efficiency and know their drivers' effectiveness better. With GPS technology, fleet managers can optimize the routes taken by their fleet to minimize the distance and time taken by each fleet to reach their destination. Fleet Management software also allows them to see whether their drivers are sticking to safe routes, thus increasing the transparency of their operations...

Previous: Report Generation - Servlet Configuration
We will help you get started Contact us