Balraj
Members-
Posts
50 -
Joined
-
Last visited
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 Balraj
-
Have you developed an component for using Open Street Map. I need to implement Map Server maps in JasperReports.
-
Hi Community, How can I map a an External Role with Multiple Roles in Token Based Authentication I've tried using comma(,) but not working <entry key="leadfaculty"value="ROLE_ADMINISTRATOR, ROLE_LEAD_FACULTY" />[/code]Please Guide me thank you :)
-
- authentication
- jasperserver 6.3
-
(and 1 more)
Tagged with:
-
I have trouble displaying the report on a client
Balraj replied to darknessofdarwin's topic in Products
Check by logging into JasperServer as "superuser", you should find it. It might be a permission issue and also while uploading the report check the path and navigate to the same path in JasperServer. -
Initial Value Expression: this should be default value which you want to pass to your java class IncrementType: this should be your group(as you are using this variable in group footer) Incrementer Factory Class Name: I've not worked on this yet. Regards, JasperExplorer
-
When you're reading fields in the iReport or JasperSoft Stdio, change the type of "Column B" to "String". It is a type casting issue. Regards JasperExplorer
-
pie chart of HTML5?
-
You can do Group By based on Account Id in the Report, and then print them using Detail Band. Best Regards, JasperExplorer
-
You can handle this in 2 ways: At subreport level, Provide TextField expressionas : $V{REPORT_COUNT} != NULL? $V{REPORT_COUNT} : new Integer(0) At main report level, whatever the text field you're using write an expression similar to above: $V{RETURNED_COUNT} != NULL? $V{RETURNED_COUNT} : new Integer(0)
-
Try, "StretchWithOverflow" option on TextField.
-
Delete unwanted Table Headers/Column Headers from table component and Content coming in different pages, following might be the scenarios: Table Row height is very high or your report height is very small. Best Regards, JasperExplorer
-
It is depricated, check this link once http://jasperreports.sourceforge.net/api/net/sf/jasperreports/engine/util/JRProperties.html Best Regards, JasperExplorer
-
Perfect..!!! Glad that my views were helpful for you, Consider to "Accept the Answer". It will be helpful for others.
-
I'm also looking for this. Have you got any solution?
-
I think, that extra space is a Report Design Issue, please review your report design. If you observe that extra space is there in the image that you posted earlier. So it might be a design issue. Best Regards, JasperExplorer
-
Glad that it worked for you. Accept it as answer,It'll be helpful for others Best Regards, JasperExplorer
-
Specify: StretchType-> "RelativeToTallestObject" for all the TextFields
-
Try: position type : RelativetoTop
-
If you want to display/fetch only YEAR from CreatedDate then: In TextField Expression give it as: YEAR(CreatedDate), this will return you year from passed date. To get only 2015, then new Integer(YEAR(CreatedDate))==2015. To filter data, you can update the query to return data of 2015 year. Best Regards, JasperExplorer
-
Hi community, Scenario is as follows: User1 -> having Role1 -> Access "GENERAL TRAINING" data User2 -> having Role2 -> Access "HEALTH CARE" data User3 -> having (Role1, Role2) -> Access ("GENERAL TRAINING", "HEALTH CARE" ) data Configuration of Domain Security File: <!-- Access for GENERALTRAINING user --> <resourceAccessGrant id="JoinTree_1_ROLE_AACP_GENERALTRAINING_row_grant"> <principalExpression>authentication.getPrincipal().getRoles().any{ it.getRoleName() in ['ROLE_AACP_GENERALTRAINING'] }</principalExpression> <filterExpression>public_courses.role in ('GENERALTRAINING')</filterExpression> </resourceAccessGrant> <!-- Access for HEALTHCARE user --> <resourceAccessGrant id="JoinTree_1_ROLE_AACP_HEALTHCARE_row_grant"> <principalExpression>authentication.getPrincipal().getRoles().any{ it.getRoleName() in ['ROLE_AACP_HEALTHCARE'] }</principalExpression> <filterExpression>public_courses.role in ('HEALTHCARE')</filterExpression> </resourceAccessGrant> <!-- Access for GENERALTRAINING, HEALTHCARE user --> <resourceAccessGrant id="JoinTree_1_ROLE_AACP_GT_HC_row_grant_40"> <principalExpression>authentication.getPrincipal().getRoles().any{ it.getRoleName() in ['ROLE_AACP_HEALTHCARE'] } && authentication.getPrincipal().getRoles().any{ it.getRoleName() in ['ROLE_AACP_GENERALTRAINING'] }</principalExpression> <filterExpression>public_courses.role in ('GENERALTRAINING') or public_courses.role in ('HEALTHCARE')</filterExpression> </resourceAccessGrant>[/code]Issue is, when User3 is logging in he's able to see only "GENERAL TRAINING" data, where as he's having privileges to acces the data of both "GENERAL TRAINING" and "HEALTH CARE". How to configure the XML, so that user with both the roles access the data accordingly. Note: For users with single role it is working as expected. Thanks & Regards JasperExplorer
-
Hi All, I resolved it. we've to place "permittedRolesRegex" property in comments, in the XML File <!--<property name="permittedRolesRegex"> <list> <value>JRS_.*</value> <value>EXT_.*</value> </list> </property>-->[/code]Best Regards, JasperExplorer
-
Hi Community, I'm implementing Token Based Authentication, when the user is trying to login with the token, he's successfully logging in but with a default role i.e., ROLE_USER. Whereas the user which i passed having Administrator privileges. How to properly Map External Roles with Jasper Internal Roles at the organization level and root level? This is what I've tried. Here is my Token Format in JAVA: String plainText="u="+userid+"|r="+role+"|o="+orgid; where userid,role, orgid are variables. Configuration of "applicationContext-externalAuth-preAuth-mt" file for Role Mapping: <bean id="mtExternalUserSetupProcessor" class="com.jaspersoft.jasperserver.multipleTenancy.security.externalAuth.processors.MTExternalUserSetupProcessor" parent="abstractExternalProcessor"> <property name="userAuthorityService"> <ref bean="${bean.internalUserAuthorityService}"/> </property> <property name="organizationRoleMap"> <map> <!-- Example of mapping customer roles to JRS roles --> <entry key="ROLE_ADMIN" value="ROLE_ADMINISTRATOR" /> <!--<entry> <key> <value>ROLE_DADMIN</value> </key> <value>ROLE_ADMINISTRATOR</value> </entry> --> </map> </property> <property name="defaultInternalRoles"> <list> <value>ROLE_USER</value> </list> </property> <property name="permittedRolesRegex"> <list> <value>JRS_.*</value> <value>EXT_.*</value> </list> </property> </bean>[/code]Guide me if i'm doing wrong. Best Regards, JasperExplorer
-
Hi Community, I've Pie chart which has three variables as measures. Under "SERIES.DATA" i've configured expression as "Arrays.asList(var1, var2, var3)". The Pie chart is plotting with 3 variable values, but on tooltip it is displaying "slice" as label. How to configure 3 different labels for each variable in tooltip in HTML5 Component? If above one is not possible, how to convert above 3 variables into a field so that each variable acts as a ROW which i can use directly as a Measure? Thanks & Regards, JasperExplorer
-
- pie charts
- pie chart
-
(and 1 more)
Tagged with:
-
As of now Nested JSON is not supported in jasper.
-
Which version of Jaspersoft studio is good to practice on own machine?
Balraj replied to Ram Ayanavilli's topic in Products
Hi Naresh, 1,2. In youtube you can find tutorials on table and crosstab component. 3. you can go with any latest community version as for using pro version you need to have license Best Regards, JasperExplorer -
Well I got the Answer, by adding an extra bean to the "id=SuperUserRoleAccessList" <!--Custom tag --> <util:list id="SuperUserRoleAccessList"> <bean class="com.jaspersoft.ji.search.common.ProRoleAccess"> <property name="roleName" value="ROLE_SUPERUSER"/> <property name="tenantId"> <null/> </property> </bean> <bean class="com.jaspersoft.ji.search.common.ProRoleAccess"> <property name="roleName" value="ROLE_ADMINISTRATOR"/> <property name="tenantId"> <null/> </property> </bean> </util:list><!-- End of custom tag -->[/code]Cheers :D