Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

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.

share|improve this question
add comment

1 Answer

up vote 0 down vote accepted

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

share|improve this answer
    
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 Oct 20 '13 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! –  Robert Lindgren Oct 20 '13 at 17:04
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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