Developer forum

Forum » Templates » Razor: Website items

Razor: Website items

Regin Madsen
Reply

Hi,

Im trying to get a hold on website item fields in modules razor templates - e.g. the producttemplate.

But I cant get a grap of what name to use - any help?

The tagname in standard templates is Item.Area.limit - and this works.

I have tried with @GetValue("Item.Area.limit") and @GetValue("Item:Area.limit"), but with no success.

Im using 8.3.1.9

Thanks in advance

/Regin Madsen


Replies

 
Remi Muller
Reply
This post has been marked as an answer

use:

@Pageview.Area.Item["limit"]

Votes for this answer: 1

 

You must be logged in to post in the forum