Hi - as above I am filtering a SharePoint document library and I am experiencing some variable outcomes when I toggle between using ALT in my Editing session and previewing the app (F5). Essentially I am changing some filtering code to include an extra parameter and it works fine to execute what I need in the edit session, but doesn't filter when previewing the app (F5). Here is the original code with one filter parameter (which works fine in edit and preview) :
<tr>" & "
<td colspan=""7"" class=""content"">" & "Supporting information:" & "
<ul>
" & Concat(
Filter(
'KPI attachments',
KPI_ID = 'Select a KPI'
),
"
<li><a target=""_blank"" href=""" & 'Link to item' & """>" & Description & "</a></li>" & Image & "
"
) & "
</ul>
" & "</td>
" & "</tr>
And here is my code with the extra filter parameter (only works in the ALT-edit session):-
<tr>" & "
<td colspan=""7"" class=""content"">" & "Supporting information:" & "
<ul>
" & Concat(
Filter(
'KPI attachments',
KPI_ID = 'Select a KPI',
Text(
Date,
"yyyy"
) = Text(ddDateList.Selected.Value)
),
"
<li><a target=""_blank"" href=""" & 'Link to item' & """>" & Description & "</a></li>" & Image & "
"
) & "
</ul>
" & "</td>
" & "</tr>
I assume I need to tidy up the code, any suggestions are welcome. Cheers, Thom