Jump to content
We've recently updated our Privacy Statement, available here ×

kkriplani

Members
  • Posts

    240
  • Joined

  • Last visited

 Content Type 

Profiles

Forum

Events

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Downloads

Posts posted by kkriplani

  1. Hi friend,
    I would like to point out your attention at the option "Print When Expression". You could duplicate the textfield (for eg: One with all 4 borders and one with no borders). You could print the desired field based on your java param in the Print when expression.

    Maybe I don't entirely understand your question, if so, share a screenshot what you have and what you intend to have.

    Regards,
    KKriplani

  2. Hi Santosh,
    You are looking at the wrong end. On jasperserver, go to View >> Messages and look for the error message related to your job schedule. Share that message so i can get a better idea as to what really stopped the report from generating.

    P.S. Select this answer as relevant and upvote it if the answer solves your issue, as it may help others with the same issue.

    Regards,
    KKriplani

  3. Hi Himanshu,
    The issue is you are looking in the wrong direction. No change is required in the report. The change has to be made on Jasperserver.
    1) Go to the scheduler properties of that report, Go to the notification tab (Right corner).
    2) On the left side, click the very last checkbox that says "Do not send emails for empty reports".
    That should help.

    P.S. Select this answer as relevant and upvote it if the answer solves your issue, as it may help others with the same issue.

    Regards,
    KKriplani

  4. Hi, 
    On the jasperserver UI, hover on View and select messages. This would give you the error, share the error on this page.

    Also configure the scheduler to send you a mail in case of a failure and that can be done by editing the scheduler, clicking on the notification tab and filling the details under "Send job status notifications". Also check the two select boxes named as Include report job information and Include stack trace.

    Regards,
    KKriplani

  5. Hi,
    What you should do is get the Date in the query and then create a variable which will return the max date by setting Calculation to "Highest".
    But my question is, Why do you need the max date?

    Regards,
    KKriplani

  6. Reason why you are getting that input is because while the query of the subreport executes, the input values for the collection parameter go together. example:

    select * from table_1
    where p_para IN (2,3,4);

    This query is bound to return a single result sets with multiple rows or column depending on the fields.

    While if you don't use a collection type parameter but instead use java.lang.integer type, you can achieve different query sets. Example;

    Instance 1: when you enter the value of parameter as 2

    Select * from table_1
    where p_para = 2

    which will return a result set, i.e, S1, S2 and S3 executes for value 2 (I1)


    Instance 2 & 3 : Similarly next run the report for 3 and 4 values of p_para.

    Here your requirement would be achieved but only at different instances. 

  7. Create the input control using studio. The input control id should be same as the parameter name. 
    For multiselect, you can either chose a list of value or pass a query using which the input control will be populated from the db.

     

    EDIT (ON september 29th):

    Since you have gladly marked your own answer right I am commenting here.

    let me warn you that conditional parameter method that you have used will give you an issue. What if the user hasn't selected any value.

    Your IN condition will look something like;

    "Where p_para IN ();"

    Which is surely bound to give an error. 

    But using a collection parameter (& multi select input control), in such a case would replace the whole string with;
    "Where 0=0"

    Choice is yours.

     

×
×
  • Create New...