Tag Info

Hot answers tagged


You can look at this post below, demonstrating how to custom sort your results using display templates. The managed property must also be sortable. http://www.eliostruyf.com/add-sorting-display-templates/


This might be caused by the way you are looping over the web parts. You are starting at item 0 and counting up, deleting things as you find them. You need to start at the highest number in the collection and count down. Sharepoint moves the web part indices up after you delete an item, effectively skipping what should be your next web part.

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