51
Creating Business Solutions with Access Services RAYMOND MITCHELL & WES PRESTON

Creating Business Solutions with Access Services RAYMOND MITCHELL & WES PRESTON

Embed Size (px)

Citation preview

Page 1: Creating Business Solutions with Access Services RAYMOND MITCHELL & WES PRESTON

Creating Business Solutions with Access ServicesRAYMOND MITCHELL & WES PRESTON

Page 2: Creating Business Solutions with Access Services RAYMOND MITCHELL & WES PRESTON

Abstract In this session we’ll look at where Access sits in the solution landscape, how to get started, and then walk through demos of creating and publishing a custom web app without writing code. We’ll also look at what it means to configure Access Services in your environment and show examples of integration opportunities. Bring lots of questions and an open mind – you’ve never seen Access like this!

Page 3: Creating Business Solutions with Access Services RAYMOND MITCHELL & WES PRESTON

@iwkid

linkedin.com/in/iwkid

Raymond Mitchell Independent ConsultantOwner of IWSPACE, LLC

Specialize in SharePoint & Information Worker Technologies

SharePointing since 2001

www.iwkid.com

www.iwspace.com

3

Page 4: Creating Business Solutions with Access Services RAYMOND MITCHELL & WES PRESTON

@idubbs

linkedin.com/in/wpreston

Wes Preston Independent ConsultantOwner of TrecStone

Information Worker, No-code/low-code solutions for business.

SharePointing since 2003

www.idubbs.com/blog

www.trecstone.com

4

Page 5: Creating Business Solutions with Access Services RAYMOND MITCHELL & WES PRESTON

Agenda• Overview

• Getting Started

• Creating Access Web Apps

• Access Functionality

• Reporting & External Connections

• Publishing & Upgrading

• Resources & Questions

Page 6: Creating Business Solutions with Access Services RAYMOND MITCHELL & WES PRESTON

OverviewACCESS SERVICES - 2013

Page 7: Creating Business Solutions with Access Services RAYMOND MITCHELL & WES PRESTON

Access 2013• Still clinging to life..

• Start from a blank Database or from one of many templates

Page 8: Creating Business Solutions with Access Services RAYMOND MITCHELL & WES PRESTON

Access Services 2010

Quick survey – who here used Access Services 2010?

Page 9: Creating Business Solutions with Access Services RAYMOND MITCHELL & WES PRESTON

Access Services 2010• “Web Databases”

• Data was stored in Lists

• Publish your existing databases

• Lots of limitations:• Not all form control events are supported in Web databases

• Not all column data types are compatible with Web lookups

• Not all field data types are compatible with the Web

• At the end of the day – not so great

• Possible reason to miss them? On-prem configuration was much easier

Page 10: Creating Business Solutions with Access Services RAYMOND MITCHELL & WES PRESTON

Access Services 2013• Still requires a Service Application on-prem

• Introducing Access Web Apps

• Data is stored in SQL Server• Every Access Web App is a database in SQL

Page 11: Creating Business Solutions with Access Services RAYMOND MITCHELL & WES PRESTON

Access Web Apps• They’re real SharePoint Apps!

• Uses “familiar” installation process

• Can be distributed just like other apps• Corporate Catalog• Deployed to the SharePoint Store

Page 12: Creating Business Solutions with Access Services RAYMOND MITCHELL & WES PRESTON

Where does Access Fit?• Fills *some* of the gaps left by SharePoint Designer and InfoPath changes

• No-Code solutions (advanced capabilities for power users – queries, integration, macros)

• Arguably better than SharePoint at transactions / relational data

• Reporting is definitely better – data is in SQL

• Definitely part of Microsoft’s “to the cloud” vision• Easiest on Office 365• Leverages SQL Azure

Page 13: Creating Business Solutions with Access Services RAYMOND MITCHELL & WES PRESTON

Limitations• Form and page layout is closed – development is limited to Apps for Office extensions

• No SharePoint-style Alerts

• No Workflow

• No true granular security within the app

Page 14: Creating Business Solutions with Access Services RAYMOND MITCHELL & WES PRESTON

Getting StartedWHAT’S NEEDED

Page 15: Creating Business Solutions with Access Services RAYMOND MITCHELL & WES PRESTON

What’s needed• SharePoint 2013

• SQL Server 2012 or SQL Azure (depending on deployment platform)

• Access 2013 client for design work

Page 16: Creating Business Solutions with Access Services RAYMOND MITCHELL & WES PRESTON

Office 365• Almost ZERO configuration – it just works

• May have to activate the Access App Site Feature

• Available on ALL levels (not just Enterprise)

• Gets the latest and greatest improvements (Cascading dropdowns!!!)

• May have some data/capacity limitations with SQL Azure

Page 17: Creating Business Solutions with Access Services RAYMOND MITCHELL & WES PRESTON

SharePoint 2013 On-Prem• Only available with Enterprise license

• SharePoint 2013 March Update (15.0.4481.1005)• may as well go to SP1 (15.0.4569.1000) now that it is stable

• SQL 2012 configured for mixed-mode authentication

• It’s difficult to configure

• Going to be another example of the push to the Cloud…

Page 18: Creating Business Solutions with Access Services RAYMOND MITCHELL & WES PRESTON

Platform DifferencesOffice 365

• SQL Azure

• Latest features first

• Setup:

On-Prem

• Local SQL Server 2012

• Latest features on 2-3 year release cycle

• Setup:

Page 19: Creating Business Solutions with Access Services RAYMOND MITCHELL & WES PRESTON

Quick thoughts Configuring On-Prem• Configure Apps first – that’s enough fun for one day

• Use the official white paper AND Kirk Evans’s blog post for reference• Insane permissions issues not addressed in the white paper

• Really should have a separate SQL Server or at least Instance

• Can’t use SQL Aliases

• Be prepared for firewall rules and such

• Be prepared – all you get are GUIDs

• When you’re stuck, reboot

Page 20: Creating Business Solutions with Access Services RAYMOND MITCHELL & WES PRESTON

Create Access Web AppsSTART FROM SCRATCH

Page 21: Creating Business Solutions with Access Services RAYMOND MITCHELL & WES PRESTON

Creating Access Web Apps• When creating from scratch, two starting points:• Access• SharePoint

Page 22: Creating Business Solutions with Access Services RAYMOND MITCHELL & WES PRESTON

DEMO• Create an Access Web App from SharePoint

• Show how to create from Access

• Show Table Templates• Show Navigation• Tables, Default views

• Launch the App

Page 23: Creating Business Solutions with Access Services RAYMOND MITCHELL & WES PRESTON

Create Access Web AppsSTART FROM A PUBLISHED APP

Page 24: Creating Business Solutions with Access Services RAYMOND MITCHELL & WES PRESTON

Installing Access Apps from the Store• Existing Microsoft-created Access Web Apps• Salon Management• Asset Management System• Meal Delivery• Recruiting Helper• Tool Tracker• Student Drop in Management• Training Management• More!

• Only recently added the ability to publish Access Apps to the Store – more will be coming

• Install process is like other Apps – except that Access Services must be configured first

Page 25: Creating Business Solutions with Access Services RAYMOND MITCHELL & WES PRESTON

DEMO• Add an Access App from the SharePoint Store

• Show how to customize an Access App from the store

Page 26: Creating Business Solutions with Access Services RAYMOND MITCHELL & WES PRESTON

Access FunctionalityBUILDING BLOCKS FOR ACCESS WEB APPS

Page 27: Creating Business Solutions with Access Services RAYMOND MITCHELL & WES PRESTON

Tables• Data is stored in ‘Tables’ (as opposed to Lists)

• Table Templates are available to get started • There are a LOT of samples available with one or more tables and associated views• Search for ‘all’ to see the full list

• Add a new blank table – to start from scratch

• Existing data sources

Page 28: Creating Business Solutions with Access Services RAYMOND MITCHELL & WES PRESTON

Tables - Data Types• Shift from SharePoint thinking… • In Access, data type is separate from data display

Page 29: Creating Business Solutions with Access Services RAYMOND MITCHELL & WES PRESTON

Views / Forms• A little terminology overlap from SharePoint

Page 30: Creating Business Solutions with Access Services RAYMOND MITCHELL & WES PRESTON

Macros•Types of Macros• Event• Data• OnStart• On Deploy Data Macro (ODDM)

Page 31: Creating Business Solutions with Access Services RAYMOND MITCHELL & WES PRESTON

Macros•Types of Macros• Event• Data• OnStart• On Deploy Data Macro (ODDM)

Respond to clicks on a view

Page 32: Creating Business Solutions with Access Services RAYMOND MITCHELL & WES PRESTON

Macros•Types of Macros• Event• Data• OnStart• On Deploy Data Macro (ODDM)

Respond to data events

Page 33: Creating Business Solutions with Access Services RAYMOND MITCHELL & WES PRESTON

Macros•Types of Macros• Event• Data• OnStart• On Deploy Data Macro (ODDM)

Execute when the app opens

Page 34: Creating Business Solutions with Access Services RAYMOND MITCHELL & WES PRESTON

Macros•Types of Macros• Event• Data• OnStart• On Deploy Data Macro (ODDM)

Execute during install / upgrade scenarios

Page 35: Creating Business Solutions with Access Services RAYMOND MITCHELL & WES PRESTON

SharePoint Integration• List Lookups

• Site permissions

• Site branding

•App-style Navigation (back to site link)

Page 36: Creating Business Solutions with Access Services RAYMOND MITCHELL & WES PRESTON

DEMO• Walkthrough of the building blocks

Page 37: Creating Business Solutions with Access Services RAYMOND MITCHELL & WES PRESTON

Reporting & External ConnectionsUSE THAT SQL SERVER

Page 38: Creating Business Solutions with Access Services RAYMOND MITCHELL & WES PRESTON

Reporting Instance• Create a client-only database that links to your SQL database

• Separates reporting from application maintenance

Page 39: Creating Business Solutions with Access Services RAYMOND MITCHELL & WES PRESTON

Enabling Connections• Where’s my data?• Database named with GUIDs• In Azure *somewhere*

• What’s my username?

• What’s my password?

Page 40: Creating Business Solutions with Access Services RAYMOND MITCHELL & WES PRESTON

External Connections• Excel

• Visio

• Power View

• Crystal Reports

• Custom Code

• External services that can connect to SQL Azure (like www.Zapier.com)

Page 41: Creating Business Solutions with Access Services RAYMOND MITCHELL & WES PRESTON

DEMO• Configuring External Connections

• Connecting with Excel

Page 42: Creating Business Solutions with Access Services RAYMOND MITCHELL & WES PRESTON

Publishing & UpgradingLIFECYCLE OF AN ACCESS WEB APP

Page 43: Creating Business Solutions with Access Services RAYMOND MITCHELL & WES PRESTON

Application Package• Create an .app Package

• Four deployment options:• Create an Access App by uploading the .app• Upload to Development Site• Deploy to your Corporate Catalog• Submit to the SharePoint Store

• Pay close attention to the “Include Data in Package” option

Page 44: Creating Business Solutions with Access Services RAYMOND MITCHELL & WES PRESTON

Application Package• Access Client SP1 Save As Options

• Includes better support for upgrade scenarios

• All Upgrade functionality is new (was releasing around SPC14 timeframe)

Page 45: Creating Business Solutions with Access Services RAYMOND MITCHELL & WES PRESTON

Upgrading• Table Locking

• On Deploy Data Macro• Runs when the app is installed or upgraded• Migrates data or loads sample data• Access Solution Developer owns the logic (Great Power + Great Responsibility)

• App Locking• Removes the “Customize in Access”• If modified, cannot be upgraded

Page 46: Creating Business Solutions with Access Services RAYMOND MITCHELL & WES PRESTON

DEMO• Package and Deploy an Access Web App

Page 47: Creating Business Solutions with Access Services RAYMOND MITCHELL & WES PRESTON

ResourcesAND STUFF

Page 48: Creating Business Solutions with Access Services RAYMOND MITCHELL & WES PRESTON

Resources Kirk Evans post – deploy Access on Premhttp://blogs.msdn.com/b/kaevans/archive/2013/07/14/access-services-2013-setup-for-an-on-premises-installation.aspx

SPC14 Sessions on Channel9http://channel9.msdn.com/Events/SharePoint-Conference/2014?sort=sequential&direction=desc&term=&tag=access&tag=access-services#theSessions

(SPC204) Anyone can build a SharePoint App with Microsoft Accesshttp://channel9.msdn.com/Events/SharePoint-Conference/2014/SPC204

Book: Microsoft Access 2013 Inside Out – Jeff Conradhttp://www.amazon.com/Microsoft-Access-2013-Inside-Out-ebook/dp/B00JDMPLLO/ref=tmm_kin_swatch_0?_encoding=UTF8&sr=8-1&qid=1399951293

Page 50: Creating Business Solutions with Access Services RAYMOND MITCHELL & WES PRESTON

Resources SPC

◦ SPC204 – Anyone can build a SharePoint App with Microsoft Access◦ SPC285 – No-code SharePoint 2013 Solutions for power users◦ SPC301 – Access is back! High-value, ‘no code’, functional & flexible business apps with the new Access◦ SPC335 – Rich extensions to SharePoint Apps using Microsoft Access◦ SPC338 – The ‘how to’ guide for selling and managing SharePoint Apps build using Access◦ SPC348 – Update on InfoPath and SharePoint Forms

Page 51: Creating Business Solutions with Access Services RAYMOND MITCHELL & WES PRESTON

Questions?