Pass parameters to SSRS from CRM RRS feed

  • Question

  • Hi,

    Can any one tell me how can I pass current/selected record guid to ssrs report in CRM 2011?

    sumit kumar

    Thursday, May 17, 2012 10:12 AM


All replies

  • Hi Sumit,

    You can query using the CRMAF_ to enable automatic pre-filtering of your report data.

    Please refer to this link for details.



    I hope this helps. If my response answered your question, please mark the response as an answer and also vote as helpful.

    Dimaz Pramudya - CRM Developer - CSG (Melbourne) www.xrmbits.com http://twitter.com/xrmbits

    Thursday, May 17, 2012 10:28 AM
  • Hi

    If you are using fetch xml then




    Thursday, May 17, 2012 10:33 AM
  • Hi, thanks you all for replying.

    I am very new to CRM and SSRS both. I have to display all information about a record of an entity. 

    For example : I have Employee entity(custom entity) in my project. Now I need to display Salary Slip for selected Employee from a ActiveEmplyeeView.

    For this I created a parametric  SSRS report and import that into crm. 

    Now when I run the report it asks for EmployeeId at top of the report. 

    I want that Employeeid should be of selected record from the view.

    More clear I want just select the record and click on the run report on ribbon and salary slip for that Employee should be displayed. 

    Hope you can understand my problem.

    sumit kumar

    Thursday, May 17, 2012 11:09 AM
  • Sumit , prefiltering  will help you set the context (selected employee here) in which you want to the report to run.

    Please look at this link with details(check out section named 'Enabling Data Pre-filtering in Fetch-based Reports' in case you are using fetch based reports else Sql-Based Reports section)




    Thursday, May 17, 2012 1:22 PM
  • I did this with CRMFETCH Query. I tried with CRMAF_ but it throw exception in query design.

    sumit kumar

    Friday, May 25, 2012 7:03 AM
  • What i try is using javascript to pass the value to SSRS


    Friday, May 25, 2012 9:12 AM