Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I'm able to create subtitles in my sites. I create title under others, this create subtitles. I use New-Object Microsoft.SharePoint.Navigation.SPNavigationNode which create titles, but what the object if I want to create a "link node" instead of a title ? Which is possible in graphical mode.

Is there something like New-Object Microsoft.SharePoint.Navigation.SPLinkNode ?

Hope I'm pretty clear =)

Nico.

share|improve this question
    
A SPNavigationNode is a "link" node. SPNavigationNode.Url specifies where it goes –  Per Jakobsen Aug 29 '13 at 8:46
    
@Per Jakobsen : I agree. But when you put permissions to a library, if a NavigationNode point at it, everybody can see the Node. If it's a "link", only people who have permissions see it. In graphical mode there is a difference... I'm sure in PS there is one too. –  Nico Aug 29 '13 at 11:51

1 Answer 1

The Security Trimming of SPNavigatinNode is controlled by th IsExternal property:

If this is false then the Url is only shown if the user has access to the list.

IsExternal is specified as the third parameter to the contructor

share|improve this answer
    
Thanks for your answer, gonna test it tomorrow :) Looks great ! –  Nico Aug 29 '13 at 13:47

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.