0

I have a team site with a Home Page like the one on this link (created programmatically with STS#3 template).

I'd like to customize the Home Page adding a SharePoint hosted App I have developed.

But if Edit the page I only see the command "Add a new Web Part":

enter image description here

How can I add an app to the Home Page?

I dont necessarily use the STS#3 template but I could also use the PROJECTSITE#0 (or maybe STS#0 Team Site classic experience).

EDIT

I have added the App to the Web Site both "locally" and globally through Deployment at Site collection scope.

enter image description here

NOTE
I have developed the Add-in (App) using Sharepoint hosted pattern.
In my App I have only the Default.aspx page and the code is Javascript inside the App.js file.
I haven't used any WebParts and hopefully I won't need them.

  • did you add the app to site via Add an app ? You first need to install that app in the site collection – Gautam Sheth Oct 11 '18 at 8:21
0

Create an add-in part so you could insert the add-in part to a page.

How to create add-in part

Update: enter image description here

  • I have read the article, but the problem is that the example is tailored to provider hosted Add-in. That is that in Visual Studio there are two projects (web application project and SharePoint Add-in project). Instead I have a single SharePoint hosted project. So for example when at last it says "SharePoint Add-in doesn't have any add-in web, and its remote web application exists only to host the form. So the start page of the add-in should be set to the home page of the host web." I can't understand how to apply this to my case. there aren't any examples around for Sharepoint-hosted? – spiderman Oct 12 '18 at 7:44
  • Add-in part can be added in both SharePoint hosted/Provider hosted add-in, you can check above screenshot. – Lee_MSFT Oct 12 '18 at 7:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.