0

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.

  • 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

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

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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