DECLARE @LinkGuid uniqueidentifier; EXEC SoftadminSnippet.DeclareLink @Action = N'Book', @LinkGuidOut = @LinkGuid OUTPUT; SELECT SoftadminSnippet.PostbackButton(@LinkGuid, N'Book room', N'17', NULL) AS Html;