In a Sitecore Form for example if I have list of questions with list of radio button answers. Does Sitecore have an API to return the statistics of how many users choose this answer?

I'm using Sitecore 9.3


1 Answer 1


Sitecore doesn't have an API to return statistics of how many users choose this answers,

but it has a function to get all results from a form :

 IEnumerable<FormEntry> formEntries = this._formDataProvider.GetEntries(formId, startDate, endDate).AsEnumerable<FormEntry>();

You need to build your own controller and to inject formDataProvider on it.

Please have a look on class : Sitecore.ExperienceForms.Client.Data.CsvExportProvider

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.