New answers tagged

0

Perhaps you can explore the use of the code: datasource parameter where you write you own class library to resolve the item. That may allow you to do the comparison of version numbers. Pipeline to consider: <getRenderingDatasource> </getRenderingDatasource>


1

There are a few things you need to fix in your code: You are not using constructor injection in a proper way as you are manually creating your repository in GetModel() method. It should look like this: public class NotificationController : VariantsController { private NotificationRepo _repository { get; set; } public NotificationController(...


0

@Gatogordo is correct that the field name is different than the one you were testing. Here is an example of __Updated working: Scriban variant Field variant Page output


0

The name of the updated fields is actually __Updated and not just Updated. Did you try that as field name in the variant?


Top 50 recent answers are included