Jump to content
Changes to the Jaspersoft community edition download ×

Dynamic Date Parameters for Scheduler in JasperServer


AsadHaydar
Go to solution Solved by AsadHaydar,

Recommended Posts

I have a report with Parameters two of them are date parameters (Start Date, End Date)

 

Now, I want to schedule this report in JasperServer and i want, Instead of choosing a date, only write for example  "Yesterday, Last Week etc...."

 

How can I do that? I have searched long on the internet and found nothing!

I heard i can do that with a java class which convert a string to a date ... but i don't had any experience in java.. :(

 

I'm very confused can someone help me??

Link to comment
Share on other sites

  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

  • 2 weeks later...
  • Solution

After struggling 3 weeks , I finally got a Solution for my Problem. The Problem was solved by adding a java class to the jasperserver and include that also in the report.. 

now i'm able to select for example "quarter to Week" or "Last Week" and it will calculate it for me.. the best solution for the Scheduler...

If anyone has the same problem and want my solution he can contact me immedialty on my Jasper Account and i will send him the java class with a introduction how to deal with it.. .

 

Asad Haydar

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...