Linking SQL database on Azure to Visio via SharePoint Online

My last post was entitled Linking SQL database on Azure to Visio (see https://blog.bvisual.net/2014/09/11/linking-sql-database-on-azure-to-visio/), but that was only half the solution I wanted to present because I was having issues with linking my SQL database on Azure to my SharePoint Online. So, I enlisted my friend and colleague, Nick Ajderian, who looked into it and wrote the following blog article : http://softwaremechanik.wordpress.com/2014/09/24/connecting-microsoft-azure-to-sharepoint/ . Well, I still failed, until I realised a subtle error that I was making …

In my previous article, I showed how to connect directly to the SQL database on Azure by using the Data Connection Wizard, where I entered the Server name with the “, 1433” suffix in order to address the port. Well, when I kept on entering the same server name in the SQL Server Connection dialog for the new connection in the Data Source Explorer for a External Content Type in SharePoint Designer, everything was looking fine because I could expand the connection to view the tables and create the operations. I could even create the External List okay, but I could not view any records in it, and kept getting a connection error. I was getting very frustrated until I dropped the “, 1433”, then everything worked!

Here is my Floors table from my SQL database on Azure in SharePoint Online:

SNAGHTML47319fc

So, now I can select this list, as a Microsoft SharePoint Foundation List, using Link Data to Shapes in Visio:

Read the rest of this entry »

Linking SQL database on Azure to Visio

Microsoft Visio has many data sources available for Link Data to Shapes, and one of those is SQL Server. Microsoft Azure is increasingly becoming a low-cost, and always available, choice for hosting all sorts of data, and applications, so I thought I would document how easy it is to setup a SQL database on Azure for use with Visio.

Creating the SQL database on Azure

First, you need register for an Azure subscription, and then create a SQL database on a server in a suitable location.

Create Azure Sql database

Read the rest of this entry »

Union Jacked?

I am in Edinburgh, capital of Scotland, today. All talk is of the vote on Scottish independence next week … so, I thought I would make a Union Jack Visio shape that can be automatically changed, using Shape Data values, to represent the countries left in the union!

The Union Jack is comprised of the flags of England, Scotland and Ireland … sorry Wales, you are only a principality. Yes, I know that Northern Ireland is a province, but it was decided that St Patrick’s Saltire should be kept even after Eire got independence.

Note that a single country flag has an aspect ratio of 5:3, but a multi-country union flag has an aspect ratio of 2:1.

image

You can see the result of having the different countries included using the Shape Data panel. There are also some relevant hyperlinks on the shape.

image

 

You can download the Visio 2013 file from here : http://1drv.ms/1lWuHEA

JackBinnall

O365 and SharePoint

Simplify Tasks

Want to learn the simple way?

Paul Turley's SQL Server BI Blog

sharing my experiences with the Microsoft data platform, SQL Server BI, Data Modeling, SSAS Design, Power Pivot, Power BI, SSRS Advanced Design, Power BI, Dashboards & Visualization since 2009

John Goldsmith's visLog

be smart, be clear, be visual ...

Mo's blog

Personal views on Dynamics 365 for Operations and Technical Architecture.

Chris Webb's BI Blog

Microsoft Power BI, Analysis Services, MDX, DAX, M, Power Pivot and Power Query

davecra.wordpress.com/

Azure Solutions for Office 365, and more...

Rob Fahrni

I AM FAHRNI

johnvisiomvp

Life with Visio and other Microsoft Toys!

Nilsandrey's Weblog

Just another WordPress.com weblog

Things that Should be Easy

Every so often (too often in the IT industry) I encounter things that should have been very easy to do but turned out to be far too complicated. My favorite topics include SharePoint, .Net development, and software architecture, especially distributed systems.

Visio Guy

Smart graphics for visual people