Download presentation
Presentation is loading. Please wait.
Published byMelissa Mannering Modified over 10 years ago
1
Informer Extensions PRESENTER: Brad Leupen | CTO, Entrinsik | 10-11-2010
2
What are Informer Extensions? Informer SDK – Use the SDK to write Java applications that connect directly to Informer services Plugins – Write Informer Plugins to modify the look or behavior of an Informer server
3
What is the Informer SDK? Informer 4.1+ ships with the SDK jar files and API docs Provides Java RMI connectivity to a running Informer’s services (the same services used by the UI) The SDK can be used to automate actions you would ordinarily use the UI to do
4
What can I do with the SDK? Import legacy report definitions Automate the creation of new Informer users Run a report and FTP the result data Integrate Informer data with back-office applications Much, much more!
5
How Do I Get Started? Download and install a Java IDE such as Eclipse Obtain the core jars from the Informer “sdk” folder Add the jars to your project Create a RemoteInformerContext instance
6
The RemoteInformerContext Handles all of the dirty work of creating the RMI proxies and dispatching calls over the network Provides access to various Informer “services” Makes Informer appear as though it is local to your application
7
Making a Connection Default RMI port is 1199 public static void main(String[] args) { RemoteInformerContext ctx = new RemoteInformerContext("myserver", 1199); ctx.getAuthenticationService().login("myusername", "mypassword");... } public static void main(String[] args) { RemoteInformerContext ctx = new RemoteInformerContext("myserver", 1199); ctx.getAuthenticationService().login("myusername", "mypassword");... }
8
RemoteInformerContext public static void main(String[] args) { RemoteInformerContext ctx = new RemoteInformerContext("myserver", 1199); ctx.getAuthenticationService().login("myusername", "mypassword"); ctx.get } public static void main(String[] args) { RemoteInformerContext ctx = new RemoteInformerContext("myserver", 1199); ctx.getAuthenticationService().login("myusername", "mypassword"); ctx.get }
9
AuthenticationService – Log in and log out MetadataService – Manage datasources, files, fields, and links ReportService – Create and update report definitions – Run reports and download the result data ScheduleService – Manage report schedules – View past schedule job logs ViewService – Create temporary paged views that are cached on the server PrincipalService – Manage users and groups DataArchiveService – Create new archives – Download archive data Useful Services
10
Security Informer permissions are checked on the server in addition to the UI You must log in to Informer when you use the SDK
11
SDK Examples Create a new datasource Create a new report Create a new user Run a report and print the results Run a report and export the results Run a report and view grouped data
12
Plugins The Informer Plugin architecture allows you to safely modify the behavior and look and feel of Informer through the use of “plugins” Plugins are loaded by the Informer server and run inside the server’s Java Virtual Machine
13
What can I do with Plugins? Add your institution’s Logo to the front page Implement custom authentication logic Implement single sign-on Apply global and transparent row-level filtering rules Create a library of reusable calculated columns
14
My Plugin/ src/ /** Java source code **/ bin/ /** compiled Java classes **/ lib/ /** Informer sdk jars **/ www/ /** Overridden css and image resources **/ img/ css/ META-INF/ MANIFEST.MF /** Plugin Metadata **/ My Plugin/ src/ /** Java source code **/ bin/ /** compiled Java classes **/ lib/ /** Informer sdk jars **/ www/ /** Overridden css and image resources **/ img/ css/ META-INF/ MANIFEST.MF /** Plugin Metadata **/ Typical Plugin Project Structure
15
Plugin Example
16
Thank you! Any questions?
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.