1 Task 4 – Advanced Topics - Introduction  Chris Woyton  Support/Training 

Slides:



Advertisements
Similar presentations
LiNC Developer Meetup Welcome!. Our job is to make your life easier APIs Tools and workflow Documentation Stay in touch: developers.lithium.com Join the.
Advertisements

Microsoft Expression Web-Illustrated Unit J: Creating Forms.
Dreamweaver Forms Overview. Forms – A Little Review Most user/webpage communication is one way, like this: Most user/webpage communication is one way,
CG0119 Web Database Systems Parsing XML: using SimpleXML & XSLT.
Html: getting started HTML is hyper text markup language. It is what web browsers look at on the Internet. HTML documents should be created in a simple.
SMT WEEKLY TRAINING JAMES CAMIRE STEVE ECKMAN TIM STIFFLER DANNY SAX MARY SOWDERS CHRIS MAHAN LISA MAHAN PAUL ISHAM HTML and CSS.
XSL eXtensible Stylesheet Language. What is XSL? XSL is a language that allows one to describe a browser how to process an XML file. XSL can convert an.
1.  Understanding about How to Working with Server Side Scripting using PHP Framework (CodeIgniter) 2.
JavaScript 101 Lesson 01: Writing Your First JavaScript.
A simple PHP application We are going to develop a simple PHP application with a Web interface. The user enters two numbers and the application returns.
SUNY Morrisville-Norwich Campus- Week 7 CITA 130 Advanced Computer Applications II Spring 2005 Prof. Tom Smith.
XP New Perspectives on Microsoft Office Excel 2003, Second Edition- Tutorial 11 1 Microsoft Office Excel 2003 Tutorial 11 – Importing Data Into Excel.
Introduction To Form Builder
Tutorial 11: Connecting to External Data
Uploading Files. Why? By giving a user the option to upload a file you are creating an interactive page You can enable users have a greater web experience.
VxOware Progress Report August How to create a new section? Configure section –Create metadata structure (template) –Create elements map for web.
Tailoring Google Site Search Brett Lucas Payman Labbaf July 2008.
8 Chapter Eight Server-side Scripts. 8 Chapter Objectives Create dynamic Web pages that retrieve and display database data using Active Server Pages Process.
PHP Tutorials 02 Olarik Surinta Management Information System Faculty of Informatics.
Reading Data in Web Pages tMyn1 Reading Data in Web Pages A very common application of PHP is to have an HTML form gather information from a website's.
Database-Driven Web Sites, Second Edition1 Chapter 8 Processing ASP.NET Web Forms and Working With Server Controls.
Server-side Scripting Powering the webs favourite services.
1 PHP and MySQL. 2 Topics  Querying Data with PHP  User-Driven Querying  Writing Data with PHP and MySQL PHP and MySQL.
NMED 3850 A Advanced Online Design January 26, 2010 V. Mahadevan.
E-Commerce: Introduction to Web Development 1 Dr. Lawrence West, Management Dept., University of Central Florida Topics What is a Web.
Using FrontPage Express. Slide 1 Standard toolbars and menus Time indicator: gives an approximation of download time of the page.
Troubleshooting Tips and Tricks Derick Larson Kinetic Data.
Section 17.1 Add an audio file using HTML Create a form using HTML Add text boxes using HTML Add radio buttons and check boxes using HTML Add a pull-down.
Introduction to Applets CS 3505 Client Side Scripting with applets.
Improving Efficiency with Reusable Processes Linda Koestler Kinetic Data.
Computing Theory: HTML Year 11. Lesson Objective You will: o Be able to define what HTML is - ALL o Be able to write HTML code to create your own web.
Chapter 8 Cookies And Security JavaScript, Third Edition.
INTRODUCTION TO JAVASCRIPT AND DOM Internet Engineering Spring 2012.
Creating Dynamic Web Pages Using PHP and MySQL CS 320.
Introduction of Geoprocessing Topic 7a 4/10/2007.
Active Server Pages  In this chapter, you will learn:  How browsers and servers interacted on the Internet when the Internet first became popular 
Lecture Note 1: Getting Started With ASP.  Introduction to ASP  Introduction to ASP An ASP file can contain text, HTML tags and scripts. Scripts in.
Forms and Server Side Includes. What are Forms? Forms are used to get user input We’ve all used them before. For example, ever had to sign up for courses.
1 Chapter 9 – Cookies, Sessions, FTP, and More spring into PHP 5 by Steven Holzner Slides were developed by Jack Davis College of Information Science.
Variables and ConstantstMyn1 Variables and Constants PHP stands for: ”PHP: Hypertext Preprocessor”, and it is a server-side programming language. Special.
A Response to Support Look kids Big Ben  3 Introductions  Derick Larson  Support and Training Favorite St. Paul Activity: Watching the pig deliver.
1 Chapter 12: Form Builder Objects and Flexible Code.
Topic Java EE installation (Eclipse, glassfish, etc.) Eclipse configuration for EE Creating a Java Web Dynamic Project Creating your first servlet.
What's New in Kinetic Calendar 2.0 Jack Boespflug Kinetic Data.
Introduction to MVC Controllers NTPCUG Tom Perkins, Ph.D.
Introduction to Views Stanford Drupal Camp April 6, 2013.
8 Chapter Eight Server-side Scripts. 8 Chapter Objectives Create dynamic Web pages that retrieve and display database data using Active Server Pages Process.
Introduction  “M” “V” “C” stands for “MODEL” “VIEW” “CONTROLLER”. ASP.NET MVC is an architecture to develop ASP.NET web applications in a different manner.
Running External Applications 1. There are times when you may wish to run an external application from a VB application. 2 External Applications.
PHP Syntax You cannot view the PHP source code by selecting "View source" in the browser - you will only see the output from the PHP file, which is plain.
PHP (cont.). 2 Functions Definition – function name(arguments){... } –syntax name as for a variable, but without $ arguments as for variables –to return.
Advanced Task Engine Doing Cool Stuff with Cool stuff!
CHAPTER 7 LESSON C Creating Database Reports. Lesson C Objectives  Display image data in a report  Manually create queries and data links  Create summary.
1 PDMLink Application - User Features & Functions Module 6: Search Capabilities.
: Information Retrieval อาจารย์ ธีภากรณ์ นฤมาณนลิณี
How to build a Web Page or “The things geeks never told you!”
Day 22, Slide 1 CSE 103 Day 22 Non-students: Please logout by 10:12. Students:
Web Programming with PHP (3) Superglobals, Form & File processing.
Interstage BPM v11.2 1Copyright © 2010 FUJITSU LIMITED INTRODUCTION TO INTERSTAGE BPM.
The Web Web Design. 3.2 The Web Focus on Reading Main Ideas A URL is an address that identifies a specific Web page. Web browsers have varying capabilities.
Project 1 Introduction to HTML.
Introduction to ASP By “FlyingBono” 2009_01 By FlyingBono 2009_01
Section 17.1 Section 17.2 Add an audio file using HTML
Adding a File to a Course
TYPO3 - Introduction.
Flight prices.
JavaScript & jQuery AJAX.
Getting Started With Solr
Input and Output Python3 Beginner #3.
Intro to Web Services Consuming the Web.
Presentation transcript:

1 Task 4 – Advanced Topics - Introduction  Chris Woyton  Support/Training 

2 Task 4 – Advanced Topics – What we’re going to learn.  Source Data  Accessing Source Data  Setting up a “harness”  Retrieving Results  Processing Results  Routine Scope (time permitting)  Global vs Local  Calling a Routine from an External Source

3 Source Data – What is it?  Source Data is the raw presentation of data submitted to a Task Tree.  It is in JSON format.

4 Source Data – Why use it?  Source Data has ALL the data, not just what is exposed by the source file.  Useful for AdHoc Sources.  Always available.  Good starting point for creating Source Files.

5 Source Data – Activity 1 – Planning.  Use Case: create a Task Tree that takes two numbers and multiplies them together.  Be able to extract the terms to be multiplied from the source.  Use an Echo node to perform the main function of the Tree.

6 Source Data – Activity 1 – Create the “stub” Tree.  Open the Kinetic Task 4 console.  Select “Build”  Add an Echo Node with the following parameter   Save the Tree.

7 Source Data –Activity 2 – build a Harness.  A harness page lets us specify precise parameters.  It’s a good method to see what format the Source Data will be in.

8 Source Data – Activity 2 – Build a Harness.  Create a Text File with your favorite editor.  Insert the following HTML: Term1: Term2:

9 Source Data – Activity 2 – Build a Harness.  The important line of our harness is the URL:   Note the naming of the URL matches the Tree “path” in the Builder:  /kinetic-task/app/api/v1/run-tree/ Playground/Test/MyTree

10 Source Data – Activity 2 – Build a harness.  Save the file.  Open it with your favorite Web Browser.  You should see something like this:

11 Source Data – Activity 2 – Execute the Tree.  Enter 2 numbers in the “Term”fields.  Submit.  You should see a result similar to this:  {"message":"Initiated run #6485 for the \"Playground :: Test :: MyTree\" Tree.","run":{"createdAt":" T12:33:36.307Z","createdBy":“Demo","id":6485}}  Note the Run Number.

12 Source Data – Activity 2 – Build a Harness.  Open the Run in the Task Admin Console.  Note the results of the Echo Node.  You should see something like this:  {"Term2":["4"],"Term1":["17"]}

13 Source Data – Activity 3 – Parse our Data.  Now that we have results back from the harness, we can proceed to work on providing the functionality.  The JSON object is natively available in the Task Engine and usable via an Echo node.  No separate handler is needed!

14 Source Data – Activity 3 – Parse our Data  Note the structure of the JSON being returned:  A label attached to an array.  When we create the JSON object, we can reference the terms by name and values by index.  For example: txt = txt['Term2'][0].to_i * txt['Term1'][0].to_i

15 Advanced Task 4  Questions?