Hi,
I have an app where there is a Gallery of CDS Data Source "Questions". Each record of Questions is have different "Answers" record.
I have used combo box to show all the records Answers record related to the particular Question.
When the user selects the Answers and clicks on Next button, I am collecting the Question and the Answer in a Collection.
But when the user selects the Back Button, it should show Previous Questions with selected Answers.
This is the Collection for Collecting the Question and Answer Records:
ForAll(
SelectedQuestions,
Collect(
saveQuestions,
{
Name: SelectedQuestions[@Name],
GroupId: SelectedQuestions[@Group],
QuestionId: SelectedQuestions[@Question],
answerRecord: SelectedQuestions[@selectedAnswer]
}
);
);
On Selecting the Back Button the Combo Box should show the Selected answers but I am struggling to get the selected Answer
Any help is appreciated.

Report
All responses (
Answers (