Module 6 - Publishing Apps
Module 6 - Publishing Apps
subtitle style
06 | Deploying Apps
• AppManifest.xml
– Required for all apps
• AppIcon.png
– Recommended for all apps
• App Web Solution
– Required for SharePoint hosted apps
– Optional for remote hosted apps
• Host Web Features
– Optional for all apps
Packages for Remote Hosted Apps
SharePoint Autohosted App Provider Hosted
Hosted App Package App Package
Package
• App Manifest
• App Manifest
• App Manifest • App Icon
• App Icon
• App Icon • Web Deploy
• Solution Package
Package: • Remote
• Web Pages Web
• Scripts • Data Tier
• SharePoint Application
Items Package
• Database
Lesson 3: Publishing Apps
App Installation
Updating an App
• Uninstalling Apps
App Installation
• Installation procedures
• Installation permissions
• Agreement to Permission Requests
• Installation with PowerShell
$web = "http://intranet.contoso.com/"
$apppackage = "C:\Apps\MyApp.app"
$appsource =
([microsoft.sharepoint.administration.spappsource]
::CorporateCatalog)
$spapp = Import-SPAppPackage –Path $apppackge –Site $web
–Source $appsource –Confirm: $false
Install-SPApp –Web $web –Identity $spapp –Confirm: $false
Updating an App
$web = "http://intranet.contoso.com/"
$appname = "Contoso Ledgers App"
$appInstance = Get-SPAppInstance –Web $web |
Where-Object {$_.Title –eq $appname}
Uninstall-SPAppInstance –Identity $appInstance –Con
$false
DEMO
Upgrading an App
©2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Office, Azure, System Center, Dynamics 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.