Hi there,
i would like to ask your help related with a current issue that i am facing. So i am creating a Sharepoint Hosted Add-in, and in there i am trying to create a new content type with two new columns. So, i started to create the project via Visual Studio, based on the Office Developer tools project template for Sharepoint Hosted Add-ins. The project comes with a feature, and any artifact i add to the project, it goes to the feature. But when i run the application, the new content type neither the new site columns are created. I was trying to figure out the location of the feature, in order to check if the feature was successfully activated. I checked the developer site ( where is running the app ) and there is no feature there. Even i checked the app catalog, and it is not there as well.
So could you explain me where is located the feature and how can i have access to it? Or, how can i troubleshoot this problem in order to check what is going on ?
Thank you.
Sounds like the Content Types are built in the “app web”. This is the site where the application runs. When you create a list or a content type or columns in the app, it doesn’t deploy to the host web.
If you environment is https://yoursite.sharepoint.com and you add the app here.
If you your app was named “App1”, it’s location is https://yoursite.sharepoint.com/App1. The feature and the content types are in the App1 site (called the App Web).
So, considering the following names: App Name: AppX developer site: https://yoursite.sharepoint.com/sites/development When i run the app via Visual Studio, it will open the app in the following address: https://yoursite-69953d60bfd33b.sharepoint.com/sites/development/AppX The string “69953d60bfd33b” i presume it is the App GUID. So, the app is running in the developer site and it is the app web, right? So, i checked the features in the developer site and it is not visible my custom feature, neither my custom artifacts. Am i correct in the above logic? Thank you.