RenderRazorTemplate<TModel>
What to use it for | Prerequisites for usage | Essential options to set |
---|---|---|
Rendering razor templates. |
|
<T>
Activities with a <T> will ask you to indicate what the data type is of the data that will be affected. Depending on the data type, you will get a different Template (<T>) with configuration options.
Options for SmartBridge 3
Option | What is it | How to use it |
---|---|---|
Model | An object that contains the input for the template. | Enter the variable name of your model. |
Model type | The type of the model. | Select the type of the model from the dropdown list. |
File Template | A path to a razor template file. | Enter a path to the razor template file, that includes file name and file extension. You can enter the following:
Recommended: Enter an absolute path. |
String Template | A razor template as a string or a variable that stores a razor template. | Enter a variable name of your string template or a string literal containing your template. |
Result | The resulting (rendered) template as a string. | Enter a variable of type string to assign the result to. |
DisplayName | Name of the Activity. |
, multiple selections available, Use left or right arrow keys to navigate selected items