The proposed solution allows to modify Discussion List web part properties that are not available from UI.
Enable web part Export capabilities
In order to modify web part properties that are not available from UI, we need to enable Export capabilities:
- Add Discussions List on the page.
- Open the page in SharePoint Designer (SPD)
- Find the property ExportControlledProperties and set its value
to
True
in order to enable web part Export capabilities - Save the page in SPD
Change web part properties
From now the export action have to be available as shown on picture below
Assume we need to display the 4 latest discussions.
Discussion default view (Subject
) has the following properties:
<RowLimit Paged="TRUE">20</RowLimit>
In order to change these properties follow the steps below:
- Export web part file
- Find the property XmlDefinition and change
RowLimit
elementPaged
attribute toFALSE
and value to4
- Upload and add web part on page
Result
How to display Discussions using CQWP
In order to aggregate Discussions from a different site you could utilize Content Query web part (CQWP).
Steps:
- add
Content Query
web part (located underContent Roollup
category) - go to web part settings and specify the
Query
settings as shown on picture below
- and specify
Sorting
settings as shown on picture