160 likes | 306 Views
Informer Extensions. PRESENTER: Brad Leupen | CTO, Entrinsik | 10-11-2010. What are Informer Extensions? Informer SDK Use the SDK to write Java applications that connect directly to Informer services Plugins
E N D
Informer Extensions PRESENTER: Brad Leupen | CTO, Entrinsik | 10-11-2010
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
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
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!
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
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
Making a Connection • Default RMI port is 1199 public static void main(String[] args) { RemoteInformerContextctx = new RemoteInformerContext("myserver", 1199); ctx.getAuthenticationService().login("myusername", "mypassword"); ... }
RemoteInformerContext public static void main(String[] args) { RemoteInformerContextctx = new RemoteInformerContext("myserver", 1199); ctx.getAuthenticationService().login("myusername", "mypassword"); ctx.get }
Useful Services • 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
Security • Informer permissions are checked on the server in addition to the UI • You must log in to Informer when you use the SDK
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
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
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
Typical Plugin Project Structure 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 **/