【问题标题】:SharePoint Discussion Board View to show one discussion threadSharePoint 讨论板视图以显示一个讨论线程
【发布时间】:2012-01-17 11:23:24
【问题描述】:

我需要展示一个位于讨论板中的特定主题。我目前正在尝试使用 SPViews。

以下是我的代码

        SPView threadedView = discussionBoard.Views["Threaded"];
    threadedView.Title = "Comments WebPart";

    //threadedView.Query = query.ToString();
    threadedView.RenderAsHtml();

然而,这种观点给了我讨论板中的所有讨论线程,而不是一个需要的线程。还尝试为视图设置查询但没用。任何人都可以帮忙吗?

【问题讨论】:

    标签: sharepoint sharepoint-2010 sharepoint-discussion-board


    【解决方案1】:
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2014-12-20
    相关资源
    最近更新 更多