#1 2024-08-16 06:29:43

zach.mathew
Member
Registered: 2015-04-17

Is there any way to track jrxml SVN revision number on ReportSever ?

Hi,

We use ReportServer to deploy Jasper Reports (as jrxml files).

We have an SVN repository for our jrxml files and when we update the jrxml, we replace the existing jrxml with the updated one from the SVN repo.

The problem is in tracking whether the JRXML uploaded in ReportServer is the latest version or not.

Is there any way to do this without manually entering text into the Description section.

I was wondering if there is a way to auto update Report Properties or Report Metadata whenever the JRXML is updated.

Thanks,

Zach

Offline

#2 2024-08-16 07:08:44

eduardo
Administrator
Registered: 2016-11-01
Website

Re: Is there any way to track jrxml SVN revision number on ReportSever ?

Hi Zach,

You can track changes to your reports in ReportServer using the "rev" terminal command. For your scenario, the command "rev list" will display all revisions of a given report, allowing you to see if the JRXML file has been updated to the latest version. You can find more details here: https://reportserver.net/de/dokumentati … #19-53-rev

Regards,
Eduardo

Offline

#3 2024-08-19 06:26:13

zach.mathew
Member
Registered: 2015-04-17

Re: Is there any way to track jrxml SVN revision number on ReportSever ?

Hi Eduardo,

Thanks for your reply. I think I didn't phrase my question very clearly. What I'm looking to track / view is the internal SVN revision number.

For example, I have a report called Sales Report. I upload version 103 of it on ReportServer and run it. After a few days, i update the jrxml and upload version 104 of it on to ReportServer. What I'm looking to do is view these numbers (103,104) on Reportserver.

Is there some way i can write this internal SVN revision number into the description / metadata / properties of the report so that at any point I'd be aware of the SVN version number of the uploaded JRXML when i look at the report.

Thanks,

Zach

Offline

#4 2024-08-19 06:44:01

Felix
Moderator
Registered: 2022-08-01

Re: Is there any way to track jrxml SVN revision number on ReportSever ?

hi Zach,

as I am more "team GIT" I'm not absolutely sure how Subversion is managing revisions on files, but is this Number part of the file? I assume that SVN is tracking this information like git in it's own structure ... therefore I see no chance that our reportserver is able to get the revision-number if the file is "copied" into it's filesystem


... unless someone is implementing a SVN (and/or GIT) Datasource/Datasink wink But this is currently not our roadmap.

kind regards

Felix


Softwareentwickler bei Infofabrik

Offline

Board footer

Powered by FluxBB