SSRS: Sending field parameters from SSRS action link not working - reporting-services

I followed steps mentioned here- SSRS: How to display a hyperlink in sql services reporting
And also tried this but not working parameter is always null.
Sending field parameters to SSRS action link
My Parameter is a Guid
How to add a parameter like this - https://stackoverflow.com/78450
My url which i get in my report is like this - http://mysite.aspx?id=

Related

How to Pass DB Connection string as parameter in SSRS through URL

Our application is in .net and we are required to embedd and show case the SSRS reports from the .net application. Embedding was succesfull, now the data source is required to be made dynamic based on the logged in user, there respective server IP, DB name, user name and password is supposed to be passed to the SSRS. How can we achieve this?
Would really appreciate any help.
Thanks
Trying to get the connection string as a parameter from the URL but we are not sure how to accept the parameter. where should we get the control from
Assuming you can get the datasource passed to the report as a string already, then you can do this, but you must use an embedded datasource, not a shared datasource.
When designing reports from scratch you'll need to set the datasource's connection string as normal, just so field lists etc. all work, then once you have the report working, edit the datasource and hit the [fx] button next to the connection string.
Then just select your passed in parameter like below where myConnectionString is the passed in parameter.

Object reference error thrown while selecting the WebServiceDataSource for creating a table in Telerik Report Designer

I am new to Telerk Report Designer.
I have created a WebServiceDataSourcewith the name 'webServiceDataSource1', using an api and authorization token in the header. While creating the data source, it displayed the data preview correctly. But when I tried to create a table with that data source, an object reference error is thrown.
I created another WebServiceDataSource with the name 'DemoWebServiceDataSource' without any authorization token for testing purpose. It worked without any issues. But my requirement is to add the service using authorization token.
Screenshots attached.
Try to add the same value (Bearer key) on the "Configure request parameters" screen in the Value and Design-Time Value fields, currently your Design-Time Value is empty and most probably this causes the issue.
Alternatively, in this blog post the API key is send as a request parameter with Name apiKey, Type Query and Value and Design-Time Value both equal to your API Key (Header Authorization is not used).
Here is one more example for a Google API with key parameter.

Error when trying to pass a value to a parameter via a URL in SSRS

I have a report in SSRS that has a drill-down report. I would like to have the action linking to the drill-down report open it in a new page.
I've used this expression as the action URL:
="javascript:void(window.open('server?ItemPath=%2fTimisoara%2fDrilldown%2fDrill01&ID=123', '_blank'))"
When trying to access the drill-down report I get the following error:
The ID parameter is missing value
You're not constructing your URL properly. For starters the server bit should actually be the name of the server (or the IP address) and you need to properly construct the URL including the http://
You can then construct your URL like so:
http://reportserver/ReportServer?/Path/To/Report/DrillDownReport&Param1=Value1&Param2=Value2
I recommend reading the following MSDN pages:
URL Access (SSRS)
Pass a Report Parameter Within a URL

SSRS DateTime Parameter in URL

I am passing the following URL in order to load a report in SSRS. There are two parameters in the report:
http://servername/Reports/Pages/Report.aspx?ItemPath=%2fReports%2fApplications%2fPersonnel%2fRptNameChange&ssn=#########&txtEffectiveDate=06/01/2012
Parameters
String - ssn
DateTime - txtEffectiveDate
However, when the page loads, it is as if the parameters are not recognized and it loads the page with empty fields in the parameters.
What is missing or incorrect about the URL? Thanks!
You're so close! You should be able to pull this off by changing Report.aspx to ReportViewer.aspx. For example, see below:
http://servername/Pages/**ReportViewer.aspx?**ItemPath=%2fReports%2fApplications%2fPersonnel%2fRptNameChange&ssn=#########&txtEffectiveDate=06/01/2012
I was calling the Report Manager URL, instead of the Web Service URL.
Here was the working version of the SSRS Url:
http://servername/ReportServer?/Folder1/Folder2/Folder3/
In order to complete the call to the SSRS Web Service Url, attach the report name and any parameters that are needed to run the report:
http://servername/ReportServer?/Folder1/Folder2/Folder3/ReportName&Param1=12345

submitting a parameterized hudson build via the REST API

hudson supports submitting a build by doing an HTTP GET to an API. I need to pass some parameters to such a build. Just adding them as additional URL parameters doesn't work for me. Is this supposed to work? Is there some other mechanism?
Is it possible to pass parameters in the Hudson's job that will be triggered remotely?
Check this question.
Instead of /build use /buildWithParameters. I'm currently using it with a simple wget
Based on the HTML source on the web interface for starting a parameterized build, you need to do a POST to http://hudson/job/NAME/build with the parameters.
Update: It's a little more complicated. There's a hidden input with name "name" and value "MyParameter", then the input you actually fill in with name "value" and value "MyInput". (Where MyParameter if your parameter name and MyInput is whatever you need to fill in.) I haven't checked to see how this works with more than one parameter.
the POST works with just the json url parameter that contains a JSON list of the build parameters: json=%7B%22parameter%22%3A+%5B%7B%22name%22%3A+%22Input%22%2C+%22value%22%3A+%22data1%22%7D%2C+%7B%22name%22%3A+%22Input2%22%2C+%22value%22%3A+%22data2%22%7D%5D%2C+%7D