Is it possible from a SharePoint-hosted app to add some JavaScript hosted on an external CDN to every page in a site (host web) without having to use a custom master page?

If not, is this something that would be achievable in an auto/provider hosted app?

Thanks in advance.

1 Answer 1


Probably not, without adding an AppPart to each and every page on the host web. This does not seem like a good solution in any way, but it is what comes to mind as the only possibility since you can't use Delegate Controls in SharePoint apps

  • Thanks. So I'm guessing that as far as the app marketplace goes, the intention is not to build apps that can change behaviour on a site wide basis? Shame, if so.
    – Yaron
    Commented Oct 20, 2013 at 16:07
  • Well, that is one of the Big disadvantages with the app model! It is really a shame, but it is in most related to microsofts new strategy of stopping developers from writing code that interfers with SharePoint. But be assured, there is a whole community of SP developers trying to find workarounds for the biggest obstacles in the app model! Commented Oct 20, 2013 at 17:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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