Announcements
Sort(
Filter(
TicketData,
'Ticket ID'.'Ticket Number' = gvCurrentTicket.'Ticket Number' && 'Visible To Customer' <> 'Question Visibility'.'Not Visible'
),
'Question Order Number',
SortOrder.Ascending
)
ForAll(
RenameColumns(
galTicketRequiredDetailsTDS.AllItems,
lblDataTypeTDS,
DataTypeTable,
txtUserResponseTDS,
AnswerText,
drpChoiceQuestionTDS,
AnswerDropDownTable,
lblQuestionTDS,
QuestionTable,
dteDateQuestionTDS,
AnswerDatePickerTable,
chkCheckQuestionTDS,
AnswerCheckBoxTable,
cmbMultiChoiceQuestionTDS,
AnswerMultiChoiceTable,
lblGUID,
GUID
),
Switch(DataTypeTable.Text,
"Multi Line Text",
Patch(
[@TicketData],
ThisRecord,
{'Customer Response': AnswerText.Text}
),
"Single Line Text",
Patch(
[@TicketData],
ThisRecord,
{'Customer Response': AnswerText.Text}
),
"Choice",
Patch(
[@TicketData],
ThisRecord,
{'Customer Response': AnswerDropDownTable.SelectedText.Value}
),
"Date/Time",
Patch(
[@TicketData],
ThisRecord,
{'Customer Date/Time Responses': AnswerDatePickerTable.SelectedDate}
),
"Attachment",
Patch(
[@TicketData],
ThisRecord,
{'Customer Response': If(AnswerCheckBoxTable.Value = true, "Yes", "No")}
),
"Multichoice",
Patch(
[@TicketData],
ThisRecord,
{'Customer Response': Concat(AnswerMultiChoiceTable.SelectedItems.Result, ThisRecord.Result, ",")}
)
)
);
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.