Sunday, February 26, 2012

Globals!ReportServerUrl equivalent when using Sharepoint mode?

I use the javascript method to launch most of my drilldowns into their
own IE window:
="javascript:void(window.open('" & Globals!ReportServerUrl &
"?/Sales/Dashboard Drilldown - By Stage" & ...
But now that we just switched to Sharepoint Integrated mode with my
reports now residing in a document library, not on the Report Server,
what is the replacement to the Globals!ReportServerUrl variable?
Right now all my drilldowns say "The path of the item '/Dashboard
Drilldown - By Stage' is not valid..."Try giving the full URL if your server or most of the values are fixed, eg.
server URL, folder etc..
Amarnath
"Dave" wrote:
> I use the javascript method to launch most of my drilldowns into their
> own IE window:
> ="javascript:void(window.open('" & Globals!ReportServerUrl &
> "?/Sales/Dashboard Drilldown - By Stage" & ...
> But now that we just switched to Sharepoint Integrated mode with my
> reports now residing in a document library, not on the Report Server,
> what is the replacement to the Globals!ReportServerUrl variable?
> Right now all my drilldowns say "The path of the item '/Dashboard
> Drilldown - By Stage' is not valid..."
>|||On Apr 30, 3:50 am, Amarnath <Amarn...@.discussions.microsoft.com>
wrote:
> Try giving the full URL if your server or most of the values are fixed, eg.
That could work, but not very useful for portability when deploying to
test servers and then different production servers. I'd have to
manually change dozens of references to a specifc hard coded URL
string in dozens of reports. That's what made the built-in Globals!
ReportServerUrl so useful. It automatically retrieved the current
server URL so the report author doesn't manually hard code a server
URL inside a report. Any other ideas?
THANKS!

No comments:

Post a Comment