Modified Reporting Services Report – RDL does not change?-Collection of common programming errors

TL/DR Version: Reporting Services is not giving you the correct RDL.

Your question prompted me to further investigate a suspicion I already had on SSRS for quite some time: report parameters can behave in unexpected ways for report developers when deploying (or downloading) report definitions. One related scenario I had noted before:

  1. Create a report with parameters.
  2. Deploy the report for the first time.
  3. Update the report parameters in some way.
  4. Deploy the same report once more.
  5. Result: parameter settings are not succesfully updated on the server.
  6. Delete the report from the report manager.
  7. Deploy the report once more (effectively the same as step 2).
  8. Result: Report parameters are updated correctly.

In short, if you want to update parameter settings for deployed reports you’ll first need to delete it and then deploy it, or update the settings directly via the report manager.

Back to your question(s). You’re not missing anything, this just seems the way SSRS is behaving (intended or not). The RDL schema has this (abbreviated) piece:


    
        
            
        
        
        
        
        
        
        
        
        
    
    

So, there should be a “Hidden” element for your ReportParameter.

I just verified your findings (in SSRS 2008), and think I may have the answer to your second question: SSRS is indeed not coughing up the correct version of the RDL. It’s missing various bits about the parameters, including the element on being hidden or not.

Funny thing is: if you change the report in BIDS and set the parameter to hidden, the RDL will be changed and have the true element.