Tag Info

New answers tagged

0

In order to search on date values from SharePoint fields you must set up a managed property that maps the crawled property of your SharePoint field, then do a full crawl. After that type in the managed property name : value. For example datefield:12/31/2009. Check this Manage metadata properties for search (Search Server 2010)


0

Make sure you're not overriding the regional settings in user regional preferences. Steps here.


0

If you are using SharePoint's OOB Date time control, I am assuming below would be the mark up. <SharePointWebControls:DateTimeControl ID = "StartDate" runat = "server"></SharePointWebControls:DateTimeControl> So now in order to validate this field we can use jQuery. 1. Understand how this SharePoint control is rendered in browser. It will be ...


0

Date.prototype.addDays = function(days) { var date = new Date(this.valueOf()) date.setDate(date.getDate() + days); return date; } function getBusinessDates(startDate, endDate) { var dates = new Array(); var curDate = startDate; while (curDate <= endDate) { var dayOfWeek = curDate.getDay(); var isWeekend = ...


1

No matter what some blogs tell you can not use TODAY in a Calculated Column. See the Use javascript/jquery to see if items in list are due soon in Sharepoint 2013 topic for some alternatives, like CSR/JSlink, XSLT or stuffing Javascript in a Calculated Column



Top 50 recent answers are included