Supercharge Your Parameterized HTML Launch Pages With 7.6.9+ Advanced Chaining Techniques! Dan Pinault Power Systems Research Copyright 2010, Information.

Slides:



Advertisements
Similar presentations
Vanderbilt Business Objects Users Group 1 Reporting Techniques & Formatting Beginning & Advanced.
Advertisements

Microsoft Office 2007 Access Chapter 3 Maintaining a Database.
Copyright 2002, Paradigm Publishing Inc. CHAPTER 23 BACKNEXTEND 23-1 LINKS TO OBJECTIVES Form Concepts Creating the Form Template Creating the Form Template.
Because Everyone Makes Decisions Developer Studio Topics and Demonstration Jeff Winters, Branch Technical Specialist.
Table of Contents II: Customize your TOC Change the appearance of your TOC You’ve created an automatic table of contents, but now you feel like making.
Microsoft Office 2010 Access Chapter 1 Creating and Using a Database.
Guide to Oracle10G1 Introduction To Forms Builder Chapter 5.
A Guide to Oracle9i1 Introduction To Forms Builder Chapter 5.
A Guide to Oracle9i1 Creating an Integrated Database Application Chapter 8.
Macros Tutorial Week 20. Objectives By the end of this tutorial you should understand how to: Create macros Assign macros to events Associate macros with.
Introduction To Form Builder
Guide to Linux Installation and Administration, 2e1 Chapter 6 Using the Shell and Text Files.
Creating Dynamic Surveys with Maintain Mark Derwin and Mark Rawls Information Builders Information Builders Summit 2011 User Conference June 2011 Copyright.
Education Google Calendar (GCal) English. Education Upon completion of this course, you will be able to:  Navigate the GCal interface  Search your calendar.
Microsoft Office Word 2013 Expert Microsoft Office Word 2013 Expert Courseware # 3251 Lesson 4: Working with Forms.
® IBM Software Group © 2006 IBM Corporation JSF Tab Controls This Learning Module shows how to develop server-side EGL applications with dynamic content.
1 ADVANCED MICROSOFT WORD Lesson 15 – Creating Forms and Working with Web Documents Microsoft Office 2003: Advanced.
8 Copyright © 2004, Oracle. All rights reserved. Creating LOVs and Editors.
Copyright 2007, Information Builders. Slide 1 Maintain & JavaScript: Two Great Tools that Work Great Together Mark Derwin and Mark Rawls Information Builders.
Programming with Microsoft Visual Basic 2012 Chapter 13: Working with Access Databases and LINQ.
Working with a Database
PMS /134/182 HEX 0886B6 PMS /39/80 HEX 5E2750 PMS /168/180 HEX 00A8B4 PMS /190/40 HEX 66CC33 By Adrian Gardener Date 9 July 2012.
Copyright 2007, Information Builders. Slide 1 WebFOCUS Maintain – Enhancing Objects with JavaScript Mark Derwin Information Builders Information Builders.
Project Implementation for COSC 5050 Distributed Database Applications Lab3.
WebFOCUS Tips and Techniques WebFOCUS Tips and Techniques The Next Generation.
Copyright © 2007, Oracle. All rights reserved. Managing Concurrent Requests.
LiveCycle Data Services Introduction Part 2. Part 2? This is the second in our series on LiveCycle Data Services. If you missed our first presentation,
Multi-Part Requests/ Parent & Child Service Items.
1 Data Bound Controls II Chapter Objectives You will be able to Use a Data Source control to get data from a SQL database and make it available.
Tutorial 7 Creating Forms. Objectives Session 7.1 – Create an HTML form – Insert fields for text – Add labels for form elements – Create radio buttons.
© Copyright by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. 1 Tutorial 27 - Phone Book Application Introducing Multimedia.
Office 2003 Advanced Concepts and Techniques M i c r o s o f t Access Project 6 Switchboards, PivotTables, and PivotCharts.
Engage! Android User Input, Variables,
Microsoft Office 2007 Access Chapter 6 Using Macros, Switchboards, PivotTables, and PivotCharts.
Copyright 2007, Information Builders. Slide 1 Enhancing Maintain Applications with HTML Mark Derwin and Mark Rawls Information Builders.
Key Applications Module Lesson 21 — Access Essentials
CIS 338: Using Queries in Access as a RecordSource Dr. Ralph D. Westfall May, 2011.
Caching Chapter 12. Caching For high-performance apps Caching: storing frequently-used items in memory –Accessed more quickly Cached Web Form bypasses:
ASP.NET The Clock Project. The ASP.NET Clock Project The ASP.NET Clock Project is the topic of Chapter 23. By completing the clock project, you will learn.
Chapter 5 Quick Links Slide 2 Performance Objectives Understanding Framesets and Frames Creating Framesets and Frames Selecting Framesets and Frames Using.
© Copyright by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. 1 Tutorial 17 – Flag Quiz Application Introducing One-Dimensional.
© 2016 Cengage Learning®. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. Android Boot Camp.
Copyright 2008 McGraw-Hill Ryerson 1 TECHNOLOGY PLUG-IN T7 PROBLEM SOLVING USING ACCESS.
Chapter Thirteen Working with Access Databases and LINQ Programming with Microsoft Visual Basic th Edition.
Menu Creation Business Rules Menu System By George Tisdale (April 2005)
1 Chapter 4: Creating Simple Queries 4.1 Introduction to the Query Task 4.2 Selecting Columns and Filtering Rows 4.3 Creating New Columns with an Expression.
XP New Perspectives on Microsoft Office FrontPage 2003 Tutorial 7 1 Microsoft Office FrontPage 2003 Tutorial 8 – Integrating a Database with a FrontPage.
T7-1 LEARNING OUTCOMES – ACCESS PROBLEM SOLVING 1.Describe the process of using the Simple Query Wizard using Access 2.Describe the process of using the.
Copyright 2007, Information Builders. Slide 1 Flex your Dashboard Muscle with WebFOCUS Flex Enable John Gogoly Senior Systems Engineer June, 2008.
© 2016 Cengage Learning®. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. Android Boot Camp.
JOIN Syntax and Techniques Noreen Redden Information Builders Copyright 2011, Information Builders. Slide 1.
1 Chapter 3: Getting Started with Tasks 3.1 Introduction to Task Dialogs 3.2 Creating a Listing Report 3.3 Creating a Frequency Report 3.4 Creating a Two-Way.
McGraw-Hill/Irwin The Interactive Computing Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. Microsoft Access 2002 Advanced Form Design.
Iterations (aka Loops). 2 Loops Loops (iterations) are segments of code that may be executed several times. Fixed-count (definite) loops repeat a fixed.
Introduction to Matlab Module #10 Page 1 Introduction to Matlab Module #10 – Creating Graphical User Interfaces Topics 1.Overview of GUI Development using.
Copyright 2007, Information Builders. Slide 1 TABLE FILE: The Basics Noreen Redden FOCWizard June, 2008.
® IBM Software Group © 2006 IBM Corporation Dependent Combo-Box U.I. Development This Learning Module walks you through the options and development techniques.
Java Programming: Advanced Topics 1 Building Web Applications Chapter 13.
Developer Studio Copyright 2009, Information Builders. Slide 1 Ira Kaplan Information Builders.
Perfecto Mobile Automation
B Copyright © 2011, Oracle and/or its affiliates. All rights reserved. Working with PDF and eText Templates.
Ashima Wadhwa Java Script And Forms. Introduction Forms: –One of the most common Web page elements used with JavaScript –Typical forms you may encounter.
Creating LOVs and Editors
Lexical Reference Variables in Graphics and List Box in Forms
Chapter 7 Advanced Form Techniques
CIS16 Application Programming with Visual Basic
CIS16 Application Development and Programming using Visual Basic.net
Lecture Set 10 Windows Controls and Forms
Reports Report builder meets the challenge by making it easy to design, publish, and distribute professional, production-quality reports in a variety of.
Presentation transcript:

Supercharge Your Parameterized HTML Launch Pages With Advanced Chaining Techniques! Dan Pinault Power Systems Research Copyright 2010, Information Builders. Slide 1

Basic Chaining in HTML Composer Copyright 2010, Information Builders. Slide 2

What is Chaining?  A method of selectively reducing the number of options in ‘downstream’ controls based on selections made in ‘upstream’ controls.  Typically used with data fields that have a hierarchical or one- to-many relationship (does not imply data file structure)  Prevents users from making selections that will not return any data [i.e. (Region EQ ‘Central Asia’) and (Country EQ ‘United States’)] Copyright 2010, Information Builders. Slide 3

Simple Chaining HTML Composer Design Screen Copyright 2010, Information Builders. Slide 4

Simple Chaining HTML Composer Parameters Screen Copyright 2010, Information Builders. Slide 5

Simple Chaining Run Time Example Copyright 2010, Information Builders. Slide 6

The Problem Copyright 2010, Information Builders. Slide 7

Long Lists Can Cause Issues Copyright 2010, Information Builders. Slide 8

The “Aha!” moment Copyright 2007, Information Builders. Slide 9

Advanced chaining technique – Step1 Copyright 2007, Information Builders. Slide 10 This drop-down list allows the user to select one of the Master Files they have access to.

Step1 – Parameters Tab – Data Source Selector Copyright 2007, Information Builders. Slide 11

Let’s take a closer look – Data Source Selector -* Code to populate combobox1 Data Source Dropdown List control. -* Use value of &&IBI_IF_FILE to create list of available Master Files. -* Need to evaluate &&IBI_IF_FILE before TABLE Request because Dialog -* Manager command -INCLUDE can not evaluate variable inside TABLE Request. -SET &FILELIST = '-INCLUDE ' | &&IBI_IF_FILE; TABLE FILE SYSTABLE SUM FST.REMARKS BY NAME &FILELIST.EVAL ON TABLE PCHOLD FORMAT XML END Copyright 2007, Information Builders. Slide 12

Advanced chaining technique – Step2 Copyright 2007, Information Builders. Slide 13 The values in this drop-down list are determined by the Master File selected in the Data Source Selector.

Step2 – Parameters Tab –Field Name Selector Copyright 2007, Information Builders. Slide 14

Let’s take a closer look – Field Name Selector -* Code to populate combobox2 Field Name Dropdown List control. -* Default Amper-Variables because list will populate when HTML page loads. -DEFAULT &DATASOURCE = SUMMIT2010DATA; CHECK FILE &DATASOURCE HOLD AS DS_HLD TABLEF FILE DS_HLD SUM FST.TITLE BY FIELDNAME ON TABLE PCHOLD FORMAT XML END Copyright 2007, Information Builders. Slide 15

Advanced chaining technique – Step3 Copyright 2007, Information Builders. Slide 16 The values in this list-box are determined by the selected item in the Field Name Selector.

Step3 – Parameters Tab – Data Value Selector Copyright 2007, Information Builders. Slide 17

Let’s take a closer look – Data Value Selector -* Code to populate listbox1 Data Values List control. -* Set ASNAMES on to allow for custom data field and display field. SET ASNAMES = ON -* Default Amper-Variables because list will populate when HTML page loads. -DEFAULT &DATASOURCE = SUMMIT2010DATA; -DEFAULT &FIELDNAME = REGIONNAME; TABLE FILE &DATASOURCE SUM FST.&FIELDNAME AS FIELDVALS BY &FIELDNAME AS FIELDVALS ON TABLE PCHOLD FORMAT XML END Copyright 2007, Information Builders. Slide 18

Advanced chaining technique – Step4 Copyright 2007, Information Builders. Slide 19 Adding the Guide Words Selector allows the user to ‘page’ through a long list of Data Values in the Data Value Selector.

Step4 – Parameters Tab – Guide Words Selector Copyright 2007, Information Builders. Slide 20

Let’s take a closer look – Guide Words Selector (1 of 3) -* Code to populate combobox3 Guide Words Dropdown List control -* Default Amper-Variables because list will populate when HTML page loads. -DEFAULT &DATASOURCE=SUMMIT2010DATA; -DEFAULT &FIELDNAME=REGIONNAME; -DEFAULT &BLOCKSIZE=500; -DEFAULT &BLOCK=0; -* First pass assigns each row to a block number based on the value of &BLOCKSIZE. TABLE FILE &DATASOURCE SUM COMPUTE ROWNUM/I7 = LAST ROWNUM-(-1); COMPUTE BLOCK /I5 = 1-(-(INT((ROWNUM-1)/&BLOCKSIZE))); BY &FIELDNAME WHERE &FIELDNAME IS NOT MISSING; ON TABLE HOLD AS FOCCACHE/HOLDKEYS END -RUN Copyright 2007, Information Builders. Slide 21

Let’s take a closer look – Guide Words Selector (2 of 3) -* Second pass is to get the format of the selected field so we can determine how -* to convert the values to a string format so the values can be concatenated. CHECK FILE &DATASOURCE HOLD AS DS_HLD TABLE FILE DS_HLD SUM FST.FORMAT WHERE FIELDNAME EQ '&FIELDNAME'; ON TABLE SAVE END -RUN -* Put the field format value into &FIELDTYPE and convert field value to string. -READ SAVE &FLDTYPE.A8. -SET &FLDINIT = EDIT(&FLDTYPE,'9$'); -SET &XFIELD = - IF (&FLDINIT EQ 'I') THEN 'EDIT(&FIELDNAME.EVAL)' - ELSE IF (&FLDINIT EQ 'P') THEN 'PTOA(&FIELDNAME.EVAL, ''(&FLDTYPE.EVAL)'', ''A99V'')' - ELSE IF (&FLDINIT EQ 'D' OR 'F') THEN 'FTOA(&FIELDNAME.EVAL, ''(&FLDTYPE.EVAL)'', ''A99V'')' - ELSE '&FIELDNAME.EVAL'; Copyright 2007, Information Builders. Slide 22

Let’s take a closer look – Guide Words Selector (3 of 3) -* Remove leading zeros if they exist. DEFINE FILE FOCCACHE/HOLDKEYS FLDNAM/A99V = (TRIMV('L', &XFIELD, 99, '0', 98, 'A99V')); END TABLEF FILE FOCCACHE/HOLDKEYS SUM FST.ROWNUM AS LOROW NOPRINT LST.ROWNUM AS HIROW NOPRINT -* Build Guide Words entry from first and last FLDNAM in each block. COMPUTE RANGE/A99V = IF (LST.ROWNUM GT FST.ROWNUM) THEN FST.FLDNAM || ' ~ ' | LST.FLDNAM ELSE FST.FLDNAM; BY BLOCK ON TABLE SET HOLDLIST PRINTONLY AND ASNAMES ON ON TABLE PCHOLD FORMAT XML END Copyright 2007, Information Builders. Slide 23

Let’s take a closer look – Data Value Selector (v2) -* Code to populate listbox1 Data Values List control when used with Guide Words control. -* Set ASNAMES on to allow for custom data field and display field. SET ASNAMES = ON -* Default Amper-Variables because list will populate when HTML page loads. -DEFAULT &FIELDNAME = REGIONNAME; -DEFAULT &BLOCK = 1; TABLEF FILE FOCCACHE/HOLDKEYS SUM FST.&FIELDNAME AS FIELDVALS BY &FIELDNAME AS FIELDVALS WHERE BLOCK EQ █ ON TABLE PCHOLD FORMAT XML END Copyright 2007, Information Builders. Slide 24

Putting it all together – A Real-World Example (1 of 2) Copyright 2007, Information Builders. Slide 25

Putting it all together – A Real-World Example (2 of 2) Copyright 2007, Information Builders. Slide 26

Questions? Copyright 2007, Information Builders. Slide 27 Dan Pinault