module 6 - publishing apps

Upload: qais-akhtar

Post on 02-Jun-2018

220 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/10/2019 Module 6 - Publishing Apps

    1/19

  • 8/10/2019 Module 6 - Publishing Apps

    2/19

    Module Overview

    App Management Architecture

    Understanding App Packages

    Publishing Apps

    Installing, Updating, and Uninstalling Apps

  • 8/10/2019 Module 6 - Publishing Apps

    3/19

    Lesson 1: App Management Architectur

    Service Applications for App Management

    Publishing Locations

  • 8/10/2019 Module 6 - Publishing Apps

    4/19

    Service Applications for App Manageme

    The App Management Service Create by using Central Administration or PowerShell

    The Site Subscription Settings Service Create by using PowerShell

    $ApplicationPool = New-SPServiceApplication

    Subscription Settings Pool" -Account CONTOS

    $SiteSubService = New-

    SPSubscriptionSettingsServiceApplication

    -Name "Subscription Settings Service"

    -Databasename "SubscriptionSettingsServiceD

    -applicationpool $applicationPool

    $AppProxy = New-

    SPSubscriptionSettingsServiceApplicationPro-ServiceApplication $SiteSubService

  • 8/10/2019 Module 6 - Publishing Apps

    5/19

    Publishing Locations

    App Packages are published in: The Office Store

    For global access

    An App Catalog For access from the same web application

  • 8/10/2019 Module 6 - Publishing Apps

    6/19

    Lesson 2: Understanding App Packages

    App Package Format

    Packages for Remote Hosted Apps

    Demonstration: Exploring an App Package

  • 8/10/2019 Module 6 - Publishing Apps

    7/19

    App Package Format

    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

  • 8/10/2019 Module 6 - Publishing Apps

    8/19

    Packages for Remote Hosted Apps

    App Manifest App Icon Solution

    Package: Web Pages Scripts SharePoint

    Items

    SharePointHosted App

    Package

    App Manifest App Icon Web Deploy

    Package Remote

    Web Data Tier

    ApplicationPackage

    Database

    Autohosted AppPackage

    App Manifes App Icon

    Provider HostApp Package

  • 8/10/2019 Module 6 - Publishing Apps

    9/19

    Lesson 3: Publishing Apps

    The Publishing Wizard

    Publishing to the Office Store

    Publishing to an App Catalog

  • 8/10/2019 Module 6 - Publishing Apps

    10/19

    The Publishing Wizard

  • 8/10/2019 Module 6 - Publishing Apps

    11/19

    Publishing to the Office Store

    The Office Store is a global catalog of apps for SharePoint, Office, and

    A Dashboard Seller Account is required

    Upload you apps and provide: A title

    A version number

    A description

    A category A logo

    Screenshots

    Microsoft tests and approves the quality of all apps

  • 8/10/2019 Module 6 - Publishing Apps

    12/19

    Publishing to an App Catalog

    You can use an App Catalog to publish an app to the

    single tenancy or web application Use Central Administration to create a new App Cata

    Upload app package files to the app catalog and commetadata to publish apps

  • 8/10/2019 Module 6 - Publishing Apps

    13/19

    DEMOPublishing an App

  • 8/10/2019 Module 6 - Publishing Apps

    14/19

    Lesson 4: Installing, Updating, and Uninstalli

    App Installation

    Updating an App

    Uninstalling Apps

    ll

  • 8/10/2019 Module 6 - Publishing Apps

    15/19

    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.spapp::CorporateCatalog)

    $spapp = Import-SPAppPackage Path $apppacSource $appsource Confirm: $false

    Install-SPAppWeb $web

    Identity $spapp

    d

  • 8/10/2019 Module 6 - Publishing Apps

    16/19

    Updating an App

    Upgrades are based on the version number in the ap

    Upgrades are voluntary

    Upgrades are simplified because SharePoint hosted aautohosted apps are self-contained

    For provider hosted apps ensure that the remote we

    both old and new versions

    U i lli A

  • 8/10/2019 Module 6 - Publishing Apps

    17/19

    Uninstalling Apps

    When you remove an app the app web is deleted

    Shortcuts and the app identifier are deleted so permlonger apply

    Remote webs are not deleted

    $web = "http://intranet.contoso.c

    $appname = "Contoso Ledgers App"

    $appInstance = Get-SPAppInstance

    Where-Object {$_.Title eq $ap

    Uninstall-SPAppInstance Identity

    Confirm:$false

  • 8/10/2019 Module 6 - Publishing Apps

    18/19

    DEMOUpgrading an App

  • 8/10/2019 Module 6 - Publishing Apps

    19/19

    2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Office, Azure, System Center, Dynamics and other produc t names are or may be registered trade

    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 pre

    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

    the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.