SoftadminSnippet.SetPathParameter

 Show all Hide all

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

Type: Scalar function
Area of use: API

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.