Genpact Cora Knowledge Center

Support

Use Expressions in a Form Template

Learn how to use expressions in form template markup by using the following examples.

Setting Default Values to Where Parameters

Use this option to set default values to Where parameters. In this example, the expression is always executed.

<asp:Label runat="server" ID="t1" Text="<%$ sq:{ wf.WorkflowName } %>" />

Expression Inside a Control's Bindable Template

In this example, the expression is only executed as part of the control's binding.

<asp:Label runat="server" ID="t1" Text="<%# { wf.WorkflowName } %>" />