SSRS Export to Excel - ssrs-2012

I have a SSRS report with Hyperlinks to 2 other SSRS report, through the Actions tab I am passing a parameter value to those hyperlinks, main report is exported to Excel and link is there everything is fine.
"=http://[SERVER]/[RSSERVER]/Pages/ReportViewer.aspx?[REPORTName]&rs:FORMAT=EXCEL&[ParemterName]=" &[ParameterValue]
When I myself click any of the hyperlink after exporting the report in Excel it opens a browser window and downloads (in my Download folder) the linked rdl in excel format with its actual rdl name .XLS and that's the expected correct operation without giving me any security warning in Excel and I can click on other hyperlink to other report.
But for all other users when they click the hyperlink first they receive a security warning about opening a harmful link and when user clicks OK it opens the link but the filename is ReportViewer.XLS so if user do not close that file and click on other hyperlink it will not download it because ReportViewer.XLS is already opened.
I have checked with couple of users their Excel Options are identical to mine.
I am not sure what is the causing this issue.
Thanks,

Related

Fetch the file name after clicking the download button from Save as dialog box in Cypress

I have a test case, where I've to click on the button to download the file. The click is triggering a native event (Chrome browser-Save as dialog box). The Save As dialog box opened by the browser contains the file name (string), the file name is generated by the server dynamically. Is there any way to grab the file-name from Save-As Dialog box generated by Chrome Browser using Cypress?

Why can't I see the "Report Data" window when creating reports?

I'm creating RDLC reports in VS10. When the program is NOT running, I can see the toolbox, and add controls to the report, but the "Report Data" pane is nowhere to be found, so I can't fill the controls on my report. However, if I run the solution, the "Report Data" pane appears, and I can drag fields on to my report, however the Toolbox contains no controls while I'm running. So, I've had to put the controls on to my report while not running, run the project and while it's running I can put the fields in....
anyways, how do I get the Report Data pane to stay visible while the project is not running?
The most common answer to this problem is to go to the Data menu and choose Show Data Sources. This option does not appear for me.
The Show Report Data Pane keyboard shortcut did work for me:
CTRL+ALT+D. There is nothing in the menus that I could find that does this same thing.
After I accidentally closed this window, I took an hour to find how to bring it back up.
The right answer is indeed:
View-->Report Data (ctrl+alt+D)
The tricky part: the 'Report Data' entry does not always appear in the 'View' dropdown. Make sure that you have a report open, and some element of the report selected.
If you're not 'in the report', the entry disappears from the menu.
Hi I faced the same issue in VS2008, I tried based on the post 8 (Thanks to the "Tricky part" section in that)
The (Ctrl+Alt+D) combo did not work there in VS2008, but after opening the Report file(rdlc) I browsed on the View menu and found out that View->Toolbars->Data Design is the solution for that.
Upon opening that we get around 4 icons of which the "Show Data Sources" section brings the "Website Data Sources" section which fetches all Entities, Typed DataSets etc.
The keybord shortcut is (Shift+Alt+D).
The twisty part here is the "Data Sources" section available with the Server Explorer toolbar doesnt bring up any stuff but the "Website Data Sources" brings all the needed., can somebody explain that to me.
I was also same problem in Visual Studio 2013, Then Suddenly got an Idea.. Click on Report to make focus on it.
Simple Press Alt+Ctrl+D
I had the same problem, but in c# 2012
I closed the "report data" and I couldn't find it and I finally found a solution to this issue.
This is my method:
VIEW >> TOOLBARS >> CUSTOMIZE >> COMMANDS ... select from the "Menu bar" .. VIEW.
OK now in the "Controls" find the "REPORT DATA", select it and MOVE it UP, close the menu.
After that select a file.rdlc and click on the "View" ... OK Finally will be appeared "REPORT DATA"...
I had to go through a bit more to force a refresh in VS 2008.
First, there is a Data Sources pane/toolbox (menu trail = Data > Show Data Sources), and a Report Data Sources dialog (menu trail = Report > Data Sources). I had trouble with the Data Sources pane reverting to an earlier property list every time I opened a certain report; it was as if the report designer was overwriting the data definition with the report's cached version thereof.
To remedy this, I had to:
Exclude the report from my project to stop the build errors
Clean & rebuild my project
Refresh the Data Sources pane & confirm I could see the new fields
Re-include the report and open the report designer with the Data Sources pane pinned in view
(This is the key) Drag one of the new fields anywhere onto the report surface
Number 5 forced the report's internal XML copy of the data definition to refresh. Immediately after that, I could build again.
If the report designer is opened, Report Data Pane can be enabled using view menu.
View -> Report Data
It is in visual studio. In the designer page, it is on in the menu bar, there is XTRAREPORTS field. You can show up panels using it
Open report in Report designer
Go to View menu -> Report data
I was in a weird situation in VS2019 where choosing View -> Report Data did nothing, and pressing Ctrl-Alt-D did nothing. The Report Data window had just strangely appeared on the left for no reason, when it was supposed to be on the right, and so I had moved it back to the right and then made it auto-hide. Not long after that it disappeared and would refuse to reappear. Possibly it was off-screen but hard to say.
To fix, I had to resort to using Window -> Reset Window Layout which restored its position and I was able to use it again.
First of all select report file with rdlc extension and then go to View > Report Data
please go to
View > Toolbars > Customize
then select "Data" categories then click "Show data source" in command panel
"Data" menu will be seen in menu panel. click to get the website data source

Remove image from ActiveX Image Control - VBA

I have created a macro enabled Excel Spreadsheet that will programmatically load a image from disk and load it into an ActiveX image control.
How to I remove the image? I want to remove the image from my testing the process. I do not need to create a script to programmatically remove it.
To clear out the picture manually:
Open the Visual Basics Editor and make sure you can View both the Project Explorer and the Properties Window.
In the Project Explorer select the Excel object or form the image control is on. (If it is a user form, you will need to double-click.)
The selected object should now be listed in the Properties Window. Click the drop-down box and select your image control.
Double-click the value for the Picture property so you have a blinking cursor.
Press Delete.
To remove the image manually, go into Design mode (View > Toolbars > Control Toolbox and click the "Design Mode" button). Right-click the control and choose "Properties". Click in the "Picture" property and backspace or delete until it says (None).
This assumes that the image is loaded into an Image Control on the worksheet and not on a VBA userform. You could follow mischab1's instructions if the control was on a VBA userform OR an image control.
And of course these instructions are for Excel 2003; the specific steps vary depending on Excel version.

How to change the prompt value of an RDLC report parameter in Visual Studio 2010

I have upgraded my projects to VS2010 a while ago and i'm using local report server reports (RDLC).
The parameter definition dialogs have moved to the Report Data pane, that was the first barrier to get over.
Now i wonder where i can change the prompt value of a parameter - the text the user is prompted when entering a value for the parameter.
I know i can change it by editing the rdlc file in an xml editor - i just can't belief that they have removed the textbox from the dialog.
See a screenshot of the parameter properties window in VS2010:
Well, apparently i don't have reporting services installed for vs2010, but i've got 2008, so hopefully it's in the same place.
In 2008, there is a window called Report Data that has your parameters, data sources, and data sets. Your parameter/s should show up under the Parameters section. If you right click a parameter and click parameter properties, a new window appears. Under the General section there's a box titled Prompt. I believe this is what you need to change.
Hope this works in VS2010. Let me know if it doesn't.

How do I open the "Save As" dialog box in Outlook using VSTO and get the user entered filename

I'm creating a VSTO add-in for Outlook. As part of this add-in, I need to be able to allow the user the save a grid as a CSV file. When the user clicks on the "Export" button on the grid, I want to pop up the "Save as" dialog box, allow the user to select a file/enter a file name and location. When the user clicks ok, I need a way for my add-in to gain control again, get the file location entered and use that to write my CSV into.
I've been looking around for some time now, but I just can't figure out how to do this. Any ideas?
Use the SaveFileDialog like in the answer here: Using the OpenFileDialog control in a C# application

Resources