Skip to Content
0
Jan 14, 2020 at 08:10 AM

Survey in Cloud Application Studio

86 Views Last edit Jan 20, 2020 at 09:01 PM 2 rev

Hello

We encountered a problem when using cloud application studio. We need to get the information from the survey attached to the quote, but we just can’t find a way to it. We managed to do this for opportunity in this way:

var getOpp = Opportunity.Retrieve(this.OpportID);

foreach (var oppSurveyItem in getOpp.WorklistItem) {

var querySurveys = Questionnaire.ValuationCollection.QueryByElements; var params = querySurveys.CreateSelectionParams(); params.Add(querySurveys.ValuationCollectionUUID, "I", "EQ", oppSurveyItem.ValuationCollectionUUID); var resultSurveys = querySurveys.Execute(params);

}

but I can’t find something similar for quote. Please help me figure this out.

Regards, Anna