42 votes

Razor DynamicNode Cheat Sheet

With the release of the updated Razor and DynamicNode features in 4.7.1 I thought it was high time that we had a cheat sheet to refer to when working with Razor.

The A4 PDF cheatsheet covers the following aspects

  • DynamicNode 
  • DynamicMedia 
  • Dictionary
  • Properties
  • DOT Notation 
  • Collections 
  • Filtering & Ordering 
  • Traversing 
  • Property Checking 
  • IsHelpers 
  • Macro Parameters 
  • Types 
  • Permissions 
  • Basic Razor language features 
  • @Library helper
Change Log:
Version 1.3
  • Spelling mistakes fixed on Descendant
  • Added @Dictionary["alias"]
  • Added DescendantOrSelf()
  • Added AncestorOrSelf()

Version 1.2
  • Fixed issue with @Library.MediaById(int)
  • Fixed spelling on .IsPosition() & .Position()



 Download package
version 1.3

Project owner

Peter Gregory

Peter Gregory

Peter has 1437 karma points

Project Compatibility

This project is compatible with the following versions as reported by community members who have downloaded this package:
Untested or doesn't work on Umbraco Cloud
7.5.x (untested)
7.4.x (untested)
7.3.x (untested)
7.2.x (untested)
7.1.x (untested)
7.0.x (untested)
6.1.x (untested)
6.0.x (untested)

You must login before you can report on package compatibility.

Project Information

  • Project owner: Peter Gregory
  • Created: 03/10/2011
  • Current version 1.3
  • License MIT
  • Downloads: 33705
Our.umbraco.org is the community mothership for Umbraco, the open source asp.net cms. With a friendly forum for all your questions, a comprehensive documentation and a ton of packages from the community. This site is running Umbraco version 7.5.6