talk@lists.collectionspace.org

WE HAVE SUNSET THIS LISTSERV - Join us at collectionspace@lyrasislists.org

View all threads

Automatic updating of reports

PT
Peter Tucker
Thu, Apr 7, 2016 12:43 AM

Hi everyone,

I've been working on getting reports to work with my instance of
collectionspace (I have 4.3, on ubuntu). I was following this set of
instructions/videos to setup JasperSoft Studio with Collectionspace
postgres tables.

https://wiki.collectionspace.org/display/DOC/Connecting+Jaspersoft+Studio+to+CollectionSpace
https://wiki.collectionspace.org/display/DOC/Creating+and+Running+a+CollectionSpace+Report+in+Jaspersoft+Studio

I was successful in being able to connect to the postgresql data from my
CS instance, and I was able to create a sample pdf report that simply
displays all of the users. However the instructions stop there, as the
next set talks about running reports within collectionspace, but I was
wondering how do I use my jrxml file I created for my report to be shown
on that "Run Report" dropdown menu on Collectionspace. The only other
thing I saw was this article

https://wiki.collectionspace.org/display/collectionspace/Release+3.2.1#Release3.2.1-AutomaticupdatingofreportsusingnewJasperReportsversions%28CSPACE4876

This was back when 3.2.1 was released, but what I saw was about
automatic updating of reports. It said all you needed was to copy the
.jrxml source file to %CSPACE_JEESERVER_HOME\cspace\reports, and that
they will automatically be compiled on the fly. I'm a bit confused on
this. I haven't tried copying yet, but if I copy my jrxml file there,
and restart CS, will it be run? How then would I specify if I only want
this report to be run for like loan in or loan out types (for example)?
Basically just was wondering on some instructions to get my jrxml file i
made in Studio to appear on Collectionspace.

Thank you,
Peter

Hi everyone, I've been working on getting reports to work with my instance of collectionspace (I have 4.3, on ubuntu). I was following this set of instructions/videos to setup JasperSoft Studio with Collectionspace postgres tables. https://wiki.collectionspace.org/display/DOC/Connecting+Jaspersoft+Studio+to+CollectionSpace https://wiki.collectionspace.org/display/DOC/Creating+and+Running+a+CollectionSpace+Report+in+Jaspersoft+Studio I was successful in being able to connect to the postgresql data from my CS instance, and I was able to create a sample pdf report that simply displays all of the users. However the instructions stop there, as the next set talks about running reports within collectionspace, but I was wondering how do I use my jrxml file I created for my report to be shown on that "Run Report" dropdown menu on Collectionspace. The only other thing I saw was this article https://wiki.collectionspace.org/display/collectionspace/Release+3.2.1#Release3.2.1-AutomaticupdatingofreportsusingnewJasperReportsversions%28CSPACE4876 This was back when 3.2.1 was released, but what I saw was about automatic updating of reports. It said all you needed was to copy the .jrxml source file to %CSPACE_JEESERVER_HOME\cspace\reports, and that they will automatically be compiled on the fly. I'm a bit confused on this. I haven't tried copying yet, but if I copy my jrxml file there, and restart CS, will it be run? How then would I specify if I only want this report to be run for like loan in or loan out types (for example)? Basically just was wondering on some instructions to get my jrxml file i made in Studio to appear on Collectionspace. Thank you, Peter
BH
Brian Harrington
Thu, Apr 7, 2016 12:58 AM

Hi Peter,

Take a look at the "Preparing reports for running from within
CollectionSpace" section of this page:
https://wiki.collectionspace.org/display/DOC/How+to+add+and+run+reports

I hope this helps,

Brian

On 4/6/16, 8:43 PM, "Talk on behalf of Peter Tucker"
<talk-bounces@lists.collectionspace.org on behalf of
peter.tucker@granitehorizon.com> wrote:

Hi everyone,

I've been working on getting reports to work with my instance of
collectionspace (I have 4.3, on ubuntu). I was following this set of
instructions/videos to setup JasperSoft Studio with Collectionspace
postgres tables.

https://wiki.collectionspace.org/display/DOC/Connecting+Jaspersoft+Studio+
to+CollectionSpace
https://wiki.collectionspace.org/display/DOC/Creating+and+Running+a+Collec
tionSpace+Report+in+Jaspersoft+Studio

I was successful in being able to connect to the postgresql data from my
CS instance, and I was able to create a sample pdf report that simply
displays all of the users. However the instructions stop there, as the
next set talks about running reports within collectionspace, but I was
wondering how do I use my jrxml file I created for my report to be shown
on that "Run Report" dropdown menu on Collectionspace. The only other
thing I saw was this article

https://wiki.collectionspace.org/display/collectionspace/Release+3.2.1#Rel
ease3.2.1-AutomaticupdatingofreportsusingnewJasperReportsversions%28CSPACE
4876

This was back when 3.2.1 was released, but what I saw was about
automatic updating of reports. It said all you needed was to copy the
.jrxml source file to %CSPACE_JEESERVER_HOME\cspace\reports, and that
they will automatically be compiled on the fly. I'm a bit confused on
this. I haven't tried copying yet, but if I copy my jrxml file there,
and restart CS, will it be run? How then would I specify if I only want
this report to be run for like loan in or loan out types (for example)?
Basically just was wondering on some instructions to get my jrxml file i
made in Studio to appear on Collectionspace.

Thank you,
Peter


Talk mailing list
Talk@lists.collectionspace.org
http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspa
ce.org

Hi Peter, Take a look at the "Preparing reports for running from within CollectionSpace" section of this page: https://wiki.collectionspace.org/display/DOC/How+to+add+and+run+reports I hope this helps, Brian On 4/6/16, 8:43 PM, "Talk on behalf of Peter Tucker" <talk-bounces@lists.collectionspace.org on behalf of peter.tucker@granitehorizon.com> wrote: >Hi everyone, > >I've been working on getting reports to work with my instance of >collectionspace (I have 4.3, on ubuntu). I was following this set of >instructions/videos to setup JasperSoft Studio with Collectionspace >postgres tables. > >https://wiki.collectionspace.org/display/DOC/Connecting+Jaspersoft+Studio+ >to+CollectionSpace >https://wiki.collectionspace.org/display/DOC/Creating+and+Running+a+Collec >tionSpace+Report+in+Jaspersoft+Studio > >I was successful in being able to connect to the postgresql data from my >CS instance, and I was able to create a sample pdf report that simply >displays all of the users. However the instructions stop there, as the >next set talks about running reports within collectionspace, but I was >wondering how do I use my jrxml file I created for my report to be shown >on that "Run Report" dropdown menu on Collectionspace. The only other >thing I saw was this article > >https://wiki.collectionspace.org/display/collectionspace/Release+3.2.1#Rel >ease3.2.1-AutomaticupdatingofreportsusingnewJasperReportsversions%28CSPACE >4876 > >This was back when 3.2.1 was released, but what I saw was about >automatic updating of reports. It said all you needed was to copy the >.jrxml source file to %CSPACE_JEESERVER_HOME\cspace\reports, and that >they will automatically be compiled on the fly. I'm a bit confused on >this. I haven't tried copying yet, but if I copy my jrxml file there, >and restart CS, will it be run? How then would I specify if I only want >this report to be run for like loan in or loan out types (for example)? >Basically just was wondering on some instructions to get my jrxml file i >made in Studio to appear on Collectionspace. > >Thank you, >Peter > >_______________________________________________ >Talk mailing list >Talk@lists.collectionspace.org >http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspa >ce.org