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

Security Advisories

Downloads

Posts posted by kkriplani

  1. Hi,
    Okay i seemed to have found a solution, give it a try.
    All you have to do is as follows;
    1) keep the default expression of the parameter fetching value from multi-select Input control as blank, i.e, insert no values.
    2) And keep the multi-select input control as non-mandatory.

    The behaviour of multi-select that I observed was, non of the boxes will be checked but the query would pass the value as :
    "where 0=0"
    That means, all the selections are considered. 

    Regards,
    KKriplani

  2. Hi,
    I came accross a link for encrytion of passwords in URL and followed the steps very carefully.

    I would like to know if these steps don't work for community edition since i wasnt able to get the desired results or I might be making some error.
    Also I tried the same steps on proffessional edition and it worked in the first go.

    Please advice.

    Thanks in advance,
    KKriplani 

  3. I am afraid I dont have any such examples, but tell me a couple of things;
    1) When you execute the complete report with table as subreport, the query in the logs for the table is returning data in the database?
    2) Have you linked the parameters of main report and sub report?

    If the answer to point 2 is no, probably null values are passing for parameters in the table query when you execute the report as a whole consisting of the table as a subreport.

    Hope this helps,
    KKriplani

  4. Hi,
    Then I guess the issue is not with the conditional parameter. There may be an issue with passing the parameter value. 
    Tell me more about how are you getting the value for $P{Id} ?
    Is it in a dataset? Are u using it in a table? Or its just a parameter retrieved from an Input control?

    Regards,
    KKriplani

  5. Yes, it is very much possible to do so using conditional parameters (see the last answer in this link ) represented as $!P{}

    Try approaching like this;

    $P{Id} == null ? "where 0=0" : "where id=" +$P{Id};

    Regards,
    KKriplani

  6. Hi,
    Yes you can very well do that but make sure of the below listed points;
    1) The jasperserver db name should be different (js.dbName).
    2) The jasperserver name should be different (webAppNamePro).
    3) The diagnostic port should be uncommented and increase the port number by 1 (diagnostic.jmx.port).

    These changes are to be made in default_master.properties before js-install.

    Regards,
    KKriplani.

  7. Hi,
    Well you can write a few lines of customizations in the dashboardViewer.jsp (at webappsjasperserver-proWEB-INFjspmodulesdashboard). Write a script for your requirement. 
    That might help. 
    In the recent few requirements, I have had basic customization requirements as show and hide of report fields and I used dashboardViewer.jsp since this file loads as and when a dashboard opens.

    Hope this helps,
    KKriplani.

  8. Hi,
    JasperServer has a functionality of retirieving the logged in username.
    Just create a parameter as $P{LoggedInUsername} . This parameter retrieves the logged in username used and you can create a conditional parameter using this value.

    Read this link to know more about Conditional Parameters.

    Hope this helps,
    KKriplani

  9. Lets suppose I have the following query,

    Select L_name, 
    age_1,
    $P!{check} as Characteristic
    from table


    This paramater allows me to view the various characteristics of the person I am refering above. It would be dependent on another parameter, let us call that parameter as $P{value}. 

    In the default expression of the parameter "check", I could define the following;

    $P{value}==1 ? "Physical_strength" : $P{value}==2 ? "IQ": "Nature";

    Depending on the various values of $P{value}, the parameter "check" will input the values into the query and mind you, the above three stated characteristics are nothing but the table columns, so basically we are displaying different columns based on the parameter "value".

    For instance, the parameter "value" was entered as 2, so my running query would look like (which you can check in the logs);

     

    select L_name, age_1, IQ as characteristics from table

    Hope this explains all.

    Regards,
    KKriplani

  10. Hi all,
    I am using visualizejs of jasperserver 6.2 on a remote server and deployed my UI calling a report from the jasperserver in the same remote server. The issue is the first time i run the report, I get the above error but when I refresh the browser, the report is redered just fine.
    I am using tomcat 7 and JDK 7.

    I am not sure what the issue is, can anyone please help?

    Thanks in advance,
    KKriplani

  11. Hi,
    From <tomcat-directory>/logs/ and share the catalina.out file.
    Basically it is possible that tomcat is up but your jasperserver-pro app is not functioning (there may be various errors like "SEVERE: ERROR LISTNER START" etc) but only the logs could tell.
    So, attach the logs in a file and share it here.


    regards,
    KKriplani

  12. Lets suppose I have the following query,

    Select L_name, 
    age_1,
    $P!{check} as Characteristic
    from table


    This Query allows me to view the various characteristics of the person I am refering above. It would be dependent on another parameter, let us call that parameter as $P{value}. 

    In the default expression of the parameter "check", I could define the following;

    $P{value}==1 ? "Physical_strength" : $P{value}==2 ? "IQ": "Nature";

    Depending on the various values of $P{value}, the parameter "check" will input the values into the query and mind you, the above three stated characteristics are nothing but the table columns, so basically we are displaying different columns based on the parameter "value".

    For instance, the parameter "value" was entered as 2, so my running query would look like (which you can check in the logs);

     

    select L_name, age_1, IQ as characteristics from table


    Thank you
    KKriplani

×
×
  • Create New...