Inherit top link bar when using Create a Site

Oct 22, 2010 at 10:15 AM

Hi,

I'm trying the Create a Site workflow activity. As it seems the created site does not inherit the top link bar (global navigation). Is there a way to make it do that? Or perhaps alter the site settings from within the workflow? Regards, Markus

Oct 28, 2010 at 11:51 AM

I solved it, so I post my own solution here if someone else is in the same situation.

Using the SharePoint PowerActivity, also avaliable here by Christian, I executed the following PowerShell commands.

 

$currentWeb = Get-SPWeb [%variable:urlToSite%]

$currentWeb.Navigation.UseShared = $true

$currentWeb.Update()