on 03-30-2021 11:43 AM
Currently for surveys in C4C we send these out via email using the #surveyNNN# placeholder.
However we have a new requirement where we'd like to put the survey link on our website. Is there any way to generate/get the ID in the survey URL so we can construct it externally, rather than as part of a workflow?
https://myxxxxxx.crm.ondemand.com/sap/ap/public/survey?id=1A1F4FD523AA6FCB1DGE5F19CBC13E7AECE7FDD5
I see there is an odata service SurveysCollection (note extra 's' on Survey, not SurveyCollection which just contains each survey design) but I can't seem to access that - even with full admin rights.
Found another way. You can get the ID for the URL in SDK/PDI via Questionnaire.xbo > ValuationCollection.node > ValuationCollection.ID
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi sbslmhmt
I was using this in the context of a ServiceRequest in C4C Service. I'm not sure about anything on the Sales side, but the query I used was Questionnaire.ValuationCollection.QueryByElements(ServiceRequestID)
Maybe there will be some clues on other queries you could run in the Cloud App Studio Repository Explorer for your solution under Questionnaire > ValuationCollection
Hope that is helpful.
Thank you swallis, Same query works for Sales Quotes too. Id is generated after survey is generated by system but it still works for me. I appreciate your help
User | Count |
---|---|
6 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.