Using the SharePoint app, if you want to distribute SharePoint-related applications through the application directory, such as SharePoint-related applications with Full Control permissions (unable to deploy to Office 365 sites), You will need to use SharePoint 2013, which is fully installed on the local computer. We have provided this article with steps to set up a local installation of SharePoint 2013 and to begin developing a SharePoint-related application.
I. Pre-configuration preparation
1. Please make sure that you have installed SharePoint 2013, if not installed, please refer to the attached installation tutorial.
2. Be sure to configure the app Management Service and user profile application. The steps are as follows:
A. In central Administration, under Application Management, select Manage Service applications.
B. On the Service Applications page, ensure that the following services are started:
User Profile Service Application
APP Management Service
C. Under Application Management, select Manage services on the server.
D. On the services on the server page, ensure that the following services are started:
User Profile Service
3. Ensure that at least one configuration file is started in the User profile Service application. The steps are as follows:
A. In central Administration, under Application Management, select Manage Service applications.
B. Then select "User Profile Service Application".
C. On the Manage Profile services: User Profile Service Application page, under People, select Manage user profiles.
D. On the Manage User Profiles page, select New profile.
E. On the Add User Profile page, type the account name and e-mail address.
F. Select Save and close.
G. Return to the Manage User Profiles page, you should see "Total Profiles: 1".
Creating a separate application domain on the development computer
1, make sure the spadmin and Sptimer services are running by opening a command prompt and typing the following command.
net start spadminv4net start sptimerv4
2, run the SharePoint Management Shell as an administrator and type the following command to create a separate application domain.
Set-spappdomain "App.sinopec.ad"
3, ensure that the Spsubscriptionsettingsservice and appmanagementserviceinstance services are running by typing the following command in the SharePoint Management Shell.
Get-spserviceinstance | Where{$_. GetType (). Name-eq "Appmanagementserviceinstance"-or $_. GetType (). Name-eq "Spsubscriptionsettingsserviceinstance"} | Start-spserviceinstance