简体   繁体   English

如何从SSRS报表在Dynamics CRM 2011中启动搜索

[英]How do I launch a search in Dynamics CRM 2011 from an SSRS report

fairly new to SQL & coding in general with very little experience in developing SSRS reports, so please excuse me if I am a little vague. 总体而言,这对于SQL和编码来说是相当新的东西,几乎没有开发SSRS报告的经验,所以如果我有点含糊,请原谅。

I am trying to launch a search of our CRM directly from within a report. 我试图直接从报告中搜索我们的CRM。 Currently, I can link directly to records in our CRM from SSRS dependent on the results of the report. 目前,我可以根据报告的结果直接链接到SSRS中CRM中的记录。 So say for example the SSRS report brings back the address of a property '21 Transact Avenue, KY6 1LZ', I can click on the result and it will take me to that page in our CRM. 举例来说,例如SSRS报告带回了属性“ 21 Transact Avenue,KY6 1LZ”的地址,我可以单击结果,然后将我带到CRM中的该页面。 So far this has been fairly simple process: The report brings back the guid of the what I want to link to, take URL, add value of GUID, works great. 到目前为止,这是一个相当简单的过程:该报告带回了我想要链接的导航,获取URL,增加GUID的价值,效果很好。

However, I also wish to conduct a search within the CRM by clicking on a result from the report. 但是,我也希望通过单击报告的结果在CRM中进行搜索。 Say for example the report brings back a result with the postcode 'KY6 1LZ' I wish to search all of our properties in the CRM that have that postcode. 例如,说该报告带回了邮政编码为“ KY6 1LZ”的结果,我希望在CRM中搜索所有具有该邮政编码的属性。 The problem is that when you search in CRM, is doesn't produce a link and as a result I am not sure how launch the search - or even if it is possible? 问题是,当您在CRM中搜索时,它不会产生链接,因此,我不确定如何启动搜索-甚至可能吗?

Im not sure what else to add to make this easier to answer, but I am happy to provide as much detail as you need to help me with this. 我不确定要添加什么其他内容以使其更容易回答,但是我很乐意提供您需要帮助的尽可能多的细节。

Thanks in advance! 提前致谢!

There's some MSDN information here on utilizing URLs to access specific CRM pages. 这里也有一些MSDN信息在这里对利用URL来访问特定页面的CRM。 The problem I'm hearing from you is that you don't know which specific pages drives the search results. 我收到您的问题是,您不知道哪个特定页面会驱动搜索结果。 If your CRM interface has its own search or search results page, then you need to get the page name from whoever manages that server (if it's being loaded, then the page exists, even if it's just part of another page; see the link above for more information on the naming conventions you'll need to use). 如果您的CRM界面具有自己的搜索或搜索结果页面,则需要从管理该服务器的任何人那里获取页面名称(如果正在加载该服务器,则该页面存在,即使它只是另一个页面的一部分;请参见上面的链接)。有关您需要使用的命名约定的更多信息)。 Then, try to find out the variables the that search results page can handle. 然后,尝试找出搜索结果页面可以处理的变量。 For instance, if your searching for address, what's the URL variable to input address? 例如,如果您搜索地址,那么输入地址的URL变量是什么? is it in the form of ?address= or add= ? 它以?address =add =的形式出现

I'm not familiar with the URL structures of CRM, so you might find that it doesn't support URL parametrization. 我对CRM的URL结构不熟悉,因此您可能会发现它不支持URL参数化。 But hopefully you'll find something that works. 但是希望您会发现有用的东西。

If you can find out all of that information, you should be able to construct the URL from SSRS. 如果您可以找到所有这些信息,则应该能够从SSRS构造URL。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM