SSRS 2008 R2 URL Outlook 消息的操作 Link
SSRS 2008 R2 URL Action Link for Outlook Message
我在 SSRS 2008 中有一个 go to action url 作为表达式,因此它打开 outlook 并显示一条消息:
="mailto:" & "emailaddress@here" & "?subject=" & "Project Name " &
Fields!ReferenceNo.Value & "&body=" & "Hi All," + vbcrlf +
"Please review your outstanding task/s please for " &
Fields!ReferenceNo.Value & "." & vbcrlf & "Thank you" & vbcrlf &
"http://sql01/reportserver?%Folder1%2fReport1&rs:Command=Render&Ref=" &
Fields!ReferenceNo.Value
电子邮件显示正常,但不会显示附加了正确 Fields!ReferenceNo.Value
的 url link。它似乎在没有附加
的情况下停在 Report1
如果我 运行 将 link 与邮件正文分开,手动输入引用,或排除以 mailto 开头的表达式,它会起作用。只是当我尝试附加 Fields!ReferenceNo.Value
时它不起作用。
尝试转义您的 url:
="mailto:" & "emailaddress@here" & "?subject=" & "Project Name " &
Fields!ReferenceNo.Value & "&body=" & "Hi All," + vbcrlf +
"Please review your outstanding task/s please for " &
Fields!ReferenceNo.Value & "." & vbcrlf & "Thank you" & vbcrlf &
System.Uri.EscapeDataString("http://sql01/reportserver?%Folder1%2fReport1&rs:Command=Render&Ref=") &
Fields!ReferenceNo.Value
我在 SSRS 2008 中有一个 go to action url 作为表达式,因此它打开 outlook 并显示一条消息:
="mailto:" & "emailaddress@here" & "?subject=" & "Project Name " &
Fields!ReferenceNo.Value & "&body=" & "Hi All," + vbcrlf +
"Please review your outstanding task/s please for " &
Fields!ReferenceNo.Value & "." & vbcrlf & "Thank you" & vbcrlf &
"http://sql01/reportserver?%Folder1%2fReport1&rs:Command=Render&Ref=" &
Fields!ReferenceNo.Value
电子邮件显示正常,但不会显示附加了正确 Fields!ReferenceNo.Value
的 url link。它似乎在没有附加
如果我 运行 将 link 与邮件正文分开,手动输入引用,或排除以 mailto 开头的表达式,它会起作用。只是当我尝试附加 Fields!ReferenceNo.Value
时它不起作用。
尝试转义您的 url:
="mailto:" & "emailaddress@here" & "?subject=" & "Project Name " &
Fields!ReferenceNo.Value & "&body=" & "Hi All," + vbcrlf +
"Please review your outstanding task/s please for " &
Fields!ReferenceNo.Value & "." & vbcrlf & "Thank you" & vbcrlf &
System.Uri.EscapeDataString("http://sql01/reportserver?%Folder1%2fReport1&rs:Command=Render&Ref=") &
Fields!ReferenceNo.Value