SharePoint Learning Kit Macros for Assignment List Web Part
The queries in the Assignment List Web Part support macros in the conditions, e.g. here is the Due This Week Instructor query
The list of macros is:
Array of site IDs.
The ID of the sites that the ALWP is limited to depending on its properties: Will be the current site, null (for all) or an array of IDs.
The key of the current user in the SlkUser table. Not generally needed as the views are normally limited to current user.
The current date and time
Midnight of today
Midnight of tomorrow
Midnight of the start of the week as defined by the current user’s culture.
Similar to StartOfThisWeek, but the subsequent week.
Similar to StartOfNextWeek, but the subsequent week.
As of version 1.8, you can now add a day modifier to the DateTime macros, to give you more flexibility over the date ranges. The format is:
Where macroName is the name of the macro above, and dayModifier is an integer value of days to add to the normal value. This can be negative to take away days. So if you wanted a query for assignemnts due tomorrow, you could have