You need to resolve the error

###BeginCaseStudy###

Testlet 1
A client asks you to create a basic task tracking app for SharePoint. The app will be hosted remotely. The users
will be able to set up task lists, mark tasks as completed, and manage their task lists.
Business Requirements
The client specifies the following business requirements:
Users can create task lists.
Users can retrieve task lists.
Project leads can remove task lists.
Users can modify task lists.
Only users with a paid license can use the app.
Tasks can be tagged with the programming language being used. Task list items may be tagged only with
the following terms: C++, C#, and JavaScript.
Navigational links across the top should be driven by the term store and use URLs that will improve search
engine ranking.
Set a system message that all users can access without the need to query a data source.
Remote users will authenticate to the app by using a username and password.
During development, the app will be tested by deploying to a development SharePoint site at http://
sharepoint.contoso.com/tasks.
When completed, the app will be published to the Microsoft Store as a paid app.
Existing Site Configuration
The table below shows the current site configuration for the client’s SharePoint site.

Task List Design
The app should create a SharePoint list named Tasks with the following attributes:

User Groups
SharePoint groups will be used to manage access to features of the app.

Task Display
The app should retrieve the Tasks list and display the contents on a webpage 20 tasks at a time.
Technical Requirements
You have the following requirements:
Query the Microsoft apps licensing service to validate the license.
Package and configure the app.
Configure navigation to use taxonomy-based navigation automatically generated by SharePoint.
Utilize CSOM to retrieve data from the SharePoint site.
Implement the system message by using a property bag that uses the key named SystemMessage.
Implement and configure the credential store.
The app will be internally tested for at least one month to track and fix any run-time errors.
Pending Issues
When you deploy the app from Visual Studio 2012, you receive the error: “Error occurred in deployment step
‘Install app for SharePoint’: Sideloading of apps is not enabled on this site.”
Application Structure
Relevant portions of the app files are shown below. (Line numbers in the code segments are included for
reference only and include a two-character prefix that denotes the specific file to which they belong.)
LicenseValidation.cs

SystemMessage.cs

ImpIementTaskList.cs

RetrieveTaskList.cs

CanDeleteTask.cs

TermSet Navigation.cs

###EndCaseStudy###

You receive an error when you deploy the app.
You need to resolve the error.
What should you do?

###BeginCaseStudy###

Testlet 1
A client asks you to create a basic task tracking app for SharePoint. The app will be hosted remotely. The users
will be able to set up task lists, mark tasks as completed, and manage their task lists.
Business Requirements
The client specifies the following business requirements:
Users can create task lists.
Users can retrieve task lists.
Project leads can remove task lists.
Users can modify task lists.
Only users with a paid license can use the app.
Tasks can be tagged with the programming language being used. Task list items may be tagged only with
the following terms: C++, C#, and JavaScript.
Navigational links across the top should be driven by the term store and use URLs that will improve search
engine ranking.
Set a system message that all users can access without the need to query a data source.
Remote users will authenticate to the app by using a username and password.
During development, the app will be tested by deploying to a development SharePoint site at http://
sharepoint.contoso.com/tasks.
When completed, the app will be published to the Microsoft Store as a paid app.
Existing Site Configuration
The table below shows the current site configuration for the client’s SharePoint site.

Task List Design
The app should create a SharePoint list named Tasks with the following attributes:

User Groups
SharePoint groups will be used to manage access to features of the app.

Task Display
The app should retrieve the Tasks list and display the contents on a webpage 20 tasks at a time.
Technical Requirements
You have the following requirements:
Query the Microsoft apps licensing service to validate the license.
Package and configure the app.
Configure navigation to use taxonomy-based navigation automatically generated by SharePoint.
Utilize CSOM to retrieve data from the SharePoint site.
Implement the system message by using a property bag that uses the key named SystemMessage.
Implement and configure the credential store.
The app will be internally tested for at least one month to track and fix any run-time errors.
Pending Issues
When you deploy the app from Visual Studio 2012, you receive the error: “Error occurred in deployment step
‘Install app for SharePoint’: Sideloading of apps is not enabled on this site.”
Application Structure
Relevant portions of the app files are shown below. (Line numbers in the code segments are included for
reference only and include a two-character prefix that denotes the specific file to which they belong.)
LicenseValidation.cs

SystemMessage.cs

ImpIementTaskList.cs

RetrieveTaskList.cs

CanDeleteTask.cs

TermSet Navigation.cs

###EndCaseStudy###

You receive an error when you deploy the app.
You need to resolve the error.
What should you do?

A.
Deploy the app to http://contoso-public.sharepoint.com.

B.
Enable side-loading of apps in the Visual Studio project properties.

C.
Deploy the app to https://contoso-my.sharepoint.com.

D.
Deploy the app to https://contoso.sharepoint.com/tasks.

Explanation:
We should deploy the app to the Development site, that is https://contoso.sharepoint.com/tasks (see Existing
Site Configuration in scenario).
Note:
* Loading Apps directly from Visual Studio only works if the destination is a Developer site. That form of
distribution, called side loading, is only used when testing and debugging an App. To load an App in a regular
site you need to add the .App package produced in Visual to the App Catalog site that is associated with your
Web Application. From there you will be able to load the app using the Site Contents link in your site.
* Issue: While we try creating a SharePoint 2013 App in a SharePoint hosted model and when we try to deploy
the solution, we get an “Error occurred in deployment step `Install app for SharePoint’: Side loading of apps is
not enabled on this site.
Solution:
1. That is, while creating a site collection/site where you want to deploy the app, create it using the “Developer
Site” template under the Collaboration tab.
2. Always the app should be published/deployed to the developer site (A site collection with the Developer Site
Template). And from this developer site you can add the App to your SharePoint site
Scenario: Pending Issues
When you deploy the app from Visual Studio 2012, you receive the error: “Error occurred in de- ployment step
‘Install app for SharePoint’: Sideloading of apps is not enabled on this site.”
Side Loading of apps is not enabled on this site error while installing app in SharePoint 2013



Leave a Reply 0

Your email address will not be published. Required fields are marked *