We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now

x

Hide navigation in SharePoint Foundation 2010

Medium Priority
1,243 Views
Last Modified: 2012-05-11
I am trying to hide certain navigation options on the navigation bar according to which SharePoint group a user is in. From what I can tell, this is an option that you need the publishing feature for which is only available in the paid version. Anyone know if this can be done in Foundations (free version)?
Comment
Watch Question

Justin SmithSr. System Engineer
Top Expert 2012

Commented:
Are you trying to hide sub sites, or lists?  

If it's something that isn't security trimmed by default (like the items above) there isn't really a way to do it out of the box with Foundation.

Author

Commented:
I want to hide sub sites from the drop down menus and even remove options from the navigation bar.

ex:

site1 site2 site3 site4

If the above is the navigation bar and you only have rites for site1, i want 2, 3 and 4 to be hidden. Easy enough to do with the full version, but i don't have a clue if it can be done in Foundations.

Author

Commented:
rights not rites
Justin SmithSr. System Engineer
Top Expert 2012

Commented:
This should happen by default, it's out of the box functionality.  UNLESS, you have manually created the navigation links.  In that case, security trimming won't happen.

Author

Commented:
I had to add a new data source to the navigation in the master page because drop down menus are not available in the free version of SharePoint (Foundation 2010). They were available in WSS but are now part of the publishing feature. I am not sure where to find security trimming in Foundations. It's probably staring me in the face, but, I am no SharePoint guru, lol.
Justin SmithSr. System Engineer
Top Expert 2012

Commented:
If you've manually added them, then SharePoint sees them as "external" sites, so no security trimming will be done.  This is by design.

If you are or know of a seasoned developer, he can probably recreate the navigation items in PowerShell and set the "isExternal" property to "No".  There is no way to do this in the GUI in SharePoint Foundation.

Author

Commented:
I had a feeling I would have to code my way out of my current situation, but was hoping for an easier solution. Where would the trimming feature for hiding navigation elements be located if I was using an unmodified menu?
Justin SmithSr. System Engineer
Top Expert 2012

Commented:
There isn't a featuer.  It works out of the box.  No config necessary.

Author

Commented:
So when I create the page it get the option to hide groups? Is that correct?
Sr. System Engineer
Top Expert 2012
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION

Author

Commented:
Sharepoint is creating the links. I went in through sharepoint designer and added a new datasource (sharePoint data source). Once I did that I was able to create sub menus as they are not available without doing so (unless I completely missed something). This seems to be the only way to have drop down menus in Foundation (WSS had it out of the box). Sharepoint is still creating the menus internally. Once I added the sharepoint data source, any new pages appear in the navigation upon creation.

As for what you are saying. I might be trying to fix something that is not broken.

I see what you are saying and appreciate all of your help.
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.