1

This is what I have so far but I cannot figure out how to set the default value to today's date if the parameter is not passed in the query string.

<ParameterBinding Name="meetingDay" Location="QueryString(meetingDay)" DefaultValue="???"/>
2
  • Do you want to do TODAY calculations in a List/Library View ? Commented Aug 29, 2015 at 8:13
  • No. I want to show recurring events for a certain date span. Commented Aug 29, 2015 at 15:02

1 Answer 1

1

Looks like I have to use the Today CAML variable. I was able to do what I need with:

<ParameterBinding Name="Today" Location="QueryString(meetingDay);CAMLVariable" DefaultValue="CurrentDate"/>

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.