Tagged Questions
0
votes
1answer
27 views
Possible to get a list of scheduleditems?
Is it possible to get a list of ScheduledItems from SharePoint in C# (event receiver)?
For example, I've created a ScheduledItem and called the .Schedule() method. I'd expect this ScheduledItem to ...
0
votes
1answer
497 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
100 views
Is it possible to check if a page is scheduled for publishing?
I can create a ScheduledItem in an event receiver, but how do I check if a list item is scheduled?
What I've tried:
IsScheduledItem method (ScheduledItem class) - but this method: "...confirms that ...
1
vote
1answer
245 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 ...