We’ve got a list of locations together with dates for each one. Via an asset listing, I can access the name of the location for each CSV data source record set but when I try to access the date, nothing is printed.
<script runat="server"> var thisLocation = '%ds__location%'; var thisDate = '%ds__date%'; print( thisLocation+" is being cleaned on "+thisDate); </script>
The location is printed in the sentence but not the date - it’s blank!
I’ve tried removing all the SSJS and just using %ds__date% too but still nothing comes out. I’ve checked the asset listing and it is listing the write assets - unpublished CSV data source record sets with a specified root node but still nothing.
The only difference I can see if that the location is a simple string but the date is formatted like … well, a date - 26/05/2021 for example.