SoftadminSnippet.SetPathParameter

Type: Scalar function

Sets a path parameter in a path returned by SoftadminSnippet.PathPattern or SoftadminSnippet.SetPathParameter.

Example

DECLARE @Path nvarchar(MAX) = SoftadminSnippet.PathPattern('mysite', 'DepartmentOverview');
SELECT @Path = SoftadminSnippet.SetPathParameter(@Path, 'department', 'Finance');

EXEC SoftadminSnippet.Page_Redirect
	@Url = @Path;

See also

Parameters

@Path mandatory nvarchar
A path returned by SoftadminSnippet.PathPattern or SoftadminSnippet.SetPathParameter.
@ParameterName mandatory varchar
The name of the parameter, without {}.
@Value mandatory varchar
The value to use for the parameter.