Home
Forums
New posts
Search forums
What's new
New posts
Latest activity
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Home
Forums
All Topics
Technology
How to change navigation node url in SharePoint Online
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="devil_inside" data-source="post: 740138"><p>We are trying to change some URLs of our hub navigation. Sometimes it is working fine but with some links we are not able to change the url. We have to delete them and create new ones. This is very frustrating. And yes I tried with a browser in incognito mode and to clear the cache and so on. The changes are just not saved.</p><p></p><p>So I tried to change the url via code. Thats not working too. Neither with classic csom nor with PnP Core.</p><p></p><p>PnP Core code:</p><p></p><p>[CODE]node.Url = url;</p><p>await node.UpdateAsync();</p><p>await context.ExecuteAsync(); //This is not needed I guess, but tried it any way.</p><p>[/CODE]</p><p></p><p>csom code looks almost the same:</p><p></p><p>[CODE]node.Url = url;</p><p>node.Update();</p><p>await context.ExecuteQueryAsync();</p><p>[/CODE]</p><p></p><p>Does anyone have a 100% working solution to change navigation nodes in SharePoint Online? This looks very buggy to me and is a big problem when working with the ootb navigation.</p></blockquote><p></p>
[QUOTE="devil_inside, post: 740138"] We are trying to change some URLs of our hub navigation. Sometimes it is working fine but with some links we are not able to change the url. We have to delete them and create new ones. This is very frustrating. And yes I tried with a browser in incognito mode and to clear the cache and so on. The changes are just not saved. So I tried to change the url via code. Thats not working too. Neither with classic csom nor with PnP Core. PnP Core code: [CODE]node.Url = url; await node.UpdateAsync(); await context.ExecuteAsync(); //This is not needed I guess, but tried it any way. [/CODE] csom code looks almost the same: [CODE]node.Url = url; node.Update(); await context.ExecuteQueryAsync(); [/CODE] Does anyone have a 100% working solution to change navigation nodes in SharePoint Online? This looks very buggy to me and is a big problem when working with the ootb navigation. [/QUOTE]
Name
Verification
Post reply
Home
Forums
All Topics
Technology
How to change navigation node url in SharePoint Online
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.
Accept
Learn more…
Top