Click or drag to resize
ScriptHelperGetScriptUrl Method
Gets the URL used to retrieve external script file. Allows to explicitly disable script minification.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 8.2.23
Syntax
C#
public static string GetScriptUrl(
	string url,
	bool minify = true
)

Parameters

url
Type: SystemString
URL to the script file
minify (Optional)
Type: SystemBoolean
True if minification should be used, otherwise false

Return Value

Type: String
URL to script file
See Also