Build a SharePoint App with Microsoft Access
description
Transcript of Build a SharePoint App with Microsoft Access
![Page 2: Build a SharePoint App with Microsoft Access](https://reader035.fdocuments.us/reader035/viewer/2022062218/56816661550346895dd9ed66/html5/thumbnails/2.jpg)
About meManager at Avanade13 years of experience in developmentLast seven years SharePoint and development for SharePointStarted career with Access applicationsBorrowed some slides from SPC 2014
![Page 3: Build a SharePoint App with Microsoft Access](https://reader035.fdocuments.us/reader035/viewer/2022062218/56816661550346895dd9ed66/html5/thumbnails/3.jpg)
Presentation ObjectivesKnowledge objectives• Background and purpose• Architecture• Highlights and limitations
Practical objectives• Create and update Access apps• Integration with SharePoint• Packaging• Add additional value to the Access app
![Page 4: Build a SharePoint App with Microsoft Access](https://reader035.fdocuments.us/reader035/viewer/2022062218/56816661550346895dd9ed66/html5/thumbnails/4.jpg)
Access Apps The Story
![Page 5: Build a SharePoint App with Microsoft Access](https://reader035.fdocuments.us/reader035/viewer/2022062218/56816661550346895dd9ed66/html5/thumbnails/5.jpg)
Access overviewDesktop Access Apps• Used by millions today• 20 years old• Data stored in a local file• Requires Access software• VBA• Supported in SP2013
Access 2013 Web Apps• Brings Access DB’s to the Web• Data stored in SQL• Accessible everywhere• Easy sharing – No code
![Page 6: Build a SharePoint App with Microsoft Access](https://reader035.fdocuments.us/reader035/viewer/2022062218/56816661550346895dd9ed66/html5/thumbnails/6.jpg)
What kind of app is an Access app?
“Add-ins” of functionality for some Office programsPlaced within the document or in the task paneAccess apps can contain Apps for Office
Apps for Office
Fully functioning apps that run on the web within SharePointHosted on SharePoint sites in the cloudAccess apps are SharePoint AppsApps for
SharePoint
S
![Page 7: Build a SharePoint App with Microsoft Access](https://reader035.fdocuments.us/reader035/viewer/2022062218/56816661550346895dd9ed66/html5/thumbnails/7.jpg)
Target groups
Access Services 2013
“NAPA”
SharePoint Apps
Visual Studio
Office Apps
Power User Pro Dev
![Page 8: Build a SharePoint App with Microsoft Access](https://reader035.fdocuments.us/reader035/viewer/2022062218/56816661550346895dd9ed66/html5/thumbnails/8.jpg)
Pro’s to SharePoint WebApps• You can build them directly in Access
2013• No coding required• Support for relational data• The backend is SQL Server 2012• Easy security• Data table templates• Ease of use in designer tools• You can package and sell• You can use SQL Server Reporting
Services, excel or other tools to generate reports
![Page 9: Build a SharePoint App with Microsoft Access](https://reader035.fdocuments.us/reader035/viewer/2022062218/56816661550346895dd9ed66/html5/thumbnails/9.jpg)
DEMO
![Page 10: Build a SharePoint App with Microsoft Access](https://reader035.fdocuments.us/reader035/viewer/2022062218/56816661550346895dd9ed66/html5/thumbnails/10.jpg)
What about the con’s• Records cannot trigger or be part of
Access workflows• Security setup is basic and somewhat
limited• The apps own the database• The only supported SP object is the List
object and can only be added in readonly mode• Scope is the site collection you are in• You cannot write any VBA code for the
app
![Page 11: Build a SharePoint App with Microsoft Access](https://reader035.fdocuments.us/reader035/viewer/2022062218/56816661550346895dd9ed66/html5/thumbnails/11.jpg)
Architecture
![Page 12: Build a SharePoint App with Microsoft Access](https://reader035.fdocuments.us/reader035/viewer/2022062218/56816661550346895dd9ed66/html5/thumbnails/12.jpg)
Architecture
SharePoint on premises
SharePoint on Office 365
Creates
Consumes
Web Browser
Access Client
Access Services
Tables & Data
SQL DB
Azure
2012+
![Page 13: Build a SharePoint App with Microsoft Access](https://reader035.fdocuments.us/reader035/viewer/2022062218/56816661550346895dd9ed66/html5/thumbnails/13.jpg)
Access Services
![Page 14: Build a SharePoint App with Microsoft Access](https://reader035.fdocuments.us/reader035/viewer/2022062218/56816661550346895dd9ed66/html5/thumbnails/14.jpg)
SearchSearch is leveraging the full-text search capabilities within SQL 2012
The search server in SharePoint is not aware of the content that is hosted within Access Services
![Page 15: Build a SharePoint App with Microsoft Access](https://reader035.fdocuments.us/reader035/viewer/2022062218/56816661550346895dd9ed66/html5/thumbnails/15.jpg)
What about security?• Many people can work at the same app
at once• No additional security needed to the DB• No need to authenticate when using the
app• Permissions are handled by adding
people to SP groups (and/or AD groups) in the site that hosts the app
![Page 16: Build a SharePoint App with Microsoft Access](https://reader035.fdocuments.us/reader035/viewer/2022062218/56816661550346895dd9ed66/html5/thumbnails/16.jpg)
What cannot be done in security?• A user cannot own records• There is no way of separating who can
add vs. Who can edit records• No way of applying edit vs. readonly
permissions to specific tables within the app
![Page 17: Build a SharePoint App with Microsoft Access](https://reader035.fdocuments.us/reader035/viewer/2022062218/56816661550346895dd9ed66/html5/thumbnails/17.jpg)
Updating your app
![Page 18: Build a SharePoint App with Microsoft Access](https://reader035.fdocuments.us/reader035/viewer/2022062218/56816661550346895dd9ed66/html5/thumbnails/18.jpg)
DEMO
![Page 19: Build a SharePoint App with Microsoft Access](https://reader035.fdocuments.us/reader035/viewer/2022062218/56816661550346895dd9ed66/html5/thumbnails/19.jpg)
What happens during upgrade?• Current database (V1) read-only and
copy created(V2)• Applies schema changes in DACPAC to
V2• If there runs on-deploy macro
![Page 20: Build a SharePoint App with Microsoft Access](https://reader035.fdocuments.us/reader035/viewer/2022062218/56816661550346895dd9ed66/html5/thumbnails/20.jpg)
What happens during upgrade?If Success then
Deletes V1Renames V2 to the same name as V1
ElseMarks V1 back to read/writeDeletes V2
![Page 21: Build a SharePoint App with Microsoft Access](https://reader035.fdocuments.us/reader035/viewer/2022062218/56816661550346895dd9ed66/html5/thumbnails/21.jpg)
Locking a tableMarkes the table readonlyAll data in a Locked table is packed for deploymentEven locked in development modeUsed for sample data, informational tables etc.
![Page 22: Build a SharePoint App with Microsoft Access](https://reader035.fdocuments.us/reader035/viewer/2022062218/56816661550346895dd9ed66/html5/thumbnails/22.jpg)
Packaging
![Page 23: Build a SharePoint App with Microsoft Access](https://reader035.fdocuments.us/reader035/viewer/2022062218/56816661550346895dd9ed66/html5/thumbnails/23.jpg)
Packaging and deployingSave as app packageInstall on another SharePoint sitePublish to the SharePoint store
![Page 24: Build a SharePoint App with Microsoft Access](https://reader035.fdocuments.us/reader035/viewer/2022062218/56816661550346895dd9ed66/html5/thumbnails/24.jpg)
Add value
![Page 25: Build a SharePoint App with Microsoft Access](https://reader035.fdocuments.us/reader035/viewer/2022062218/56816661550346895dd9ed66/html5/thumbnails/25.jpg)
DEMO
![Page 26: Build a SharePoint App with Microsoft Access](https://reader035.fdocuments.us/reader035/viewer/2022062218/56816661550346895dd9ed66/html5/thumbnails/26.jpg)
Wrap-up
![Page 27: Build a SharePoint App with Microsoft Access](https://reader035.fdocuments.us/reader035/viewer/2022062218/56816661550346895dd9ed66/html5/thumbnails/27.jpg)
Related linksOn-premise installation:http://www.microsoft.com/en-us/download/details.aspx?id=30445Access for developers:http://msdn.microsoft.com/accessDownload SPC 2014 presentations from channel 9:http://gallery.technet.microsoft.com/PowerShell-Script-to-all-04e92a63
![Page 28: Build a SharePoint App with Microsoft Access](https://reader035.fdocuments.us/reader035/viewer/2022062218/56816661550346895dd9ed66/html5/thumbnails/28.jpg)
THANK YOU