SSRS Report Manager set default zoom level - sql-server

I have deployed around 40 report parts to my reporting server which are all working correctly.
The problem is my zoom is default 100 for all of them, I want a number of them to default to 75.
I have tried creating a portal with links to all report parts and using the &rc:Zoom=75
on the end of the URL for the link but it still defaults to 100.
Can anyone suggest how I can achieve what I want?

Instead of going to :
http://mysqlservername/Reports/
and getting the full URL from here (plus &rc:Zoom=75)
I went here:
http://mysqlservername/ReportServer
Which is like the back end.
From here I went to the report part I wanted to default to 75 and right clicked and selected'copy shortcut'
I then pasted this into the 'Go to URL' box along with the
&rc:Zoom=75

What's your full URL? I realized that the zoom doesn't work if I also have &rc:toolbar=false. If I add &rc:Zoom=25 to a standard report it work's fine.
Try removing any other tags than you may have on the URL to see which one is preventing the Zoom from working.

Related

Umbraco cms AngularJS Regular Expression Keep appearing

Umbraco uses angularJS as based library and backoffice totally developed on it. The reason telling first is to tell that I have a field on which URL regular expression applied. If someone entered invalid url like below image
it shows error as need.
But if a user try to remove whole text by selecting it and removing at once. It still keep appearing the error like this
However, if a user erase text one by one like this
then the validation error removed and user need to click on button to see error again.
I would to know how screen 3 state can be achievable when user remove all text together? Its really annoying behavior for a user to remove text character one by one to refresh the state of the field. Screen 3 state should be applied on screen 2.
Can anybody tell me how it can fix or achievable? Right now, it seems like a default behavior.
Looking forward to hear from you guys. Suggestions will be much appreciatable.
Regards o
I've looked into this issue. This seems to be a product bug.
When you remove whole text at once, newValue is an empty string and the code responsible for resetting error messages doesn't run. If you have access to the umbraco code, you can easily fix it by removing highlighted check:

Set default date for zul datebox

I inherited a legacy website written in old zul and have to add new datebox component for birthday datepicker.
Have added a constraint to accept dates before a given date but that triggers an error alertbox from start as the date presented/selected by default on the datepicker is today.
I wouldn't want to use a workaround but to all due respect it seems like this is something over the top feature I'm looking for in zk's reality:
The main showcase for zul does include a birthday datebox, but pretty lame as it doesn't contain any constrain on age.
There is zk fiddler to show how the before constrain works, but that just proves my point that it doesn't select the first proper date for default date at least, if there is no clean way of setting it.
There is forum post that proposes a workaround to set the default year, so Zk is most probably incapable of doing this without a workaround.
There is an open ZK Jira issue from 2017 that addresses somewhat this issue, with a proposed solution pretty much the same as the workaround mentioned in the above point - so the hope is kinda lost, have to go on the workaround route.
I did try that workaround (after the forum post, as that has default year), but the workaround doesn't work for me. It does execute the
this.setValue(initialDate);
And I see that the value is set into the datebox's _pop/_value and _pop/_end nodes but no difference is visible on the datepicker box, still today is preselected altough it is greyed out - so no effect.
Still, when I try it in a fiddle with version 6.5.8.1, the oldest engine that exists, it does work, but not locally with v5.0.11.
In the buglist for this version there is no mention of datebox. Tried to look into to some bugs that might be interfering but turns out it was just another episode of me wasting time with this.
Tried in the 5.0.11 sandbox and it doesnt work with that version. The structure of how I use it is imitated in the linked fiddler. Hints on a workaround that works on this version?
ZK 5.0.11 is a bit on the older side currently, so it might not accept exactly the same overrides as later versions. If I understand the issue correctly, it boils down to either
1 - setting a value before Datebox is rendered to have a "initial date" opened in calendar.
I'd say that's the easy way out, since you can use either composing or databinding to set the value of the datebox during page rendering. Here's a small sample using databinding and zscripts, but the same logic should apply from composer with setValue(). You mentioned that this doesn't work for you locally with 5.0.11 though. Can you share the code that you are using for this? Sample code here in fiddle I can run it on local 5.0.11, and it set the date before popup is opened.
or
2 - setting an initial date (which doesn't affect the selected value) but would be the target for the opened calendar.
This is not a default ZK 5 behavior for datebox. If you want that effect, you would need to customize it using an override script. Simplest way in can think of in ZK 5 is to use the open event of the datebox popup here's an example of what it would look like (package in a script tag in a single page for the example, would use a global js file for real deployement) example here

SSRS 2016 Sporatic Error rrRenderingError

I have an SSRS 2016 Report. When I run the report by clicking the report in the SSRS Site it runs fine. When I use the url to create the pdf like this:
http://vmbksa69901mdt/ReportServer_ssrs1p?/DAS/CDO_Suite/PortfolioHoldings&rs:Command=Render&ReportName=OCTAGO28_Portfolio_Holdings_pdf_1&rs:Format=PDF
It gives me the error:
The webpage at
http://vmbksa69901mdt/ReportServer_ssrs1p?/DAS/CDO_Suite/PortfolioHoldings&rs:Command=Render&ReportName=OCTAGO28_Portfolio_Holdings_pdf_1&rs:Format=PDF
might be temporarily down or it may have moved permanently to a new
web address. ERR_INVALID_RESPONSE
When I look at the view [dbo].[ExecutionLog3], it shows an error of rrRenderingError.
What's odd is that if I change the url and put the "format=Excel", it works fine. And then right away change it back to PDF it works fine.
So my guess is this is a timeout issue. Can anyone tell if that is a valid assumption? If it is, how do I go about changing that timeout? The underlying stored procedure for the report can take > 60s.
If it's not a timeout, how do I dig deeper into the logs to show me what the error really could be?
Issue solved: Turns out that it was an expression on my report:
="Portfolio Holdings Report as of " & Format(CDate(First(Fields!ReportParameterValue.Value, "AsOfDate")), "MM/d/yy")
When I took this off, the report ran fine. However I still needed this on my report, so I made a hidden parm, and set a default value from my AsOfDate Dataset. Then made the expression this:
="Portfolio Holdings Report as of " & Format(CDate(Parameters!AsOfDate.Value), "MM/d/yy")
Then all of my scheduled events went off without a hitch.

Bugzilla: bugs are not showing up (show up in DB and everything seems to be fine)

I just installed Bugzilla locally and it seems that everything is fine. I can create new products and components. I can also file new bugs and they show up in the database.
But when I want to view them in the web interface, they won't show up.
Instead, at the top of the page this shows up:
Product: ARRAY(0x3735378 Component: ARRAY(0x4275650) Resolution: ARRAY(0x42755a8)
and then below the "Zarro Boogs found."
I couldn't find any information on that on the web, did anybody have similar issues? Thank you!
Please check the bugs table in techzilla database and verify if the bug details are getting updated.
The cgi file which corresponds to the listing of bugs is buglist.cgi.
Template file is:-global/message.html.tmpl
"Zarro Boogs found." is showing because, the values are not correctly entering in the query to display the buglist.
It is evident from the display,
Product: ARRAY(0x3735378 Component: ARRAY(0x4275650) Resolution: ARRAY(0x42755a8)
it is because of the looping problem.
check the display code in the template file or buglist file and correct the loop, then it will dsiplay properly
Jenifer,
Yes, It is because of the zero value in the query. We can check it, by printing the query and checking the value in DB.
Inserts a Named Query (a "Saved Search") into the database, or updates a Named Query that already exists..
We had similar problem. Bugs were not showing in search result list. The problem was in the name of the product when the name of the product was with diacritics (e.g. Czech, Slovak, etc...). When the name of the product is in US ASCII it is all Ok.

Is it possible to replace the childbrowser url with a database variable?

Is it possible to replace the url in the childbrowser with a database variable? The database variable is a url in the database. For example, in the code below res[i].showlink is a database variable that is a url. The child browser works perfectly if I replace the database variable with http://www.google.com. I also know that my database call is pulling the urls correctly with "res[i].showlink". However, when I put in the database variable, the child browser displays a blank screen and reads as loading. I am working with phonegap in Xcode.
function openGoogle(){
var root = this;
cb = window.plugins.childBrowser;
cb.showWebPage("res[i].showlink");
}
If I remove the quotes around the res[i].showlink, then nothing happens when I click on the link. If I put the quotes back on, the childbrowser loads as if it is going to work but the browser remains blank. The childbrowser does seem to be able to determine that the url links from the database are different. If the link is going to google then the childbrowser will display a blank screen and the loading bar will output "about:blank". If the url link is going to a pdf file then the childbrowser will also be blank but the loading bar will actually output "Loading". Weird.
Here is what the Xcode output console displays when I click on a link with the quotes on the res[i].showlink.
2012-07-09 08:01:25.549 MyAppTest[13067:13403] View did load
2012-07-09 08:01:25.551 MyAppTest[13067:13403] Opening Url : res[i].showlink
The output console does not display anything if the quotes are not around the res[i].showlink
Any help will be greatly appreciated! Thank you
You need to remove the quotes. Use:
cb.showWebPage(res[i].showlink);

Resources