#1 2014-12-15 11:23:30

Lynn
Member
Registered: 2014-12-03

Linking CSS to report templates

Hi there

We've installed the ReportServer & it's great so far, but wondered how/where we could link CSS to the report templates?  We're using BIRT designer for template creation.

We would want these to be linked (instead of imported) so that we do not need to edit every report template when changes are made.

If you could point me in the right way that would be excellent!
Thanks
Lynn

Last edited by Lynn (2014-12-15 11:24:10)

Offline

#2 2014-12-15 12:52:51

Thorsten J. Krause
Guest

Re: Linking CSS to report templates

Hi Lynn,

you can place css files and other resources in reportservers internal fileserver (the fileserver section in the admin module). The file /etc/reportengines/reportengines.cf defines the location resources are loaded from. Just set the id of the parent folder (library.folder.id).

Cheers,
Thorsten

#3 2014-12-15 13:27:57

Lynn
Member
Registered: 2014-12-03

Re: Linking CSS to report templates

Thanks Thorsten, so yes I can see where we load the files but how do we link it to a template from within the admin?

We have the admin & user guide but can't see any mention of how to do this.

tx
Lynn

Offline

#4 2014-12-15 14:20:39

Thorsten J. Krause
Guest

Re: Linking CSS to report templates

Hi Lynn,

there is no additional linking required: You add a linked css resource to your report in birt designer (as is described here http://help.eclipse.org/luna/index.jsp? … File.html), then upload the css file to the folder you configured as the birt ressource folder.

Did you configure the resource folder in the config file I mentioned earlier? Also note that you have to explicitly reload the configuration after you have made changes: Open the terminal by pressing CTRL+ALT+T and type the command "config reload" to reload the configuration files.

Cheers,
Thorsten

#5 2014-12-15 15:29:21

Lynn
Member
Registered: 2014-12-03

Re: Linking CSS to report templates

Ah, ok will try that.  Thanks!

Offline

#6 2014-12-15 16:58:10

Lynn
Member
Registered: 2014-12-03

Re: Linking CSS to report templates

That worked - thanks again!

Offline

Board footer

Powered by FluxBB