Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds


  Asked By: Melissa    Date: Jan 27    Category: Sharepoint    Views: 1249

We are using PortalSiteMapProvider to build our custom navigation. We need to acess some custom properites of the pages? Can we access custom properties using Portal Site Map Provider nodes instead of Publishing web objects?



1 Answer Found

Answer #1    Answered By: Chandrabhan Konwar     Answered On: Jan 27

Finally i figured it out. We can access custom  properties

oListItemNode = CType(oNode, PortalListItemSiteMapNode)
sMyCustomProperty= oListItemNode("MyCustomProperty").ToString()

oNode is the node,it is an object of type PortalSiteMapNode

Didn't find what you were looking for? Find more on PortalSiteMapProvider Or get search suggestion and latest updates.