Extending communities QnA to filter by answered questions

Avatar

Avatar

sagarkmr09

Avatar

sagarkmr09

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)

Avatar

Avatar

jbrar

Employee

Avatar

jbrar

Employee

jbrar
Employee

19-09-2019

Please log a daycare ticket and we can check if there is any other way of achieving this using ASRP.

Answers (4)

Answers (4)

Avatar

Avatar

cal-netsolution

Avatar

cal-netsolution

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

Avatar

Avatar

sagarkmr09

Avatar

sagarkmr09

sagarkmr09

19-09-2019

Sure Jaideep. Will log in a ticket. Thanks

Avatar

Avatar

sagarkmr09

Avatar

sagarkmr09

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

Avatar

Avatar

jbrar

Employee

Avatar

jbrar

Employee

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.