sbyrne Posted April 16, 2015 Share Posted April 16, 2015 I have a report that uses a custom data source using ReportDataSourceService. It works fine.I have another report that uses JDBC for its data source. I want to add a subreport to that report that uses my custom ReportDataSourceService data source. I can run arbitrary code by using datasourceExpression, but I do not know how to get access to my ReportDataSourceService. Is it possibly to get access to it from the RepositoryService returned by RepositoryUtil.getThreadRepositoryContext().getRepository()? I am not sure what I should pass as the URI to RepositoryService.getResource(ExecutionContext,String uri). Link to comment Share on other sites More sharing options...
Solution sbyrne Posted April 17, 2015 Author Solution Share Posted April 17, 2015 /datasources/my_datasource_resource_id Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now