Skip to main content
Version: 1.24

Execute Razor

Executes a razor script which is C# and optionally HTML code.

Parameter Reference

ParameterDescriptionSupports TokensDefault
Script NameA unique name that identifies what this script is about.NoNone
Local VariablesAll data from current context are already available as variables. If you need to pass additional variables, create them here.NoNone
Additional assembliesAdditional assemblies that your script needs. If the assembly is located in the bin folder, use the following syntax: ~/bin/Your.Assembly.dll.NoNone
CodeThe Razor code that can run c# and optionally output an HTML template. All global and context tokens are available as @localVAriables.NoNone
Store ResultOptionally provide a token name where to store the result generated by the script.NoNone