Tagged Questions
5
votes
1answer
144 views
How can I tell if a document is 'being published'?
I need to use the relevant event receiver to tell if a document is being published, is this possible? I will settle for has 'just been published' - i.e. I have no preference between itemupdating and ...
0
votes
1answer
95 views
How can I get custom CSS to load into a publishing subsite?
I have a SharePoint 2010 farm that will have thousands of site collections in it. Each site collection will be a personal externally facing publishing site collection for individual employees. Each ...
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
243 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 ...
0
votes
1answer
461 views
Best way to check if SPListItem have been publish, on an ItemUpdate EventReceiver
I have an EventReceiver associated to DocLib template id, triggered at every ItemUpdate.
Everytime an SPListItem is publish I want to execute my code.
(Required check out and Content approval are ...