Introduction to Calculated Columns Variables, Conditionals, and String Manipulation PRESENTER: Cameron Blashka| Informer Implementation Specialist| April.

Slides:



Advertisements
Similar presentations
JavaScript I. JavaScript is an object oriented programming language used to add interactivity to web pages. Different from Java, even though bears some.
Advertisements

Enhance your reports with template and script columns
Enhance your reports with template and script columns
Javascript Introduction Norman White Material is from w3schools.com Go there to run examples interactively.
Liang, Introduction to Java Programming, Fifth Edition, (c) 2005 Pearson Education, Inc. All rights reserved Chapter 8 Strings.
Session 8 JavaScript/Jscript: Objects Matakuliah: M0114/Web Based Programming Tahun: 2005 Versi: 5.
10 November JavaScript. Presentation Hints What do YOU think makes a good presentation Some of my suggestions Don’t write full sentences on slides Talk,
Information Technology Center Hany Abdelwahab Computer Specialist.
JavaScript, Fourth Edition
Tutorial 4 Decision Making with Control Structures and Statements Section A - Decision Making JavaScript Tutorial 4 -Decision Making with Control.
Week #2 Java Programming. Enable Line Numbering in Eclipse Open Eclipse, then go to: Window -> Preferences -> General -> Editors -> Text Editors -> Check.
PHP Overview CS PHP PHP = PHP: Hypertext Preprocessor Server-side scripting language that may be embedded into HTML One goal is to get PHP files.
2 Alerts and the If/Else Conditional Statement CONTINUED There's No Right Way to Do It There are, literally, a million ways to write any given script.
WEB DESIGN AND PROGRAMMING Introduction to Javascript.
NMED 3850 A Advanced Online Design January 26, 2010 V. Mahadevan.
Week 9 PHP Cookies and Session Introduction to JavaScript.
2440: 211 Interactive Web Programming Expressions & Operators.
CS0004: Introduction to Programming Variables – Strings.
Chapter 3: Data Types and Operators JavaScript - Introductory.
Introduction to Programming David Goldschmidt, Ph.D. Computer Science The College of Saint Rose Java Fundamentals (Comments, Variables, etc.)
CHAPTER 4 Java Script อ. ยืนยง กันทะเนตร คณะเทคโนโลยีสารสนเทศและการสื่อสาร มหาวิทยาลัยพะเยา 1.
JavaScript, jQuery, and Mashups Incorporating JavaScript, jQuery, and other Mashups into existing pages.
1 JavaScript
JavaScript Scripting language What is Scripting ? A scripting language, script language, or extension language is a programming language.
IFS Intro to Data Management Chapter 5 Getting More Than Simple Columns.
Lecture 2 Conditional Statement. chcslonline.org Conditional Statements in PHP Conditional Statements are used for decision making. Different actions.
Module 5 JavaScript Operators. CS346 Javascript-52 Examples  JS-5 Examples.
CST336, Dr. Krzysztof Pietroszek Week 2: PHP. 1.Introduction to PHP 2.Embed PHP code into an HTML web page 3.Generate (output HTML) web page using PHP.
Introduction to JavaScript CSc 2320 Fall 2014 Disclaimer: All words, pictures are adopted from “Simple JavaScript”by Kevin Yank and Cameron Adams and also.
JavaScript. JavaScript Introduction JavaScript is the world's most popular programming language. It is the language for HTML and the web, for servers,
Chad’s C++ Tutorial Demo Outline. 1. What is C++? C++ is an object-oriented programming (OOP) language that is viewed by many as the best language for.
Introduction to Javascript. What is javascript?  The most popular web scripting language in the world  Used to produce rich thin client web applications.
PHP Tutorial. What is PHP PHP is a server scripting language, and a powerful tool for making dynamic and interactive Web pages.
1 Agenda  Unit 7: Introduction to Programming Using JavaScript T. Jumana Abu Shmais – AOU - Riyadh.
Build in Objects In JavaScript, almost "everything" is an object.
>> Fundamental Concepts in PHP
>> Introduction to JavaScript
CHAPTER 10 JAVA SCRIPT.
Web Systems & Technologies
Chapter 6 JavaScript: Introduction to Scripting
Operators Operators are symbols such as + (addition), - (subtraction), and * (multiplication). Operators do something with values. $foo = 25; $foo – 15;
JavaScript Objects.
CIIT-Human Computer Interaction-CSC456-Fall-2015-Mr
Scope, Objects, Strings, Numbers
JavaScript Syntax and Semantics
Expressions and Control Flow in JavaScript
JavaScript.
Week#2 Day#1 Java Script Course
JavaScript: Control Statements I
Chapter 19 JavaScript.
Web Systems Development (CSC-215)
Jim Gerland CS4HS June 28, 2017 Buffalo State College
PHP.
T. Jumana Abu Shmais – AOU - Riyadh
University of Kurdistan
CS105 Introduction to Computer Concepts
Basics.
JavaScript Part 2.
SELECTIONS STATEMENTS
JavaScript CS 4640 Programming Languages for Web Applications
There many situations comes in real life when we need to make some decisions and based on these decisions, we decide what should we do next. Similar situations.
September 12-14, 2018 Raleigh, NC.
Web Programming– UFCFB Lecture 13
CIS 136 Building Mobile Apps
Web Programming and Design
Programming Basics Review
Web Programming and Design
CS105 Introduction to Computer Concepts JavaScript
JavaScript CS 4640 Programming Languages for Web Applications
COMPUTING.
Presentation transcript:

Introduction to Calculated Columns Variables, Conditionals, and String Manipulation PRESENTER: Cameron Blashka| Informer Implementation Specialist| April 27, 2017

Overview Template vs. Script Objects and Variables Template Examples Concatenation JavaScript Concepts Script Examples Seats Available Color Coding String Manipulation

Creating a Calculated Column

Template v. Script Templates Scripts Written with plain text or HTML Used for formatting pre-existing data Scripts Written with JavaScript Used for manipulating the data in some way

Template Concatenation

Template Concatenation Drag and Drop into the Expression Box ${firstName} ${lastName} Creates:

JavaScript Concepts – Objects and Variables What is an Object? Objects have a certain data type Similar data types interact with one another

JavaScript Concepts – Objects and Variables Data Type Example Numeric 1037, 0, 0.05, -157 String ‘Hello!’ ‘’, ‘5’ Boolean True, False Date 12/25/2000, 7-26-1990 Multi-value [‘one’,’two’,’three’]

JavaScript Concepts – Objects and Variables What is a variable Naming a variable Assigning values to a variable var myVariable; var myVariable = true var myVariable = 5; Var myVariable = “5”

JavaScript Concepts – Arithmetic Operators Function = Assign value + Addition / Concatenation - Subtraction * Multiplication / Division % Modulo (Remainder)

JavaScript Concepts – Conditionals Used when you want an output to change based off of the value of something else Two types If/Else statement Switch statement

JavaScript Concepts – Conditionals Operator Function == Is equal to != Is not equal to > Is greater than < Is less than >= Is greater than or equal to <= Is less than or equal to && And || Or ! Not

JavaScript Concepts – Conditionals If Statement Switch Statement if(condition){ statement; } else if(condition2){ else{ switch (n){ case value1: break; case value2: default:

Script #1 – Seats Available

Script #1 – Seats Available Subtract the two columns from one another

Script #2 – Color Coding

Script #2 – Color Coding Assign HTML styling based on some condition

String Manipulation String types have special functions that work with all strings string.function()

String Manipulation length concat() substr() toUpperCase() toLowerCase() trim() indexOf()

Script #3 – String Manipulation

Script #3 – String Manipulation Don’t forget edge cases Multiple ways to accomplish the same thing

Resources HTML JavaScript CSS (styles) http://www.w3schools.com/html/html_examples.asp JavaScript http://www.w3schools.com/js/js_examples.asp CSS (styles) http://www.w3schools.com/css/css_examples.asp

Thank you! Any questions?