A thing I have not yet discovered, is the following: is there any report-generator in WebMaker 5 ? How would one proceed in order to design and print a report ?
WebMaker applications use CSS to control the layout and look-and-feel. By default, applications use a single demos.css file, but you can use your own CSS files to tailor the application to your exact requirements.
Printed reports use this same approach, by utilising separate CSS file(s), which you can include in your application to control different aspects of your application depending on whether you are displaying the application on the web or on printed media.
You can locate these settings on the Application Map tab. Have a look towards the bottom of the left hand panel under Advanced Settings. You can choose your CSS files in this area and also assign conditional parameters to control exactly when certain CSS files will be used.
If you remove the demo.css file and add demo_print_web.css then you should see the different effects. In reality, you will include both files and add a condition as shown to only use the demo_print_web.css file during printing, but you will not be able to see the effects of the print CSS on screen. The Print Preview on Firefox might show the effect.
[attachment=0]demo_print_css.png[/attachment]
These settings will apply across all pages on your application. If you want to apply certain CSS files to specific pages only then highlight the pages(s) and use the Advanced Settings on the right-hand-side panel instead. You can learn more by searching for 'Media Queries'. The following link might also prove useful: http://www.hyfinity.com/node/148
If you need a report that is significantly different to your online web page then you can always create a separate print version of this page in WebMaker and link to this page as a separate report, which you can tailor using its own CSS and allow printing via the Print Control.
A thing I have not yet discovered, is the following: is there any report-generator in WebMaker 5 ? How would one proceed in order to design and print a report ?
Diamans, as Abdul said, you can only do a printer friendly web page as a report or form. I would suggest looking at either Sql Server Report Server (SSRS) or JasperReports for a true reporting tool. Both are web based and you can point to them easily from Webmaker.
Thanks people. Very valuable information. I obviously was not aware of the CSS options. The platform I have been working with until now provides a full internal reportengine and has a reportserver of its own. So I sort of expected that with WebMaker as well. I will explore the available options a bit, Crystal Reports may also be an option. JasperReports also seems a very common tool to use.
RE: How to create and print a report ?
WebMaker applications use CSS to control the layout and look-and-feel. By default, applications use a single demos.css file, but you can use your own CSS files to tailor the application to your exact requirements.
Printed reports use this same approach, by utilising separate CSS file(s), which you can include in your application to control different aspects of your application depending on whether you are displaying the application on the web or on printed media.
You can locate these settings on the Application Map tab. Have a look towards the bottom of the left hand panel under Advanced Settings. You can choose your CSS files in this area and also assign conditional parameters to control exactly when certain CSS files will be used.
If you remove the demo.css file and add demo_print_web.css then you should see the different effects. In reality, you will include both files and add a condition as shown to only use the demo_print_web.css file during printing, but you will not be able to see the effects of the print CSS on screen. The Print Preview on Firefox might show the effect.
[attachment=0]demo_print_css.png[/attachment]
These settings will apply across all pages on your application. If you want to apply certain CSS files to specific pages only then highlight the pages(s) and use the Advanced Settings on the right-hand-side panel instead. You can learn more by searching for 'Media Queries'. The following link might also prove useful:
http://www.hyfinity.com/node/148
You also have the option of using a Print Control which will provide a 'Print this page' type link on your page:
www.hyfinity.net/wmforum/showthread.php?tid=385
If you need a report that is significantly different to your online web page then you can always create a separate print version of this page in WebMaker and link to this page as a separate report, which you can tailor using its own CSS and allow printing via the Print Control.
Regards
Abdul
RE: How to create and print a report ?
Diamans, as Abdul said, you can only do a printer friendly web page as a report or form. I would suggest looking at either Sql Server Report Server (SSRS) or JasperReports for a true reporting tool. Both are web based and you can point to them easily from Webmaker.
RE: How to create and print a report ?