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

rr9876r

Members
  • Posts

    9
  • Joined

  • Last visited

rr9876r's Achievements

Apprentice

Apprentice (3/14)

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

Recent Badges

0

Reputation

  1. Thank you for the suggestion. Tried replacing auth with " &j_username=...&j_password=..." (including the orgID) to url and still returns 401 status code
  2. Hi, Created a report and published it in Jaspersoft server. Then I logged onto the Jaspersoft server using my id ABCXXX and ran the report successfully in my organization. But I was NOT able to run it using REST API in Python. It returns 401 - unauthorized code. Here is the Python code to call the report import requests # r = requests.get('http://server_name:8080/jasperserver/rest_v2/reports/organizations/your_orgID/dir1/DIR2/dir3_reports/test4.pdf', auth=('login_ID2%7Cyour_orgID','password')) print(r.status_code) # returns 401 -- Unauthorized # r1 = requests.get('http://server_name:8080/jasperserver-pro/rest_v2/reports/organizations/your_orgID/dir1/DIR2/dir3_reports/test4.pdf', auth=('login_ID2%7Cyour_orgID','password')) print(r1.status_code) # returns 401 -- Unauthorized # What I am doing wrong? Any suggestions please? Thanks Ram
  3. Hi, Is there a way to print different headers when exporting to different report formats? In pdf format, the page header will be student ID Name Address Zip Code In csv format, the page header will be something like student_id student_name address zip_code But the data is same in both output formats Thanks Ram
  4. Hi, I have designed a simple report in Jaspersoft Studio 6.4.2 version. The report works fine as expected and encounter an issue when saving/exporting data into CSV format if the column data contains a comma and not enclosed the data value within double quotes. It is causing an issue when sending the CSV data file to another party because the number of cloumns in the record layout are different from other records in the file. For example, the report displays the like Title User ===> column header System, Admin John, Doe DBA Smith, JoeWhen this exported into CSV format and will be looks like this Title,User System,Admin,"John, Doe" DBA,"Smith, Joe" In the first line, the System, Admin is not within double quotes. This results the first line with with two commans and 2nd line with one comma. This is causing an issue when remapping CSV data in Excel and the data is not aligned correctlry. I can trim the comma from column data value but we wanted it. Any suggestions please Thanks Ram
  5. Hi, In Jaspersoft 6.4.2 version, the 'enableSaveToHostFS' option is set to true in the WEB-INF/applicationContext.xml according to the JasperReports Server Admin Guide and restarted the Jaspersoft server. But it is not displaying 'Output To Host File System' to store the SCHEDULED report output to the host file system. What I am doing wrong? Any suggestions please Thanks Ram
  6. Designed the master and sub reports in Jaspersoft Studio Professional 6.2.1.final version and deployed them on the jaspersoft server. Received the following 'JSON is undefined' parsing error in Internet Explorer 11 when I clicked the sub report hyperlink in the master report but it works in Chrome browser. Report.reportParameterValues = JSON.parse('{}'); JSON is undefined Report.allRequestParameters = JSON.parse('{"_flowId":["viewReportFlow"],"reportUnit":.............. Also receives "Unable to get property 'ReportSettings' of undefined or null reference" error Is there a workaround or fix for this issue?
  7. Hi KKriplani, Initially, 12 text Objects are placed at 0th location on the band during the design time. At run time, I want to move them few inches right (always right direction only) based on a calculated value. The band width is fixed with 6 inches. So, if the calculated value is above 6 inches then it will be ignored. Please let me know if you need any other details Thanks Ramana
  8. Hi, Read few old threads on this. Still, it is not possible to move dynamically. We have a requirement to move an object dynamically based on query data. Please share your thoughts/ideas on this Thanks Ramana
  9. Hi, We are analyzing the Jaspersoft iReports to replace the Crystal reports. We have a Crystal report that generates the following dynamic image. In Crystal report uses the following main logic to generate it. · Captures minimum date (will be first record's date), then adds 1,2,3,4,5 and so on for 12 months duartion and adds 12 sqaures with numbers at the first position. · Calculates distance between minimum date to next data record' s date and moves right to the appropriate location. · Squares will be supressed if there are less than 12 Is this possible in Jaspersoft? If not, is something can done, which is close to the above image? Thanks Ram
×
×
  • Create New...