TransWikia.com

Updated field in rendering variant not working

Sitecore Asked by Barada behura on August 23, 2021

The requirement was to show the last updated date and time of the item in the page. So I tried to create a rendering variant of page content with field as Updated (which is there for every item provided by the standard template).

However I am not able to see the date and time when selecting the rendering variant. While accessing the variant nothing is coming up as if such field does not exist.

2 Answers

@Gatogordo is correct that the field name is different than the one you were testing.

Here is an example of __Updated working:

Scriban variant

Scriban

Field variant

Field

Page output

Output

Answered by Michael West on August 23, 2021

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

Answered by Gatogordo on August 23, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP