Developer forum

Forum » Templates » Values from page item settings

Values from page item settings

Anders Ebdrup
Reply

Hello,

 

How do I get values from my page item settings? I have tried with:

Pageview.Page.Item and Pageview.Item

 

But "Item" also seems to be null. I am using v.8.4.1.3

 

Best regards, Anders


Replies

 
Thomas Schroll
Reply
This post has been marked as an answer

Hi Anders

Take a look at this post: http://developer.dynamicweb.com/forum/cms-standard-features/page-items.aspx

Regards Thomas

Votes for this answer: 1
 
Anders Ebdrup
Reply

Thank you very much for at quick reply! :-)

 

I will just post the solution in here as well:

@if (Pageview.Page.PropertyItem != null) { 
  @Pageview.Page.PropertyItem["FormSubmitLabel"] 
}
 

 

You must be logged in to post in the forum