Developer forum

Forum » CMS - Standard features » RE: Filtering with Item.Render

RE: Filtering with Item.Render

Heine Virenfeldt Kristensen
Reply

I have this Item.Render: 

@RenderItemList(new { ItemType = "NewsItem", ListSourceType = "Page", ListSourcePage = @newsPages, ItemFieldsList = "Name,Date", ListTemplate = "ItemPublisher/List/newsMiniList.cshtml", ListPageSize = 5, ListOrderBy = "Date", ListOrderByDirection = "Descending" })

Is it possible to add filtering to this, or do I have to use the ItemPublisher module instead?


Replies

 
Nicolai Høeg Pedersen
Reply

Hi Heine

Welcome to the forums!

You can use filters in RenderItemList. See these examples: http://developer.dynamicweb.com/releases/older-releases/dynamicweb-8-5.aspx#15077

BR Nicolai

 

You must be logged in to post in the forum