SESSION CODE: OFS312 Ed Richard Managing Director E-Agility v-TSP Microsoft EXTENDING VISIO TO ENABLE A BUSINESS PROCESS MODELLING SOLUTION IN SHAREPOINT (c) 2011 Microsoft.

Download Report

Transcript SESSION CODE: OFS312 Ed Richard Managing Director E-Agility v-TSP Microsoft EXTENDING VISIO TO ENABLE A BUSINESS PROCESS MODELLING SOLUTION IN SHAREPOINT (c) 2011 Microsoft.

SESSION CODE: OFS312
Ed Richard
Managing Director
E-Agility
v-TSP
Microsoft
EXTENDING VISIO TO ENABLE A BUSINESS
PROCESS MODELLING SOLUTION IN
SHAREPOINT
(c) 2011 Microsoft. All rights reserved.
Agenda
High on demo and code this time
► Setting the scene
– Why are doing this?
► What will we achieve?
– What are we building
► How
– How it all fits together
(c) 2011 Microsoft. All rights reserved.
The Cinderella principle
► http://visio.microsoft.com/enus/FeaturesAndCapabilities/Connect/Pages/Cind
erella_Visio_2010.aspx?vid=6&vlist=Video
Lib&vweb=/en-us
► Play
(c) 2011 Microsoft. All rights reserved.
A Bit of history
The story starts in 2009
► Great improvements to Visio 2010
► Introduction of Visio Services
► Business Process Modeling and Continuous
improvement processes
(c) 2011 Microsoft. All rights reserved.
A Bit of history
The story starts in 2009
► Because seeing is understanding
► Great improvements to Visio 2010
► Introduction of Visio Services
► Business Process Modeling and Continuous
improvement processes
(c) 2011 Microsoft. All rights reserved.
Demo 1
An example of a solution in SharePoint
(c) 2011 Microsoft. All rights reserved.
Demo 2
Extending the solution into Visio
(c) 2011 Microsoft. All rights reserved.
How: Extending the Ribbon
Add-ins tab and more
► Visual Studio 2010 and VSTO
► Visual design
► Code behind and deployment
– Click once publishing, why this is crucial
(c) 2011 Microsoft. All rights reserved.
Exposing SharePoint data
Web Service – Client Object Model
► Communicating with SharePoint
► A comparison, WSDL versus Linq
► a-Sync data reading
– A pattern that works for Silverlight and .Net
(c) 2011 Microsoft. All rights reserved.
Exposing SharePoint data
Web Service
► Demo of some code
(c) 2011 Microsoft. All rights reserved.
Exposing SharePoint data
Client Object Model – How to
► Pattern
► Linq
► a-Sync
– Demo and Code walkthrough
(c) 2011 Microsoft. All rights reserved.
Extending the backstage view
► The components of the Backstage view
► A Code walkthrough
– Reading and displaying
data
• From Visio
• From SharePoint
(c) 2011 Microsoft. All rights reserved.
Shape data items
The key to caching and storing
► Linking Shapes to context
– A quick demo of linking data to shapes to recap
– Defining new data items
– Small detour – templates and stencils
(c) 2011 Microsoft. All rights reserved.
Shape data items
Accessing from Visio Services
► Access to context for rendering
► Code walkthrough - JavaScript
var shapeData = shape.getShapeData();
var c = "Status Not Found";
for (var j=0; j<shapeData.length; j++)
{
if (shapeData[j].label.toLowerCase().indexOf("status") !=-1)
{
c = shapeData[j].value.toLowerCase();
}
}
(c) 2011 Microsoft. All rights reserved.
Enterprise Content types
Using SharePoint for hosting templates
► Means to an end
– Use this to tie the Enterprise architecture to Visio
• Another demo!
(c) 2011 Microsoft. All rights reserved.
Enrol in Microsoft Virtual Academy Today
Why Enroll, other than it being free?
The MVA helps improve your IT skill set and advance your career with a free, easy to access
training portal that allows you to learn at your own pace, focusing on Microsoft
technologies.
What Do I get for enrolment?
► Free training to make you become the Cloud-Hero in my Organization
► Help mastering your Training Path and get the recognition
► Connect with other IT Pros and discuss The Cloud
Where do I Enrol?
www.microsoftvirtualacademy.com
Then tell us what you think. [email protected]
Resources
www.msteched.com/Australia
www.microsoft.com/australia/learning
Sessions On-Demand & Community
Microsoft Certification & Training Resources
http:// technet.microsoft.com/en-au
http://msdn.microsoft.com/en-au
Resources for IT Professionals
Resources for Developers
(c) 2011 Microsoft. All rights reserved.
© 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other
countries.
The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing
market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this
presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
(c) 2011 Microsoft. All rights reserved.