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 there a way to do this in SharePoint Online? Using Powershell for instance?

share|improve this question

2 Answers 2

You can't use PowerShell with SharePoint Online.

You don't have access to the physical machine.

However, to set the navigation to share the parent's top link bar, you can use the Client Object Model if you want to go through the work of setting up the authentication mechanism.

Web.Navigation.UseShared = true;
Web.Update();
share|improve this answer

NOTE! this is completely taken from @rjcup3 , so if this works please bump his answer instead :)

If you only want to do this once, and don't want to open Visual Studio you could try running what @rjcup3 said in your browsers console:

var ctx = new SP.ClientContext();
var webs = c.get_web().get_webs();
ctx.load(webs);
ctx.executeQueryAsync(function() {
    var e = webs.getEnumerator();
    while (e.moveNext()) {
        var web = e.get_current();
        web.get_navigation().set_useShared(true);
        web.update();
    }
    ctx.executeQueryAsync(function() {
        console.log('done');
    });
});
share|improve this answer

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.