Tagged Questions
2
votes
1answer
187 views
Why is default ScheduledItem StartDate a 'weird' value?
If you create a new ScheduledItem object and look at the StartDate - it's 1/1/1990 - why? This has just caught me out when trying to evaluate whether the dates have been set or whether they're, what I ...
0
votes
1answer
482 views
The URL is invalid. It may refer to a nonexistent file
public override void ItemCheckingIn(SPItemEventProperties properties)
{
base.ItemCheckingIn(properties);
#region Automatic Scheduling
ScheduledItem scheduledItem = null;
...
1
vote
1answer
242 views
Automatically schedule a page on publish
When the user publishes a page, I need to automatically schedule it with a start date being as soon as possible, and the end date being a year from the start date. I've tried the event receiver ...