2

I am new to sharepoint development. I have created a subsite and called it Surveys. This will contain all the surveys created in the portal. Now, I want to display the latest survey on the homepage. I though I would be able to do that using a content query web part, sort the CQWP descendently on survey creation date and restrict the number of displayed items to one.

Unfortunately, this doesnt work at all! Is my solution achievable? It seems to me that the Survey content types isn't a normal one as I can't see it in the content types gallery. How could my requirement be fulfilled (without code)?

Thanks for any help

Yousof H
  • 21
  • 1
  • 3

1 Answers1

1

OOTB Survey List does not contain any Content Types and it has the following structure:

  • Response entry is represented by List Item

  • Response entry consist of questions and answers, where Question correspond to Field and Answer to Item value respectively.


For querying Survey List via CQWP the following properties could be used

Example

To retrieve all the responses from Survey lists, specify List Type property as shown on picture

enter image description here

Vadim Gremyachev
  • 57,952
  • 20
  • 129
  • 193