Quantcast
Channel: SharePoint 2013 - General Discussions and Questions forum
Viewing all articles
Browse latest Browse all 26374

SharePoint 2013 - Blog Site Archive Not filtering by date.

$
0
0

I am on SharePoint 2013 on Permise and have a newly created blog site. I had issues with the left navigation category not filtering and fixed that by finding an article on google and CAML query to add in SP Designer. 

Now we notice the left navigation Archives for Dates are not working for months, when clicking a month like September it brings to  : http://sharepointsite/Library/Blog/Lists/Posts/Date.aspx?StartDateTime=2019%2D09%2D01T03%3A00%3A00Z&EndDateTime=2019%2D09%2D12T16%3A41%3A01Z&LMY=September%202019

I found a few articles online regarding this but only one had a CAML query, 

<Where><And><And><Geq><FieldRef Name="PublishedDate"/><Value Type="DateTime" IncludeTimeValue="TRUE" StorageTZ="TRUE"><GetVar Scope="Request" Name="StartDateTime"/></Value></Geq><Lt><FieldRef Name="PublishedDate"/><Value Type="DateTime" IncludeTimeValue="TRUE" StorageTZ="TRUE"><GetVar Scope="Request" Name="EndDateTime"/></Value></Lt></And><Eq><FieldRef Name="_ModerationStatus"/><Value Type="ModStat">0</Value></Eq></And></Where>

so I added this after the </OrderBy> and before the </Query> like I did with the category one and like the post specify and I am still experiencing the issue. 

Any help would be appreciated

cheers 


Viewing all articles
Browse latest Browse all 26374

Trending Articles