For a SharePoint hosted application, is the host web always referred to as a site collection, and it cannot be a web only ?

Let's assume I install a SharePoint hosted application at this address - which is a sub-sub web,

site collection - http://www.studentportal.com/sites/classroom2


So is site collection host web or sub-sub-web is host web...

  • what you mean by Host web? are you asking about the App perspective? – Waqas Sarwar MVP Dec 15 '14 at 14:09
  • In SharePoint applications we have hostweb and appweb.. so yes you are right, answer below has no authentic reference – Mathematics Dec 16 '14 at 7:16

In regards to apps, Host web always refers to the site that the app is installed on. In your proposed situation, the token {HostUrl} would resolve to the latter: http://www.studentportal.com/sites/classroom2/subject1.

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.