Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/url/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Outlook邮件的SSRS 2008 R2 URL操作链接_Url_Reporting Services_Action_Ssrs 2008 R2_Mailto - Fatal编程技术网

Outlook邮件的SSRS 2008 R2 URL操作链接

Outlook邮件的SSRS 2008 R2 URL操作链接,url,reporting-services,action,ssrs-2008-r2,mailto,Url,Reporting Services,Action,Ssrs 2008 R2,Mailto,我在SSRS 2008中有一个go to action url作为表达式,因此它会打开outlook并显示一条消息: ="mailto:" & "emailaddress@here" & "?subject=" & "Project Name " & Fields!ReferenceNo.Value & "&body=" & "Hi All," + vbcrlf + "Please review your outstanding tas

我在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 
电子邮件消息显示ok,但不会显示包含正确
字段的url链接!附加了参考值
。它似乎在Report1处停止,但没有附加

如果我将链接与邮件正文分开运行,请手动输入引用,或从以mailto开头的表达式中排除该表达式,以使其正常工作。只是当我尝试附加
字段时!引用no.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 

你能不能给这个问题添加一个信息截图?绝对完美!非常感谢。