Tag Info

Hot answers tagged

3

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

You need to enable versioning in the Pages Document library . More info on this Link


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 ...


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

You can run this as a Windows Schedule task to run once a year. load Task Scheduler from Start > All Programs > Accessories > System Tools create a new scheduled task, click Create Task from the right-hand “Actions” panel. At a minimum, you should fill out the following information: General Tab Name of the task – e.g., Intranet Backup. A description is ...


2

Use Windows Task Scheduler. I sometimes use it for console applications. You can schedule the .ps1 file to run at yearly intervals. http://windows.microsoft.com/en-ca/windows/schedule-task#1TC=windows-7


2

When the long-running incremental crawl finishes after the 11 PM deadline, the next incremental crawl (e.g. at 1 AM) will be a new incremental crawl. The long running crawl will finish its work and the new crawl will process all the changes from the content database since the long-running crawl started.


1

Yes there is a way - it would be to create your own timer job, which must be a web application scoped feature. It would contain code to insert items into whatever list you would like. You can then schedule that job to whatever timing is necessary. Some sample timer job projects can be seen here: ...


1

In Free Microsoft SharePoint 2010 and SharePoint Online templates try "Employee Training Scheduling and Materials" template!


1

It can be done with no custom server code, but with custom front end code like with javascript and jQuery. I've modified the Fab 40 template (Employee Training Scheduling and Materials) that does this and hand rolled my own much more advanced system using ootb components and custom javascript. So yes, it can be done.


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

My guess is that it's because you are trying to update the item before it is ready. Your event is ItemCheckingIn instead of ItemCheckedIn. The only place this is pulling an item is your line: scheduledItem = ScheduledItem.GetScheduledItem(properties.ListItem); But the error is probably being thrown on: scheduledItem.ListItem.Update(); I might be wrong ...


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