Quantcast
Channel: DevNet Questions
Viewing all articles
Browse latest Browse all 8901

How to use DocumentModifiedWhen in a Hierarchical Transformation

$
0
0
Hello Kentico Team,I am attempting to build a report of sorts that will include the last time a page was modified.I am building this using a Hierarchical Transformation so that the report will match the tree structure.My transformation included the following attempt to pull in the DateModifiedWhen information: @%# FormatDateTime(DocumentModifiedWhen, @MM/dd/yyyy@) %@However this returned the following error: kentico error CS0103: The name 'DocumentModifiedWhen' does not exist in the current contextHow do I modify my request to meet kentico's context expectations? I tried using TreeNode.DocumentModifiedWhen instead, but that just resulted in a slightly different error.Is there something I need to include to dictate which level of hierarchy I am on, or a different namespace I need to call?Thanks in advance.-mike

Viewing all articles
Browse latest Browse all 8901

Trending Articles