Showing posts with label jump. Show all posts
Showing posts with label jump. Show all posts

Friday, March 23, 2012

Report Navigation and jump url

Hi all,

I have got a report with external hyperlink.

When I put this link in TextBox properties >> Navigation >> Jump URL of my gridView : http://www.micheldegremont.com it works.

However, if I put "http://www.micheldegremont.com?id=" + Fields!ID.Value it doesn't work. I haven't not link in my report.

And if I put http://www.micheldegremont.com?id=Fields!ID.Value my report create a hyperlink to http://www.micheldegremont.com?id=Fields!ID.Value and no http://www.micheldegremont.com?id=1

Thanks for you help.

Degremont wrote:

However, if I put "http://www.micheldegremont.com?id=" + Fields!ID.Value it doesn't work. I haven't not link in my report.

Instead use "http://www.micheldegremont.com?id=" & Fields!ID.Value

HTH|||

Now it works with ="http://www.micheldegremont.com?id=" & Fields!ID.Value but only on 1 report.

Howerver, I have the same XML

Report 1 (it's work)

<TableRow>
<TableCells>
<TableCell>
<ReportItems>
<Textbox Name="AddressID">
<rd:DefaultName>AddressID</rd:DefaultName>
<ZIndex>1</ZIndex>
<Action>
<Hyperlink>="http://www.micheldegremont.com?id=" &amp; Fields!ID.Value</Hyperlink>
</Action>
<CanGrow>true</CanGrow>
<Value>=Fields!AddressID.Value</Value>
</Textbox>
</ReportItems>
</TableCell>
<TableCell>

But on report 2 , it doesn't work

<TableRow>
<TableCells>
<TableCell>
<ReportItems>
<Textbox Name="noteFraisID">
<rd:DefaultName>noteFraisID</rd:DefaultName>
<ZIndex>7</ZIndex>
<Action>
<Hyperlink>="http://www.micheldegremont.com?id=" &amp; Fields!ID.Value</Hyperlink>
</Action>
<CanGrow>true</CanGrow>
<Value>=Fields!noteFraisID.Value</Value>
</Textbox>
</ReportItems>
</TableCell>
<TableCell>
....

sql

Wednesday, March 7, 2012

Report Jump in Page Header

I tried to add a report jump to a page header - visual studio mentions that this is not supported by all renders, but I did not find any information which renderers support this. It seems the default html renderer does not support it, because i receive the following error
"The path of the item "(null)" is not valid. The path must be less than 260 characters long and must start with slash. Other restrictions apply. (rsInvalidItemPath)"
while I only specify the report name.

Is there a way to add a report jump to the page header ? with parameters ?
I have an startpage with links to each report - and in the header of the reports a want to support a back to the table of content link. Is there a othere way so switch back to the origninal report (after some parameter switches) ?

Thanks
HANNES

As indicated by the publishing warning message in report designer preview, drillthrough actions are currently not supported in page headers/footers in RS 2005.

The closest you can get for the page header/footer is to use a hyperlink action and build a url that points back to the report server and uses URL access to run a report with certain parameter settings. The Globals collection in the report object model exposes properties such as ReportServerUrl that you will need to build the URL - see also: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/rscreate/htm/rcr_creating_expressions_v1_7ilv.asp

-- Robert