Genpact Cora Knowledge Center

Support

How to Add Script or CSS to Apply Them in Flowtime and Debugger

When you use external files like CSS or JS, we recommend placing them in the Shared Resources folder.

For the form to recognize them from both Flowtime (runtime) and Debugger use the following elements:

<sq:linkcontrol runat="server" rel="stylesheet" href="~/Shared Resources/Styles/Standard Forms V1-3.css" type="text/css" />

Instead of:

<link rel="stylesheet" href="~/Shared Resources/Styles/Standard Forms V1-3.css" type="text/css" />

And in the same way:

<sq:ScriptControl runat="server" Type="text/javascript" Src="~/Shared Resources/js/Extra/testJS.js />