web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Unanswered

How to get survey responses in CDS

(3) ShareShare
ReportReport
Posted on by

Today, we rolled out new field in "Customer Voice survey responses" entity (msfp_surveyresponse) that stores the individual question responses in your survey.

pastedimage1604074180835v1.png

 

 

The survey question response continues to be stored to "Customer Voice survey question responses" and the new field provides an alternate way to get to the information. With this new change, for example, you can directly get the response to the survey questions from survey response as follows:

pastedimage1604074180843v2.png

 

The details of the survey response is stored in JSON format with an example schema as follows:

 

{

    "type""array",

    "items": {

        "type""object",

        "properties": {

            "questionId": {

                "type""string"

            },

            "response": {

                "type""string"

            }

        },

        "required": [

            "questionId",

            "response"

        ]

    }

}

 

The changes is part of the CDS solution update version 2.0.0.8

 

Hope this will make it easier for you to create report and follow up workflow for Customer Voice survey responses

I have the same question (0)
  • Megan V. Walker Profile Picture
    1,841 Most Valuable Professional on at

    Looks like a new blog post needs to be written.... on it

  • Welly Lee Profile Picture
    on at

    Looking forward to reading the latest blog post on https://meganvwalker.com/

  • Mattw112b Profile Picture
    387 on at

    Thanks Welly.  I just did this and the questions come as long IDs.  What is best way to pull down the plain text?  For example:

    [

     {

       "questionId": "rf60d791170744cfd95c856f01c0688df",

       "response": "1"

     },

     {

  • Welly Lee Profile Picture
    on at

    You will need to join with msfp_question (msfp_questionid)

  • Megan V. Walker Profile Picture
    1,841 Most Valuable Professional on at
  • jamiehandelman Profile Picture
    5 on at

    Hello - Thanks for this! I am having issues with the trigger - I am doing it on create on the Customer Voice Survey Responses just as you are. It's not recognizing when I am submitting a survey. I added a trigger condition as follows @equals(triggerBody()?['_msfp_surveyid_value'], 'SURVEY ID') and I don't have any filter queries. I cannot get it to work and I am wondering if you have any ideas! Thanks.

  • Welly Lee Profile Picture
    on at

    jamiehandelman -- you can use the following trigger

    @equals(triggerBody()?['msfp_sourcesurveyidentifier'], '<Form ID>')

    and get the form ID from the survey URL below

    pastedimage1620141686054v1.png

  • Home Depot Profile Picture
    2 on at
    You will need to join with msfp_question (msfp_questionid). After the minor changes, we can get more responses through this survey, check out Home Depot Survey

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 72 Super User 2025 Season 2

#2
Daniyal Khaleel Profile Picture

Daniyal Khaleel 32 Most Valuable Professional

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 29 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans