Copyright© 2012 Microsoft Corporation Visio Services 2013 Mashup API Chris Hopkins Senior Consultant - Premier Developer Practice Microsoft.

Slides:



Advertisements
Similar presentations
JavaScript – Quiz #8 Lecture Code:
Advertisements

Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 16 Introduction to Ajax.
Todd Kitta  Business Data Catalog (BDC) Basics  Web Parts  BDC Development  Search  API  Demo.
JavaScript Part 6. Calling JavaScript functions on an event JavaScript doesn’t have a main function like other programming languages but we can imitate.
06 | Implementing Web APIs Jon Galloway | Tech Evangelist Christopher Harrison | Head Geek.
How to integrate Visio 2013 and Visio Services 2013 with SharePoint to create process maps, and BI Dashboards Knut Relbe-Moe (Avega Group)
Benefits Capabilities Benefits Capabilities.
PC222 © IOZ AG What Design? Visio Shapes Data Graphics Custom Shapes Images Clipart CAD SVG … What Data? SharePoint Excel SQL … What.
©2012 Microsoft Corporation. All rights reserved..
Copyright© 2012 Microsoft Corporation A BIG Welcome from the Visio Product Team! Visio Services ‘Ignite’ Program Krishna Mamidipaka Sr. Product Manager.
JQuery. What is jQuery? jQuery is a fast, small, and feature-rich JavaScript library that simplifies HTML document traversing and manipulation event handling.
Visio 2010 and Visio Services door Bram de Jager & Edwin Vriethoff 23/02/2011.
Agenda What is AJAX? What is jQuery? Demonstration/Tutorial Resources Q&A.
Web Programming Material From Greenlaw/Hepp, In-line/On-line: Fundamentals of the Internet and the World Wide Web 1 Introduction The JavaScript Programming.
Create with SharePoint 2010 Jen Dodd Sr. Solutions Consultant
© IOZ AG What Design? Visio Shapes Data Graphics Custom Shapes Images Clipart CAD SVG … What Data? SharePoint Excel SQL …
DEV317 Integrating Extensible Business Graphics into Enterprise Applications using Visio 2003 Mai-lan Tomsen Bukovec Program Manager.
NextGen Technology upgrade – Synerizip - Sandeep Kamble.
Christopher Paolini Computational Science Research Center College of Engineering San Diego State University Computational Science 670 Fall 2009 Monday.
Step Outside the Box – Part II ColdFusion and Ajax.
Web Design Vocab 12 The Last one! Applet, HTTPS, RGB Color, Rollover, Server.
Lesson 19. JavaScript errors Since JavaScript is an interpreted language, syntax errors will usually cause the script to fail. Both browsers will provide.
 This presentation introduces the following: › 3 types of CSS › CSS syntax › CSS comments › CSS and color › The box model.
Building Data Visualization Solutions with Visio 2007 Paul Holdaway Microsoft Consulting Services (UK)
9 Chapter Nine Compiled Web Server Programs. 9 Chapter Objectives Learn about Common Gateway Interface (CGI) Create CGI programs that generate dynamic.
2. Introduction to the Visual Studio.NET IDE. Chapter Outline Overview of the Visual Studio.NET IDE Overview of the Visual Studio.NET IDE Menu Bar and.
Effective Gathering of Requirements for Kentico CMS Project Karol Jarkovsky Consultant Kentico Software
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 16 Introduction to Ajax.
Copyright© 2012 Microsoft Corporation Visio Services 2013 Web Part Connections Chris Hopkins Senior Consultant - Premier Developer Practice Microsoft.
Javascript II DOM & JSON. In an effort to create increasingly interactive experiences on the web, programmers wanted access to the functionality of browsers.
XPS Rasterization Service in Windows 7
Share interactive, refreshable, data-linked diagrams with others via their browser, with just a few clicks. Refreshable, data-linked diagrams.
Introduction to Programming the WWW I CMSC Summer 2003 Lecture 7.
JavaScript, jQuery, and Mashups Incorporating JavaScript, jQuery, and other Mashups into existing pages.
Microsoft.com/dynamics/ax Microsoft Dynamics Marketplace TechNet MSDN Community.dynamics.com CustomerSource* and PartnerSource* InformationSource*
Copyright © 2006 Pilothouse Consulting Inc. All rights reserved. Office Server Specific Web content management –Page structure, layouts, and controls –Publishing.
® IBM Software Group © 2006 IBM Corporation Individual Cell Coloring – in a JSF dataTable Control You may need to programmatically (using EGL) change the.
Text Callouts Icon Sets Data Bars Color By Value.
Copyright © 2006 Pilothouse Consulting Inc. All rights reserved. Office Integration Outlook –SharePoint lists in outlook –Documents in outlook InfoPath.
Michael Hofer Senior Consultant Microsoft Corporation.
Unleash the Power of jQuery Learning & Development Team Telerik Software Academy.
Copyright© 2012 Microsoft Corporation Visio Services 2013 Advanced Data Linking Chris Hopkins Senior Consultant - Premier Developer Practice Microsoft.
Virtual techdays INDIA │ 9-11 February 2011 Caching Enhancement in ASP.NET 4.0 Abhijit Jana │ Consultant, Microsoft
the acronym for Asynchronous JavaScript and XML.
Ajax for Dynamic Web Development Gregory McChesney.
Copyright© 2012 Microsoft Corporation Visio Services 2013 Overview Chris Hopkins Senior Consultant - Premier Developer Practice Microsoft.
Ajax VS Flex A comparison based on shopping cart implementation PoHsu Yeh py2157.
AJAX. Overview of Ajax Ajax is not an API or a programming language Ajax aims to provide more responsive web applications In normal request/response HTTP.
WaveMaker Visual AJAX Studio 4.0 Training Java Script Events.
CHAPTER 8 AJAX & JSON WHAT IS AJAX? Ajax lets you…
Understanding JavaScript and Coding Essentials Lesson 8.
05 | Integrating JavaScript and MVC 4 Jon Galloway | Tech Evangelist Christopher Harrison | Head Geek.
Consulting | Solutions | Products | Training Extending Project & Project Server.
JAVASCRIPT A quick review. True False ■The DOM is a standardized way of referring to parts of a Web page. ■TRUE ■In the DOM, attributes have their own.
Wes Hackett Principal Solutions Architect Chris O’Brien Head of Development.
CSCI 3100 Tutorial 5 JavaScript & Ajax Jichuan Zeng Department of Computer Science and Engineering The Chinese University of Hong.
Client-side (JavaScript) Validation. Associating a function with a click event – Part 1 Use the input tag’s onclick attribute to associate a function.
Spice up Your Forms and Views
Office 365 Development July 2014.
Servlets What is a Servlet?
Spice up Your Forms and Views
Visio Services 2013 Collaboration APIs Chris Hopkins
Spice up Your Forms and Views
04 | Web Applications Gerry O’Brien | Technical Content Development Manager Paul Pardi | Senior Content Publishing Manager.
Publish Visio 2010 drawings to a SharePoint site
>> Dynamic CSS Selectors
Extend Text Editor to Draw shapes
API DOCUMENTATION Swetha Mohandas Microsoft Connect 2016
Anatomy of HTML5 sites and Metro style apps using HTML5
Web Design and Development
Presentation transcript:

Copyright© 2012 Microsoft Corporation Visio Services 2013 Mashup API Chris Hopkins Senior Consultant - Premier Developer Practice Microsoft

Copyright© 2012 Microsoft Corporation

Use the JSOM to dynamically update a Content Editor web part as you select shapes on a Visio diagram with no server post back.

Copyright© 2012 Microsoft Corporation

OnClick() { for (var j = 0; j < data.length; j++) { if (data[j].label == "Step") { document.getElementById('StepData').src= " + "'" + data[j].value + "'"; return; } }} // NOTE: this is pseudo code.

Copyright© 2012 Microsoft Corporation OnClick() { shapes = page1.getShapes(); foreach shape in shapes { if (shape.data[0].value = TextBox.value) { shape.addHighlight(); } } } // NOTE: this is pseudo code.

Copyright© 2012 Microsoft Corporation Demo

Copyright© 2012 Microsoft Corporation

Web Part Page Document Library

Copyright© 2012 Microsoft Corporation

web part ID

Copyright© 2012 Microsoft Corporation

Function callback Event name

Copyright© 2012 Microsoft Corporation At this point the JSOM is initialized and the specified diagram is rendered in the VWA web part

Copyright© 2012 Microsoft Corporation function onShapeSelectionChanged(source, shapeId) { var vwaPage = vwaControl.getActivePage(); var vwaShapes = vwaPage.getShapes(); var vwaShape = vwaShapes.getItemById(shapeId); var data = vwaShape.getShapeData(); for (var j = 0; j < data.length; j++) { if (data[j].label == "Step") { alert(data[j].value); }

Copyright© 2012 Microsoft Corporation

nextShape.addHighlight(4, "red"); Pixel width Color, Hex or Name

Copyright© 2012 Microsoft Corporation

Demo

Copyright© 2012 Microsoft Corporation EventVwaControl MethodsDescription Diagram CompleteaddHandler() / removeHandler()Triggered when the diagram is loaded, refreshed, or changed Diagram ErroraddHandler() / removeHandler()Occurs when a request to render the diagram fails Shape Mouse EnteraddHandler() / removeHandler()Triggered when the mouse pointer is moved into the bounding box of the shape Shape Mouse LeaveaddHandler() / removeHandler()Triggered when the mouse pointer is moved out of the bounding box of the shape Shape Selection ChangedaddHandler() / removeHandler()Occurs when the shape that is currently selected on the page changes

Copyright© 2012 Microsoft Corporation

Content Editor Web Part Visio Web Access Web Part

Copyright© 2012 Microsoft Corporation

Thank You

Copyright© 2012 Microsoft Corporation