Developer forum

Forum » CMS - Standard features » Custom selector in filter in ItemPublisher

Custom selector in filter in ItemPublisher

Kurt Moskjær Andersen
Kurt Moskjær Andersen
Reply

Hi,

When using the ItemPublisher-app on a paragraph, is it possible to use custom selectors in the filters-section?

I would like to have a filter like "ActiveTo less than {{NOW}}" instead of having to select a specific date from the popup-calendar, or do I need to use the RenderItemPublisher in the template instead?

--
Best regards
Kurt Moskjaer Andersen


Replies

 
Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply
This post has been marked as an answer

Can you use @Code? Like @Code(System.DateTime.Now)? If so, here are some examples you can use: http://doc.dynamicweb.com/documentation-9/integration/data-integration-module/data-integration-module#5520 (scroll down to Context-sensitive values)

Imar

 
Votes for this answer: 1
 
Kurt Moskjær Andersen
Kurt Moskjær Andersen
Reply

Perfect, just what I was looking for.
Thanks :)

/Kurt

 

You must be logged in to post in the forum