Umbraco var_dump/print_r
<umbraco:Macro runat="server" language="cshtml">
@{
var node = new umbraco.NodeFactory.Node(Model.Id);
var serializer = new System.Web.Script.Serialization.JavaScriptSerializer();
}
<script>
window.varDump = @Html.Raw(serializer.Serialize(node.Properties))
</script>
</umbraco:Macro>
Written by Tommi Carleman
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Umbraco
Authors
Related Tags
#umbraco
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#