I need to loop through a ForAll and compose some HTML that is going to be used in an HTML control. I have the following:
UpdateContext({FinalizedRecords: "<h4><strong><u>BOOKINGS</u></strong></h4>"});
ForAll(
JBRecordsToFinalize,
Collect(
JBRecords,
"<p><strong>" & LookUp(
ConsumerRecords,
ThisRecord.ClientID = 'Client ID',
Name
) & " " & ThisRecord.ClientID & "</strong></p>"
)
);
If I want to concatenate FinalizedRecords (the header) and JBRecords, I get an error about expecting Text. Is JBRecords not text or am I missing something? Thanks for the help