Use today's date as the default value for a Query String paramater?
-
05-10-2020 - |
Question
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="???"/>
La solution
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"/>
Licencié sous: CC-BY-SA avec attribution
Non affilié à sharepoint.stackexchange