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

jshyman

Members
  • Posts

    14
  • 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

Everything posted by jshyman

  1. Hello Everyone, We are trying to develop some reports to be viewed on a mobile phone browser (iPhone or Android) and are having some issues getting the report to center and size approriately. I think it may be a combination browser/HTML presentation layer issue, but I was wondering if anyone has run into this and has any thoughts as to settings that may make the HTML presentation more "mobilized" For example, a report was created with the dimensions 640x700. When viewed in an Android browser like Dolphin it looks like this: When viewing it with a browser which "mobilizes" content (such as Opera Mini), it looks like this: And in JasperMobile like this: Ideally, the report should fill up the mobile screen and, perhaps, adjust font sizes for a mobile view. I am pretty sure JRS doesn't do this out of the box but I was hoping for some workarounds. Thanks!
  2. Does anyone know if there is a way to make the field labels a user would see when working with an ad hoc domain data-driven? In other words, user A logs in and creates an ad-hoc report and they see the label for field "Record" as "Record" but user B sees it as "Case".
  3. Two reasons: First, it can be upwards of 20 fields on a report. Second, it is highly dynamic.
  4. Thanks for the suggestion. What we have is an application in which the users can change the labels of data fields as they appear in the application. We would like the customized labels to appear for the user when they run a report. Our current approach was to write a database function that we call in the query for the report that returns what the label should be. This is painfully slow, however, multiplying the runtime by up to 5x. We had thought if we could run a separate query and load the results into a map we could then use that map to determine what the field labels should be. Using a sub-report might be a good way of doing this. Though it has challenges as well: Every field in the report would have to be passed to the subreport in some form so the lookup could be performed and then each field label would have to be passed back. Though, perhaps we could send an array back...
  5. Hello Everyone, here is the situation: We are writing reports for an application that has user-configurable labels for data fields. We would like to be able to write reports in iReport that can load the label information into an array and then use that array to create the labels for the report. Is there any way to do this? If not, does anyone have any other ideas on how we can create a report with user-specific, data-driven field labels? Thanks!
  6. I am experiencing the same issue with any local resource including sub-reports or images. The report does upload, but without the object. A workaround, after the error, is to update the report on the server with the current jrxml. This will properly launch the dialog to convert local references to repository references (i.e. c:\\ to repo:)
  7. This may be a silly question, but will activating ROLE_ANONYMOUS (done, in this case to allow access to dashboards w/o logging in) circumvent a domain security file? This is in Jasper Server 3.7.1 but I'm not sure this would have changed in 4.x Thanks!
  8. Hello everyone, I am looking for a way to suppress an element on a report that is for interactivity only but should not be printed or exported. I can set the net.sf.jasperreports.export.docx.hidden.text property to hide the field when exporting to Microsoft Word. Is there a way to do this for other formats besides DOCX and XLSX? For example, PDF? Thanks!
  9. Hello everyone, I'm working with iReport 3.5 and a Microsoft SQL database that has date/time information stored as the number of seconds since January 1, 1980 00:00:00 UTC. I can easily convert this to a report user's local time using a java function like: new Date($f{date field}.longValue()*1000) However, I've also created a date table which I'd like to cross-reference to the date to get information like week number, day of week, etc... I'd like to be able to perform the cross-reference on the adjusted date/time so that it matches the correct date for the report user (in the user's time zone) and not the date/time on the server (I can do that conversion with a function in the database). I don't know java development so developing a customization is likely beyond my current abilities. Thanks. -- J.T.
  10. Hello Jasper Community, I'm currently working with a MSSQL 2005 database that stores date/time information as the number of seconds since 1/1/1970 and I need to display the date in my reports in calendar format down to seconds (i.e. MM/DD/YYYY hh:mm:ss) When I use the following formula in a field in iReport I get a date down to minutes only (i.e. MM/DD/YYYY hh:mm) new Date($F{Incidents.Last_Resolved_Date}.longValue()*1000) How can I format the date so that I can get seconds to appear as well? Thanks!
×
×
  • Create New...