Does anyone know why the following doesn't work right? I know for sure that "HasNotes" returns true for some records, but the following code never meets the "true" condition. Thanks!
template: "#=HasNotes#" == "true" ? "<a href=\"javascript:void(0)\" onclick=\"openNotes(#=CustomerKey#, #=ReservationKey#)\">View Notes</a>" : "N/A"
template: "#=HasNotes#" == "true" ? "<a href=\"javascript:void(0)\" onclick=\"openNotes(#=CustomerKey#, #=ReservationKey#)\">View Notes</a>" : "N/A"
The clarification about using #if ... #} inside the template string instead of comparing values outside the string cleared up a lot of confusion for me.
