Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi,
I am working in Umbraco 7.2.4 website.
I have created a document type , and inside that a propery called "content".
Then created a template and also content page for that.
So when I try to get that property in template using @Umbraco.Field("content") , it gives me below error.
@Umbraco.Field("content")
Can anyone have idea about the same?
Thanks in advance.
Regards,
Urvish Mandaliya
Can you post the full code for the template? Are you just trying to access it via the URL, or are you doing something else?
Hi Tim,
Thanks for the reply.
Below is my template.
@inherits Umbraco.Web.Mvc.UmbracoTemplatePage <html lang="en"> <head> </head> <body> <section class="page"> @Umbraco.Field("content") </section> </body> </html>
Yes I am trying to access this page via URL.
And I have set a route for this URL that it will go to the Action and then redirect to the View.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Umbraco.Field not working in Umbraco 7.2.4
Hi,
I am working in Umbraco 7.2.4 website.
I have created a document type , and inside that a propery called "content".
Then created a template and also content page for that.
So when I try to get that property in template using
@Umbraco.Field("content")
, it gives me below error.Can anyone have idea about the same?
Thanks in advance.
Regards,
Urvish Mandaliya
Can you post the full code for the template? Are you just trying to access it via the URL, or are you doing something else?
Hi Tim,
Thanks for the reply.
Below is my template.
Yes I am trying to access this page via URL.
And I have set a route for this URL that it will go to the Action and then redirect to the View.
Regards,
Urvish Mandaliya
is working on a reply...