-
Posts
27 -
Joined
-
Last visited
-
Days Won
1
Content Type
Profiles
Forum
Events
Featured Visualizations
Knowledge Base
Documentation (PDF Downloads)
Blog
Documentation (Test Area)
Documentation
Dr. Jaspersoft Webinar Series
Downloads
Everything posted by Tirupathi Mangalarapu
-
Integration of Jasper Studio and Japser Report Server
Tirupathi Mangalarapu replied to mohammed.javeed's topic in Products
Potential root cause: Does your Jaspersoft server have multi-tenancy or is the server an Enterprise edition of Jaspersoft? If yes, you need to provide the organization name when connecting to the server along with the username and password. -
authentication.error : Authentication error
Tirupathi Mangalarapu replied to ainsleyzamora99's topic in Products
Looks like you are running into a CORS issue. Please review following KBAs for self help on you can fix the issue: https://community.jaspersoft.com/wiki/troubleshooting-cors-issues-visualizejs https://community.jaspersoft.com/wiki/cors-visualizejs -
Exports for reports containing HTML5 charts suddenly fails
Tirupathi Mangalarapu replied to chris.daculan's topic in Products
This is a known issue. Please apply Lucain's solution on the server. You need to Restart the Jaspersoft tomcat service for the settings to take effect. -
Jaspersoft community edition embed and SAAS options?
Tirupathi Mangalarapu replied to kaivalya.ahire's topic in Products
Reposting Abhi's answer as an Answer instead of a comment: -
You can define your text-filed expressions in the following format: "My name is "+ $F{NAME}+", and I am from Germany"
- 8 replies
-
- text field
- jaspe report; jasper studio
-
(and 1 more)
Tagged with:
-
Jaspersoft prints wrong values in a text field expression
Tirupathi Mangalarapu replied to mpolo91's topic in Products
Are you using any default values on the text property? Can you share a copy of your jrxml file here? -
Things to check: 1. The first resource path refers to an Organization and I don't see Organization specified in your visualize.js call. 2. If you log in using the same user(pp) on Jaspersoft and run the same report do you see the same error? It could very well be permissions on the resources for that user.
-
Can you change the calculation type to System and try again? Also, refer to the answer from this thread that should help you with the steps: https://community.jaspersoft.com/questions/536522/pass-value-subreport
-
Jaspersoft Report using two separate data sources.
Tirupathi Mangalarapu posted an entry in Best Practices
Tirupathi Mangalarapu posted an entry in Best Practices
Normally $P{REPORT_CONNECTION} parameter is used to pass the main report's database to the subreport for the same report connection. A subreport can use a different JDBC connection than the main report. There are several ways to accomplish this requirement: Why this approach: One of our customers did not want to expose connecting string or username password information in the .jrxml file nor they do not want to use the data adapter approach. In this approach, we need to create two parameters to create a new database connection. I will detail the steps below. For this wiki, I am using two different JDBC data sources for my report one is a sample database that comes with TIBCO Jaspersoft sample database “SugarCRM” it’s a PostgreSQL database and the other is an MSSQL database. Here are the steps I followed: Create a report in Jaspersoft Studio using “Sugarcrm” with the following query: SELECT id, date_entered, name, modified_user_id, date_modified FROM accounts Read fields, preview the report, and run the report. Create two parameters in this report: $P{DATA_SOURCE_PATH}Class: com.jaspersoft.jasperserver.api.metadata.jasperreports.domain.JdbcReportDataSource Default value expression: com.jaspersoft.jasperserver.api.engine.jasperreports.util.RepositoryUtil.getThreadRepositoryContext().getRepository().getResource(null,"/public/Samples/Data_Sources/DB_MSSQL") Here “/public/Samples/Data_Sources/DB_MSSQL” is the path to the JDBC data source that is created on the Jaspersoft Server. (Right click go to properties and copy the path of the JDBC data source from Jaspersoft server) Attached a screenshot for your reference below: Screenshot of the param below: $P{SUBREPORT_CONNECTION}class: java.sql.Connection default value expression: “java.sql.DriverManager.getConnection($P{DATA_SOURCE_PATH}.getConnectionUrl(),$P{DATA_SOURCE_PATH}.getUsername(),$P{DATA_SOURCE_PATH}.getPassword())” Either you can create a sub report separately or you can add use the drag and drop subreport element and start from a blank sub-report (it’s up to you). Just to keep it easier, I will create sub report separately with MSSQL data source and bring in some fields and add them to the detail band. Preview it and ensure that the report runs and brings in some data as shown below: Once the sub report is created, I will change my Data Adapter to not use any data source as shown below: The purpose of the above steps is to ensure that the metadata of the fields are read and the report has fields added to the report from your second data source i.e. MSSQL in this case. Now, go ahead and drag and drop sub report component from the palette into the summary section of the main report. Select an existing report and point to the report that you have created using the MSSQL in the above step (using workspace resource). click “subreport” section You should see something like this: Now go ahead and change the value of the connection expression. Change it to $P{SUBREPORT_CONNECTION} We are passing the connection string from the main report to the sub report using the parameters. Now, preview the main report in the Jaspersoft Studio. You may see errors like this: I did not research more on the error messages. If anyone has any input let us know in the comment section(We might need to add all the jars from the Jaspersoft server to be added to the classpath on this project in the studio) Go ahead and publish this report to the Jaspersoft Server, and test it on the server. You should see your report running without any errors. Here is the screenshot of the report from my instance. Note: I attached the jrxml files to this KBA so that you can take this as a reference if you run into any challenges during configuration on your end. This is tested in the latest version of the JRS 8.0 Hope this helps someone! diffdbtype-postgresql-mssql.jrxml diffdbtype-subreport.jrxml-
- sub report
- data adapters
-
(and 3 more)
Tagged with:
-
Conditional Formatting in Jasper report from Adhocview
Tirupathi Mangalarapu replied to bhavik.patel's topic in Products
Thanks @Yama -
Conditional Formatting in Jasper report from Adhocview
Tirupathi Mangalarapu replied to bhavik.patel's topic in Products
You can do it from the Jaspersoft Studio report. Not really sure about something that you can accomplish via an Adhoc report. -
You can use the sequential date format appended to the report output if you are scheduling the job on Jasperserver. Does that not solve your business requirments?
-
Can you please ensure that you are using the right version of Java?
-
Fields name in Columns could not be shown in crosstable report
Tirupathi Mangalarapu replied to mc.sirius's topic in Products
Hello There, I could recreate this issue in 7.9 and 7.5. Not sure if this is the intended functionality. Please create a support ticket with our support team and double-check with them. Thank you -
JasperReports Server Authentication and Internal Authentication
Tirupathi Mangalarapu posted an entry in Getting Started
Tirupathi Mangalarapu posted an entry in Getting Started
Jaspersoft Server authentication is required to do the following: Identify the userAuthentication is applied to organizations, users, and roles in the JasperReports Server databasePasswords are encrypted by default After a user supplies the correct information and authenticates successfully, a session is created and the user is presented their home page. The password is stored encrypted in the database table called jiuser. Here is a screenshot for your reference: Default Internal Authentication: In step 1, an unauthenticated user requests any page in JasperReports Server. Often, users bookmark the login page and begin directly at step 3, but this step covers the general case and secures every possible access to JasperReports Server. For example, this step applies when a user clicks the page of an expired session, or when a user enters the direct URL to a report within JasperReports Server. At step 2, JasperReports Server detects that the user is not logged in and replies with a redirect to the login page. For convenience, JasperReports Server includes the original request in the login screen URL so that the user goes directly to the requested page after logging in. At step 3 the user enters a username, password, and possibly an organization ID. JasperReports Server compares these credentials with the matching user account in the internal database, and, if they are valid, creates a principal object. The user is now authenticated, and the principal object represents the user session, including any assigned roles found in the user database. -
Jasperserver Environment Best Practices setup
Tirupathi Mangalarapu posted an entry in Best Practices
Tirupathi Mangalarapu posted an entry in Best Practices
Jasperserver Sample Environment: Some firms want to provide environments in which software code modifications and report development can occur without affecting the live production environment. These environments often carry names like Development, Integration, Test, and Prod. The report development environments can use sample data, and the production tiers, of course, use actual production data. Reports can be developed on systems that use free or open-source applications and database servers, then moved into production where the commercial servers are running. This is approach is cost-effective. Here is table view that lists how customers setup their BI environments using Jaspersoft for all different tiers: DEVELOPMENT INTEGRATION TEST PRODUCTION Description Development Environment Integration Test Environment Quality Assurance Environment Actual Production System Location Developer’s Machine Server Server Server Database PostgreSQL PostgreSQL Oracle Oracle Application Server Apache Tomcat Apache Tomcat JBoss JBoss Administration Developer Both Admin Admin Developer Super User Super User Read Only None Admin - Sys Admin Sys Admin Sys Admin / None Development is a working environment for developers. Isolated from the other tiers, developers can try radical changes to the code without adversely affecting the development team. Integration is where all developers commit changes. The goal of this environment is to combine and validate the work of the entire team so it can be tested before being promoted to the Test environment. Test is as identical to the Production environment as possible to simulate as much of the Production environment as possible. It is also called Staging environment. The Production tier might include a single machine or a sizeable cluster composed of many machines. Notice that, as you move from left to right, the database and application servers might change from the less expensive names like PostgreSQL and Tomcat to commercial names like Oracle and JBoss. The administrator’s job duties are many and varied. They may be involved in pushing reports along the production path, from early development to the test or QA environment, and eventually to the live production machines. Best Practice recommendation: The folder structure has to be identical across environments, or the paths will break and the report will not execute. For the same reason, data sources and all other items common to reports should carry the same names and URLs in all the environments, or else reports will be unable to find them and will not execute properly. -
When to use Studio vs Ad Hoc reports
Tirupathi Mangalarapu posted an entry in Best Practices
Tirupathi Mangalarapu posted an entry in Best Practices
When to use Jaspersoft studio:Creating a report when the layout of the elements is of utmost importance (pixel perfect). When you want to write complex expressions, Layout visual components like charts, maps, tables, crosstab, custom visual components, and much more. When you want to provide canned reports to end-users. Create complex reports such as creating scriptlets. Create drill-down reports using hyperlinks etc. SQL knowledge is required to build reports. End users can only consume the reports. For more information on what you can do with Jaspersoft Studio, please refer to the Jaspersoft Studio Community Project page. When to use Ad hoc reports:Creating reports where the layout of the report elements (non-pixel perfect) is not a strict business requirement. When you want to create simple reports from Domains, Domain Topics from the Jaspersoft Web Interface. When you want to provide end business users the ability to create their own reports from the Jaspersoft Web UI. Create basic reports from the Ad hoc editor. SQL expertise is not required for users to create Ad Hoc views reports. End users can explore data before a final report is created. For more information on what you can do with Ad Hoc Editor, please refer to the JasperReports Server User Guide Note:Please let us know if anything else needs to be added or updated in the comments section below.-
- JasperReports Server
- jaspersoft studio
-
(and 3 more)
Tagged with:
-
I would refer to this KBA for all your question on Scriplet:https://community.jaspersoft.com/blog/all-you-want-know-about-scriptlets Also, I would drop the jar files into the JSS studio plugins folder and restart the studio and try again. I've seen sometimes the studio does not pick up the jar file from the build path. The path on my machine is : C:Program FilesTIBCOJaspersoft Studio Professional-7.8.0plugins Hope that helps!
-
JSON Data Adapter - error before input parameters prompt
Tirupathi Mangalarapu replied to min_3's topic in Products
Hello There, Did you explore Auto REST Driver? Here is KBA: https://community.jaspersoft.com/wiki/autonomous-rest-connector-tibco-jaspersoft-studio Auto REST says you can pass dynamically the params in the rest config. Please refer to this documentation and check if you can accomplish this using AutoREST Driver. https://docs.progress.com/bundle/datadirect-autonomous-rest-connector-jdbc-60/page/Creating-an-input-REST-file.html Hope that helps! Please keep us posted on your findings so that other users can benefit from the outcome.- 1 reply
-
- json data adapter
- rest api
-
(and 1 more)
Tagged with:
-
If you can attach the exact stack trace from the catalina.log file it will help anybody looking at this post to chime in with inputs on what could have gone wrong.
-
How see schema and tables within Query designer
Tirupathi Mangalarapu replied to giovanni.chiozza_1's topic in Products
Hello Gio, Did you click on read metada? on the Query editor button. It will read the metadata and then you can see all the tables Hope that helps! Thank you Tiru M -
Hide Popular Resources and Video Tutorials from the Homeflow
Tirupathi Mangalarapu posted an entry in Best Practices
Tirupathi Mangalarapu posted an entry in Best Practices
Please use the attached CSS file to create a custom theme and add the overrides_custom.css file to the new themes folder and Set as the active theme. When you click Home. Video Tutorials and Popular Resources should be hidden from the UI for the end-users. Here are the contents of the file: overrides_custom_5.css -
No Data Service Adaptor reigstered
Tirupathi Mangalarapu replied to kotamraju.saisandeep's topic in Products
I don't think it's that straightforward to create a MOCA data source. AFAIK, You need to create a custom data source.