New answers tagged

1

Turns out that web application has a setting that can be controlled through Powershell $web = Get-SPWebApplication "http://mywebapp..." $web.FormDigestSettings.TimeOut This is by default 30 minutes and SharePoint Viewstate cache is cleared after FormDigestSettings.TimeOut +1 (i.e. 31 minutes) $web.FormDigestSettings.TimeOut = New-TimeSpan -Hours 1 -...


0

i use this JS code to get the values of the custom properties i created. var propVal = decodeURIComponent(getQueryStringParameter("MyPropName")); //when getquerystringparameter is undefined you can also copy paste this function getQueryStringParameter(paramToRetrieve) { var params = document.URL.split("?")[1].split("&"); ...


1

I simply added a sort by KeywordQuery kq = new KeywordQuery(site); kq.SortList.Add("ViewsLifeTime", SortDirection.Descending)



Top 50 recent answers are included