I have saved a team site solution in the gallery which lets the user create subsites. Now the user would like to open some quicklaunch links in a new window when the new subsite is created.
How can I open a library/list in a new window programmatically, since the saved template does not retain the options that I have specified before I saved it?
Edit: here is my code so far but is not working:
public override void WebProvisioned(SPWebEventProperties properties)
{
base.WebProvisioned(properties);
SPNavigationNodeCollection leftNav = properties.Web.Navigation.QuickLaunch;
SPNavigationNode node = leftNav.Navigation.GetNodeByUrl("/Shared Documents");
node.Properties["Target"] = "_blank";
node.Update();
properties.Web.Update();
}