Tag Info

Hot answers tagged

2

Does it look like this: using (SPSite site = new SPSite("http://serverName:1111/")) { using (SPWeb web = site.RootWeb) { SPList list=web.Lists["Doc Library"]; SPListItem listItem = list.GetItemById(1); ScheduledItem scheduledItem = null; if ...


2

If you're using SharePoint 2010 you can use List validation: Make sure your Page layouts include "Scheduling Start Date" Go to the Pages library Select List settings in the Library tab of the Ribbon Select Validation Settings Enter a formular like =[Scheduling Start Date]>TODAY() Enter an appropriate user message like "Page must be scheduled into the ...


2

Normally, if scheduling is activated on a SharePoint list, while adding a new item into the list, there are 2 options in the scheduled start date. Its either a "Scheduled Date" or "Immediately". If a new list item is created to schedule immediately, these items would have a start date that is prior to the current date and internally SharePoint keeps this ...


1

Yes you can, Since its scheduleitems i guess these items are in a list. so all you need to do is go through each listitem and check item's approval status, if its = "Scheduled" if it is then you can add it to a custom list or however you want it :) Hope it helped ;)


1

Once the item is scheduled you could see the approval Status as "Scheduled". Taken from this Post There are two ways to check for the approval status of an item as well as some interesting ways about how they worked. The first option to use if (item.HasPublishedVersion) where item is an SPListItem. The second option is to use if ...


1

If you got SQL Server Reporting Serivices instance set up, you can create reports via Business Intelligence Development Studio that query SharePoint list data. These reports can be scheduled to run on any schedule and the report contents emailed to specific users or AD groups or to email enabled documnt libraries.


1

You have to have SPJobDefinition file and the feature file to do this. public class ABCTimerJob : SPJobDefinition { public static string ABCTimerJobName = "ABC timer Job"; public ABCTimerJob () : base() { this.Title = TimerJobName ; } public ABCTimerJob(string jobName, SPService ...



Only top voted, non community-wiki answers of a minimum length are eligible