Jump to content
Changes to the Jaspersoft community edition download ×

daniel.la

Members
  • Posts

    6
  • Joined

  • Last visited

daniel.la's Achievements

Rookie

Rookie (2/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Conversation Starter Rare

Recent Badges

0

Reputation

  1. It seems like you're developing locally. Can you test this on a live server? I had the same issues when developing locally, none of my reports would display.
  2. Hello all, I was wondering if anyone knew if there's a way to print a report that's been rendered onto a web page with the REST v2 API and PHP Client? I've been researching and have not found anything from the documentation or the community. Is this feature support? If so how can I print them? Thanks!
  3. Hello all. Before I state my issue I just want to provide some information on my specs. I'm using a mysql database as my datasouce and jaspersoft studio community edition v6.3.1. The report I'm creating should have a title page that displays very specific information from the first few rows in my database. For example: idsectionidsectiontextentrytextisnewpage11nullnull021Example CompanyExample Text031Financial ReportQ10Knowing this (and also knowing that the data can change based on user inputs), I wanted to be able to store the value of a specific field into a variable where the id was equal to a certain value. I created a variable and set the Inital Value Expression to this: $F{id}.equals(3) ? $F{sectiontext} : "Nothing" I then placed that variable onto the Title section of the report designer to see what would display when Previewing the report and I only got null So with that being said, is it possible to store the value of a field into a variable WHERE the primary key for that row is equal to a certain value? and if so, does that mean the value of the variable does not change so long as the value in the datasource is the same even when the report is in run time? If anyone knows how to implement or even if this is possible, please let me know! thanks
  4. I'm using JasperSoft Studio Community Edition (6.3.1 final) and have the Community edition of JasperServer. I have created reports and successfully published them from Studio to the server. I've also been able to review the reports on the actual server itself through the web app. My next step is to use the Rest v2 API to display my reports in a project but I've been unsuccessful. Here is my code (trying to display the server info): <?php require_once("autoload.dist.php"); use JaspersoftClientClient; $c = new Client("my-server-ip", "my-username", "my-password"); $info = $c->serverInfo(); printf($info); ?>[/code]I removed the organization because there is no organization associated with my account and having the organization parameter would return a 404 error. Upon testing this code, I receive the following message: Fatal error: Uncaught exception 'JaspersoftExceptionRESTRequestException' with message 'An unexpected HTTP status code was returned by the server' in /var/www/html/jaspersoft-php/src/Jaspersoft/Tool/RESTRequest.php:378 Stack trace: #0 /var/www/html/jaspersoft-php/src/Jaspersoft/Tool/RESTRequest.php(451): JaspersoftToolRESTRequest->handleError(0, Array, false) #1 /var/www/html/jaspersoft-php/src/Jaspersoft/Client/Client.php(158): JaspersoftToolRESTRequest->prepAndSend('http://my-ip...', Array, 'GET', NULL, true, 'application/jso...', 'application/jso...') #2 /var/www/html/jaspersoft-php/index.php(22): JaspersoftClientClient->serverInfo() #3 {main} thrown in /var/www/html/jaspersoft-php/src/Jaspersoft/Tool/RESTRequest.php on line 378 Does anyone have any ideas as to why this is happening? I've been stuck on this issue for a day now and would like to get to the bottom of it. Thank you in advance!
  5. Hey everyone, Like the title says, I'm using Jaspersoft Studio Pro and JasperReports Server Pro. I recently created a report and published it to the server (it's on my localhost port 8080) and wanted to test embedding it into a web application. Upon logging into my jasperadmin account viewing the report, it would not load. It stays at the loading screen. I have no been able to determine the cause of it but I think it may be a javascript error? The error reads: Uncaught TypeError: Cannot read property '1' of null I have viewed the report on my Jaspersoft Studio Pro 'view' display and it works perfectly fine there. I also made sure that the data that it loads from, a MySQL database, was connected and working. Any thoughts?
×
×
  • Create New...