x First time here? Check out the FAQ
Peter Gregory started this project on Monday, October 03, 2011 it's current version is 1.3 .

Package Info

Project Owner/Creator

Avatar

Peter Gregory

242posts 609karma

Project Compatibility

This project has been reported to be compatible with 4.7.1.1, 4.7.1, and 1 other versions.

View Details Report Compatibility

Project Information

Project owner:
Peter Gregory
Created:
Monday, October 03, 2011
Is Stable:
Project is stable
Current version
1.3
License
MIT
Tags
developer  razor  cheatsheet  help  cheat sheet  reference 
Downloads:
1452

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()

 

Screenshots

Package Files

Resources

Archived Files

Package discussions

Issues & Suggestions
11 topics, 20 posts
Find anything wrong? Or is something missing from the cheat sheet? Report or discuss it here.
3 weeks ago by Doug Robertson