I have a ssrs report server which generates reports, which I would like to embed into other pages.
I have found that I can embed the entire report in an iframe quite easily, but I would like to hide everything inside of this iframe except for the table I need. This requires setting an attribute in the table so that I can select it. Alternatively, retrieving the client ID of the table after the fact.
However, I have not been able to find a way to embed some kind of identifier into the tablix table such that it can be easily selected. Ideally I'd like to just add a name
or id
attribute to the table but this doesn't seem possible.
Is there some way around this?
I came across the same issue and use a report parameter as workaround. I created a new report parameter (under Available values > Specify values) with the following values:
Now at the tablix under Tablix properties > Visibility > Show or hide based on expression I added this expression:
This tablix gets now only displayed if the user selects the value
Tablix1
from the parameter. So basically you can see it as uniqueID
for different tablixes from which you can chose now.