Have you ever thought to yourself “I need an anchor tag in my SharePoint navigation and that must be easy”. You blissfully open your SharePoint page, create your anchor tag link, then without a thought go into site settings, go into navigation, set the link. Then you click your link, and much to your dismay, SharePoint stripped it! What gives?
There are multiple ways for you to achieve anchor tag nirvana in SharePoint, but they all aren’t ideal. I’m going to show you a little trick I stumbled across that is SUPER simple and it works with no code! Did I mention this works in Office 365?
First thing you do is you will create your normal anchor tags on a wiki page by either editing the code and adding <a name="anchor1"></a>, or insert a hyperlink then edit it to access the bookmark option in the ribbon. Now we go into the navigation settings, and create a navigation link like:
<a name="anchor1"></a>, or insert a hyperlink then edit it to access the bookmark option in the ribbon. Now we go into the navigation settings, and create a navigation link like:
When you check the link, it won’t work and you will notice that the anchor tag is removed.
Here are a few ways I’ve seen to fix this issue and create functioning anchor tags:
These are fine I guess, but I hate code and I don’t like to clutter the taxonomy store unnecessarily.
When you link to your page and anchor, just add the question mark in front of the anchor tag like:
That’s it! I love when there’s actually an easy button!
The complementary paper includes over 12 years of research, recent survey results, and CRM turnaround success stories.
This 60-second assessment is designed to evaluate your organization's collaboration readiness.
Learn how you rank compared to organizations typically in years 1 to 5 of implementation - and which areas to focus on to improve.
This is a sandbox solution which can be activated per site collection to allow you to easily collect feedback from users into a custom Feedback list.
Whether you are upgrading to SharePoint Online, 2010, 2013 or the latest 2016, this checklist contains everything you need to know for a successful transition.