Link to home
Start Free TrialLog in
Avatar of tolppa
tolppa

asked on

SharePoint hosted apps: How to get rootsite?

How can I get root web? var web = context.get_site().get_rootWeb(); would give my appweb root, but what about host web? I would like to do something like webs.itemAt(i).get_rootWeb();
ASKER CERTIFIED SOLUTION
Avatar of Big Monty
Big Monty
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial