Hello! Is is possible to format multi-line text element to appear as a table? I want inspectors to see a list of inspections that are in a related table. Right now the result is too messy looking. If it could be a fixed width or html table that would be better. Thanks!
var pAPNO = $feature.txtAPNO
var FSetInspectionData = FeatureSetByName($map, "Inspection_DataSearch_Internet",['*'])
Console(Count(FSetInspectionData))
var FilterFSetInspectionData = Filter(FSetInspectionData, 'APNO = @pAPNO')
Console(Count(FilterFSetInspectionData))
var filterOrderedFSetInspectionData = OrderBy(filterFSetInspectionData,'scheddttm dsc')
var popupStringInsp = ''
for (var insp in filterOrderedFSetInspectionData){
popupStringInsp +=insp.apno +" "+
insp.DESCRIPT +" "+
insp.STATUS +" "+
Text(insp.SCHEDDTTM, 'MMM DD YYYY') +" "+
insp.onemaparea +" "+
insp.confirmno
+TextFormatting.NewLine
}
return popupStringInsp