Stephen Lyle Export Formats TEC06. Agenda Types of Exports Components of the new Export Framework Building an Export Running an Export Editing & Analyzing

Embed Size (px)

Citation preview

  • Slide 1

Stephen Lyle Export Formats TEC06 Slide 2 Agenda Types of Exports Components of the new Export Framework Building an Export Running an Export Editing & Analyzing an Export Merging edits back to their source tables Slide 3 Screen shot and email Quick Report Regular report run to Excel Traditional Export All business logic is in the Java source, including the query, sort order, field definitions, and validations New Export Framework Java code may contain all or none of the business logic Field definitions can be changed without editing any Java Queries, sorts and re-exports allow unlimited flexibility with tools you already know Types of Exports Slide 4 Components of the new Export Framework Procedure Currently requires a Java procedure for all exports using this framework Export Runs your export, includes option to save results Export Format Identifies the fields, format, order and validations Results Review results, Query and Quick Report to analyze, regenerate as needed, merge back when done! Slide 5 Start with a Procedure Upload the Java source from your conference USB drive ExportProcedureForStudentDemographics.java This Java source will allow exporting any field from the student and related tables (such as Person, Address, School, District) Name the procedure [Your initials]-STD-EXP-DATA (Ex: STL-STD-EXP-DATA) Check the Custom Java source box, then compile your Java source (Options menu) and finally Save Building a new Export Slide 6 Create a new Export Format Personalize your export name and ID NOTE: the ID must be the same as what you specified in your export procedure [Your initials]-STD-EXP-DATA Choose the Student table Set the delimiter char to, Enter a header row Save, and go to the Fields side-link Building an Export Define the Format Slide 7 Create 7 fields using the Java name from the Data Dictionary LASID = localId SASID = statdId First Name = person.firstName Last Name = person.lastName Grade = gradeLevel DOB = person.dob Building an Export - Define the Fields Slide 8 From the Export side-tab, add a new Export with your name [Your initials]-STD-EXP Upload the Java source and Input definition from your USB - StandardExportFormat.java - StandardExportFormatInput.xml Edit the Input definition with the procedure ID from slide 5 [Your initials]-STD-EXP-DATA Create and Run the Export Slide 9 Save your Export, then click Options > Run The Procedure ID you specified will be executed, which will in turn use the Export Format you created to pull all the fields you specified Summary: What you need for a custom Export Definition 1.Procedure entry (the Procedure ID will be used in two other places) containing a Java source with a Procedure ID 2.Export Format definition with a Procedure ID that matches the 1st component 3.Export entry containing a Java source and custom input XML with matching Procedure ID Create and Run the Export Slide 10 Click on the Results side-tab From here, you can edit and regenerate/reprint your export Saved results allows editing and analysis 1 2 3 Slide 11 Use Summary Quick Reports on the Results table to generate statistics When running a Summary report, leave the field selection blank, and just use the Statistics to generate your counts Tips & Tricks Gender Grade Level Slide 12 Questions Slide 13 Thank you [email protected] Slide 14 Thank you. [email protected]