Tag Info

New answers tagged

0

Just a possibility. If you have more than one language installed in your farm, you need to take into consideration the title resource property: SPList list = web.Lists.TryGetList("Announcements"); if (list != null) { // Create a navigation node pointing to the Announcements list. SPNavigationNode newNode = new ...


0

you can use something like this var node = web.Navigation.QuickLaunch[0]; string title = node.Title; SPNavigationSiteMapNode.UpdateSPNavigationNode(node , null , "NEW_TITLE" , node.Url , "DESCRIPTION" , node.Properties["Target"].ToString() ...


0

This css worked for me, I used this in CEWP on SharePoint 2013 on premise. Try this css code: <style> .ms-core-listMenu-verticalBox UL.root > LI > .menu-item { /*Style each menu item*/ background-color: red; } .ms-core-listMenu-verticalBox > ul.root > li.static > ul.static > li.static > a:hover { /*Style on hove ...


2

This error occurs if you access quicklaunch while site is being created.Below code causes the feature activated code to wait until the site collection has been created before executing. using System.Threading; public override void FeatureActivated(SPFeatureReceiverProperties properties) { //Queues changes until after site exists. For use ...


2

you need to perform spWeb.update() for changes to be visible.



Top 50 recent answers are included