0

I am working Community sites in SharePoint 2013.

I have a requirement where I want to fetch the discussions from the Management view and display but I am unable to do so.

I have used the following query:

   <View><Query><OrderBy><FieldRef Name='ReplyCount'
   Ascending='FALSE'/></OrderBy></Query></View>

but the required data is not being fetched. I want to fetch the data from the Replies column here but it is not being retrieved.

Please help.

1 Answer 1

0

try using Recursive scope , please check the below query

<View Scope="Recursive">
  <Query>
    <OrderBy>
      <FieldRef Name='ReplyCount'
   Ascending='FALSE'/>
    </OrderBy>
  </Query>
</View>

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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