Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/reporting-services/3.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
Reporting services CRM功能区中的SSRS ReportViewer URL_Reporting Services_Dynamics Crm 2011 - Fatal编程技术网

Reporting services CRM功能区中的SSRS ReportViewer URL

Reporting services CRM功能区中的SSRS ReportViewer URL,reporting-services,dynamics-crm-2011,Reporting Services,Dynamics Crm 2011,我添加了一个按钮,可以将SSRS报告打印到我的CRM功能区中。唯一的问题是,每次调用URL时,路径都会从URL参数中删除。例如,我在XML中的URL是: <CommandDefinition Id="Company.Form.quote.MainTab.Actions.PrintQuote.Command"> <EnableRules /> <DisplayRules /> <Actions> &

我添加了一个按钮,可以将SSRS报告打印到我的CRM功能区中。唯一的问题是,每次调用URL时,路径都会从URL参数中删除。例如,我在XML中的URL是:

<CommandDefinition Id="Company.Form.quote.MainTab.Actions.PrintQuote.Command">
      <EnableRules />
      <DisplayRules />
      <Actions>
        <Url Address="http://<Server>/ReportServer/Pages/ReportViewer.aspx?/Test/ReportName">
          <CrmParameter Name="QuoteId" Value="FirstPrimaryItemId" />
          <StringParameter Value="Render" Name="rs:Command" />
          <StringParameter Name="rs:Format" Value="PDF" />
        </Url>
      </Actions>
    </CommandDefinition>
它导航到的URL是:

http://<server>/ReportServer?QuoteId=%7bE6D8DC8B-6381-E411-80BC-00155D18D500%7d&rs%3aCommand=Render&rs%3aFormat=PDF
似乎我需要一个ItemPath的名称,但ReportServer不接受我所知道的名称,有没有办法解决这个问题

感谢您的帮助。

找到了解决方法

我做了同样的事情,只是没有将URL放在CommandDefinition中,而是使用javascript重定向