Extending communities QnA to filter by answered questions

sagarkmr09

18-09-2019

Hi,

We have a requirement to filter the list of questions asked by answered/unanswered.

Please let me know if there is a easy way to achieve this change.

Thanks,

Sagar

Accepted Solutions (1)

Accepted Solutions (1)

Answers (4)

Answers (4)

cal-netsolution

19-09-2019

Hi Sagar.

For the answered/unanswered you can add the property to the question node dynamically based on your logic. Using Query builder api you can get the list of questions with condition answered/unanswered.

Best,

Cal

sagarkmr09

19-09-2019

Hi Jaideep,

Thanks for the suggestions. We are using ASRP here. Is it something that can be achieved by the SRP api or is there any example on how to extend QnA component?

Thanks

jbrar

Employee

19-09-2019

As far as I can check, this functionality can not be achieved OOTB. That said, You can compare the answered/unanswered question's nodes in Crxde to find the difference in properties and based on those properties create a filter.