The Insert Value dialog (template editor) is not outputting the correct markup for built in properties
See original GitHub issueUpdated Report
The issue here is that the Query builder is not outputting the correct values for ‘built in’ properties like ‘pageName’ (which is just Model.Name) see https://github.com/umbraco/Umbraco-CMS/issues/5437#issuecomment-490871090
Same issue goes for other built in values like created date, etc…
Original Report
Rendering standard fields using Umbraco Helper does not work.
Steps to reproduce:
- Install fresh V8 (latest - 8.0.2) and install a starter kit
- Go to any template and insert
@Model.Value("pageName")
for example - You will see that nothing gets returned.
And this issue is with all standard field (pageName, CreateDate, level etc)
Custom fields are rendered just fine, for example @Model.Value("companyName")
Expected result
If you are rendering @Model.Value("pageName")
then you’d expect that Umbraco will return the name of the specific page.
Issue Analytics
- State:
- Created 4 years ago
- Comments:11 (8 by maintainers)
Top Results From Across the Web
the insert value dialog template editor is not outputting ...
The Insert Value dialog (template editor) is not outputting the correct markup for built in properties. Using Umbraco And Getting Started. Umbraco 8....
Read more >The Dialog element - HTML: HyperText Markup Language
The HTML element represents a dialog box or other interactive component, such as a dismissible alert, inspector, or subwindow.
Read more >Building a dialog component - web.dev
A foundational overview of how to build color-adaptive, responsive, and accessible mini and mega modals with the element.
Read more >The Content Template element - HTML - MDN Web Docs
The HTML element is a mechanism for holding HTML that is not to be rendered ... property (without an equivalent content/markup attribute).
Read more >Retrieving and displaying data with model binding ...
This series of tutorials demonstrates basic aspects of using model binding with an ASP.NET Web Forms project. Model binding makes data ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
ok, that’s the bug then, i’ll update the title
Hiya @dzordzs,
Just wanted to let you know that we noticed that this issue got a bit stale and might not be relevant any more.
We will close this issue for now but we’re happy to open it up again if you think it’s still relevant (for example: it’s a feature request that’s not yet implemented, or it’s a bug that’s not yet been fixed).
To open it this issue up again, you can write
@umbrabot still relevant
in a new comment as the first line. It would be super helpful for us if on the next line you could let us know why you think it’s still relevant.For example:
This will reopen the issue in the next few hours.
Thanks, from your friendly Umbraco GitHub bot 🤖 🙂