开发者

SharePoint 2010 - Connecting web parts to metadata navigation in document library

Is it possible to read from the SharePOint 2010 metadata navigation in a document library so that the selected value(s) can be passed into another web-part (in this case a CoreResultsWebPart ).

The IsNodeSelected property on the MetadataNavigationContext class is reserved for internal use, what is the recommended approach? The metadata navigation does provide a query string in the URL (a very long and complex one) but i'm not sure开发者_StackOverflow about trying to de-code this either in case it changes in the next version.

I haven't been able to locate any documentation on how to work with the metadata navigation, any recommendations or links would be greatly appreciated.

Thanks,

Toby


Those query strings aren't encoded, they are the FieldID for the MetadataField. You could pull the XML for the MetadataNavigationSettings or the Microsoft.Office.DocumentManagement.MetadataNavigation namespace to compare the ID's and find the name of the corresponding metadata field.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜