Embedding a Data View dynamic report into an existing web-page



Similar documents
Embedding tracking code into IAS

Web Design Basics. Cindy Royal, Ph.D. Associate Professor Texas State University

To allow for more flexibility in where the widget can be placed on a web page, the display can be either vertical or horizontal:

EUROPEAN COMPUTER DRIVING LICENCE / INTERNATIONAL COMPUTER DRIVING LICENCE WEB EDITING

A send-a-friend application with ASP Smart Mailer

Short notes on webpage programming languages

Slide.Show Quick Start Guide

ICT 6012: Web Programming

WHITEPAPER. Skinning Guide. Let s chat Velaro info@velaro.com by Velaro

ICE: HTML, CSS, and Validation

MASTERTAG DEVELOPER GUIDE

HTML Tables. IT 3203 Introduction to Web Development

Web Design I. Spring 2009 Kevin Cole Gallaudet University

Inspiring Creative Fun Ysbrydoledig Creadigol Hwyl. Web Design in Nvu Workbook 1

JavaScript By: A. Mousavi & P. Broomhead SERG, School of Engineering Design, Brunel University, UK

Outline of CSS: Cascading Style Sheets

Chapter 2 HTML Basics Key Concepts. Copyright 2013 Terry Ann Morris, Ed.D

BASICS OF WEB DESIGN CHAPTER 2 HTML BASICS KEY CONCEPTS COPYRIGHT 2013 TERRY ANN MORRIS, ED.D

understand how image maps can enhance a design and make a site more interactive know how to create an image map easily with Dreamweaver

CREATING A NEWSLETTER IN ADOBE DREAMWEAVER CS5 (step-by-step directions)

Selectors in Action LESSON 3

Introduction Designing your Common Template Designing your Shop Top Page Product Page Design Featured Products...

Creating a Resume Webpage with

Your Blueprint websites Content Management System (CMS).

PLAYER DEVELOPER GUIDE

Web Design and Databases WD: Class 7: HTML and CSS Part 3

How to Add a Transparent Flash FLV movie to your Web Page Tutorial by R. Berdan Oct

Your First Web Page. It all starts with an idea. Create an Azure Web App

The Web Web page Links 16-3

Timeline for Microsoft Dynamics CRM

Visualizing a Neo4j Graph Database with KeyLines

How to Create an HTML Page

Dreamweaver CS4 Day 2 Creating a Website using Div Tags, CSS, and Templates

Web Design with Dreamweaver Lesson 4 Handout

Further web design: HTML forms

Web Development CSE2WD Final Examination June (a) Which organisation is primarily responsible for HTML, CSS and DOM standards?

MAGENTO THEME SHOE STORE

Tutorial: Building a Dojo Application using IBM Rational Application Developer Loan Payment Calculator

Designing HTML s for Use in the Advanced Editor

BLACKBOARD 9.1: Text Editor

Exercise 1 : Branding with Confidence

ITNP43: HTML Lecture 4

Web Development. Owen Sacco. ICS2205/ICS2230 Web Intelligence

Last week we talked about creating your own tags: div tags and span tags. A div tag goes around other tags, e.g.,:

mpdf Example 37. Barcodes <?php

Tableau Server Trusted Authentication

WEB DESIGN LAB PART- A HTML LABORATORY MANUAL FOR 3 RD SEM IS AND CS ( )

Website Login Integration

Configuring iplanet 6.0 Web Server For SSL and non-ssl Redirect

We automatically generate the HTML for this as seen below. Provide the above components for the teaser.txt file.

Web Development 1 A4 Project Description Web Architecture

HTML5 and CSS3 Part 1: Using HTML and CSS to Create a Website Layout

What is CSS? Official W3C standard for controlling presentation Style sheets rely on underlying markup structure

Web Design Revision. AQA AS-Level Computing COMP2. 39 minutes. 39 marks. Page 1 of 17

In order for the form to process and send correctly the follow objects must be in the form tag.

WEBSITE CONTENT MANAGEMENT SYSTEM USER MANUAL CMS Version 2.0 CMS Manual Version

OPENTABLE GROUP SEARCH MODULE GETTING STARTED ADD RESERVATIONS TO YOUR WEBSITE

Web Hosting Training Guide. Web Hosting Training Guide. Author: Glow Team Page 1 of 22 Ref: GC349_v1.1

SPHOL326: Designing a SharePoint 2013 Site. Hands-On Lab. Lab Manual

SmartBar for MS CRM 2013

Dashboard Skin Tutorial. For ETS2 HTML5 Mobile Dashboard v3.0.2

Implementing Specialized Data Capture Applications with InVision Development Tools (Part 2)

Web Building Blocks. Joseph Gilbert User Experience Web Developer University of Virginia Library

Create Webpages using HTML and CSS

Vizit 4.1 Installation Guide

Introduction to XHTML. 2010, Robert K. Moniot 1

Creating Web Pages with HTML Simplified. 3rd Edition

JISIS and Web Technologies

Website Implementation

Cisco Adaptive Security Appliance (ASA) Web VPN Portal Customization: Solution Brief

WP Popup Magic User Guide

How to use SSO with SharePoint 2010 (FBA) using subdomains. Moataz Esmat EXT.1386

Positioning Container Elements

How To Write A Cq5 Authoring Manual On An Ubuntu Cq (Windows) (Windows 5) (Mac) (Apple) (Amd) (Powerbook) (Html) (Web) (Font

Build an ArcGIS Online Application

Fortis Theme. User Guide. v Magento theme by Infortis. Copyright 2012 Infortis

Visualizing an OrientDB Graph Database with KeyLines

HTML TIPS FOR DESIGNING

SAHARA DIGITAL8 RESPONSIVE MAGENTO THEME

Internet Technologies

WebFOCUS BI Portal: S.I.M.P.L.E. as can be

COMMON CUSTOMIZATIONS

Insight Student for Chromebooks - Auto Configuration

Scoop Hosted Websites. USER MANUAL PART 4: Advanced Features. Phone: scoop@scoopdigital.com.au Website: scoopdigital.com.

Taleo Enterprise. Career Section Branding Definition. Version 7.5

HTML CSS Basic Structure. HTML Structure [Source Code] CSS Structure [Cascading Styles] DIV or ID Tags and Classes. The BOX MODEL

CSS - Cascading Style Sheets

Caldes CM12: Content Management Software Introduction v1.9

Using Style Sheets for Consistency

collab.virginia.edu UVACOLLAB ECLPS: BUILDING COURSE PORTALS UVaCollab User Guide Series

Using an external style sheet with Dreamweaver (CS6)

Creating A Webpage Using HTML & CSS

introduces the subject matter, presents clear navigation, is easy to visually scan, and leads to more in-depth content. Additional Resources 10

Transcription:

Embedding a Data View dynamic report into an existing web-page Author: GeoWise User Support Released: 23/11/2011 Version: 6.4.4

Embedding a Data View dynamic report into an existing web-page Table of Contents 1. Introduction... 1 2. Outline... 1 3. Details... 1 4. Example page... 3 5. Support... 4

Embedding a Data View Dynamic Report into an existing Web Page Page 1 1. Introduction It is possible to easily embed Data View dynamic reports into other external web pages. This is useful for providing rich dynamic content in existing pages within your organisation. 2. Outline The process is as follows: 1 Identify the dynamic report you wish to embed on the Data Views module 2 Launch it and obtain an appropriate snippet of source code 3 Adapt the source code 4 Place the adapted code into your existing page code and tweak the styling to suit. Please note that the code snippet you will eventually obtain will look like it has two dynamic report embed tags in it. This is because Internet Explorer treats embedded objects differently to all other browsers (it requires a classid attribute). Therefore the code is repeated twice, once for Internet Explorer and then through a conditional statement for non-ie browsers. You should ensure that if you make amendments (e.g. changing the height of the embed), that you make them in both blocks of code. 3. Details Step 1 - Using the standard Data Views navigation system, you should identify the dynamic report you are interested in using. Open this dynamic report in a web browser. Step 2 Once the report has opened, view the source of the page to locate the appropriate section of code you wish to take. The snippet we wish to use is hidden in the code for those users who do not have JavaScript enabled, so you will notice that as part of the code there are <noscript> tags. In the source code, locate the line that reads: <div id="flashmovie"> and copy all the lines including this one until you reach: to select areas/features from a map. </p> </div> You should also include these lines. You will then have a snippet of code that will look like the image below:

Embedding a Data View Dynamic Report into an existing Web Page Page 2 Step 3 Adapt this code. This is a small piece of embed code used in the IAS system for those users who do have Javascript enabled browsers. However, for embedding purposes, we can use this same code to embed this dynamic report. We have to remove two sections of code. 1 Remove both the <noscript> tag and the closing </noscript> tag. 2 Remove the entire paragraph section near the bottom of the snippet that has the error message in it. Delete from the opening <p class= errormessage > down to </p> 3 Update the URLs that are sending the URL of the report to ensure they are absolute rather than relative URLs if you are embedding into a webpage running on a different server/location/url to IAS. The two parameter values to update are: <param name="movie" value=" "> <param name="base" value=" "/> Ensure the content of value now includes a URL that is accessible from the server on which the dynamic report is running. E.g. in our example, we would prefix value /IAS_Demo/DynamicReports/ward_sm/atlas.swf with http://ias.instantatlas.com If you are creating a page sitting within the same website as IAS, then you will not need to perform this step. Step 4 Take your remaining code and place it into the page you wish to embed the dynamic report in. Exactly how you do this, will depend upon the nature of the page you are embedding too. There are a few items you should consider changing according to the circumstances: 1 You should amend the width and height parameters to suit the size of the window you are trying to embed into. Please note that the default minimum embed size for a dynamic report is 820px in width by 620px in height unless the dynamic report has been configured

Embedding a Data View Dynamic Report into an existing Web Page Page 3 to work at a smaller size (i.e. 820 x 620 is the minimum size the report will auto-scale down without having scroll bars). 2 The code includes a border around the embed by default. These are in the style tags. You can clear these tags if you do not want to have a border. 4. Example page Below is some sample code used to show how our dynamic report embed snippet can be easily placed into any web page. The page below is very simple. The extra html mark-up that is not part of the code snippet is shown in bold. Those amendments made in step 3 and 4 are shown in red. <html> <head>this is a simple embed page</head> <body> <h2>custom Standalone Webpage</h2> This is a simple example to show how a Data View dynamic report can be easily embedded into a standalone web page. <div id="flashmovie"> <p> <object id="instantatlasreportx" name="instantatlasreport" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="820" height="620" style="" type="application/x-shockwave-flash" data="/ias_demo/dynamicreports/ward_sm/atlas.swf"> <param name="movie" value="http://ias.instantatlas.com/ias_demo/dynamicreports/ward_sm/atlas.swf" /> <param name="base" value="http://ias.instantatlas.com/ias_demo/dynamicreports/ward_sm/" /> <param name="flashvars" value="&iasbaselayer=10&iasoverridebaselayer=false&ias=false&data=http%3a%2f%2fia s.instantatlas.com%2fias_demo%2fdata%2fxml%3fviewid%3d9%26geotypeid%3d10%26subsetid%3d- 1%26inline%3dfalse%26timestamp%3d05172011172908179%26lookup%3d%26viewer%3dDynamicReport%26ext%3d& amp;config=%2fias_demo%2fdynamicreports%2fward_sm%2fconfig" /> <!--[if!ie]>--> <object id="instantatlasreport" name="instantatlasreport" width="820" height="620" style="" type="application/x-shockwave-flash" data="/ias_demo/dynamicreports/ward_sm/atlas.swf"> <param name="movie" value="http://ias.instantatlas.com/ias_demo/dynamicreports/ward_sm/atlas.swf" /> <param name="base" value="http://ias.instantatlas.com/ias_demo/dynamicreports/ward_sm/" /> <param name="flashvars" value="&iasbaselayer=10&iasoverridebaselayer=false&ias=false&data=http%3a%2f%2fia s.instantatlas.com%2fias_demo%2fdata%2fxml%3fviewid%3d9%26geotypeid%3d10%26subsetid%3d- 1%26inline%3dfalse%26timestamp%3d05172011172908179%26lookup%3d%26viewer%3dDynamicReport%26ext%3d& amp;config=%2fias_demo%2fdynamicreports%2fward_sm%2fconfig" /> <!--<![endif]--> This is a Flash movie which shows this data view as an interactive map with charts and tables. <!--[if!ie]>--> </object> <!--<![endif]--> </object> </p> </div> </body> </html>

Embedding a Data View Dynamic Report into an existing Web Page Page 4 5. Support If after consulting the user documentation you require further support for IAS please contact the GeoWise User Support Team. Email: support@geowise.co.uk Telephone: United Kingdom: +44 131 624 8935 North America: 1-800-961-8948 (toll-free) Hours: Monday-Friday UK: 9:00am-5:00pm USA: 4:00am-12:00 noon EST