Announcement

Migration of this forum

Dear users of this forum,

we are pleased to inform you that we will be updating the software behind this forum in the near future.

Existing posts, users and categories will remain untouched.

Important:

  • Each user will need to reset their password.
  • Please select "I forgot my password".
  • Enter the email address you used to register in this forum.
  • You will receive an email with a link to set a new password.
  • Please choose a new (secure) password and confirm the process.

We will keep you informed in the pinned thread.

Kind regards,
Your ReportServer Team


Migration des Forums

Liebe Nutzer dieses Forums,

wir freuen uns, euch mitteilen zu können, dass wir in naher Zukunft die Software hinter diesem Forum aktualisieren werden.

Existierende Beiträge, Nutzer und Kategorien bleiben weiterhin bestehen!

Wichtig:

  • Jeder Nutzer muss sein Passwort neu vergeben.
  • Wählt dazu einfach "Ich habe mein Passwort vergessen".
  • Gebt die E-Mail-Adresse ein, mit der ihr registriert seid.
  • Ihr erhaltet eine E-Mail mit einem Link zur Passwortvergabe.
  • Bitte wählt ein neues (sicheres) Passwort und bestätigt den Vorgang.

Wir halten euch im angepinnten Beitrag auf dem Laufenden!

Mit vielen Grüßen
Euer ReportServer Team

#1 2016-04-18 15:30:26

Glandike
Member
Registered: 2015-11-10

Link in dinamic list

Hello!

Sorry for tons of questions that i asked, but i have another one: Could i make link in dynamic list? Somehow I would able to click on it and open link in a new browser window..?

Offline

#2 2016-04-18 15:38:02

Arno Mittelbach
datenwerke
Registered: 2012-02-14

Re: Link in dinamic list

Hi Glandike,

no worries big_smile

I am afraid it is currently not possible to have links within the Dynamic List. It is something that we have on our todo list but I can't tell you when this will be added.

If it is meant as an embedded report you might want to look at http://forum.reportserver.net/viewtopic.php?id=493. There is an example of how to use a Dynamic List as a source for a custom HTML based report which then of course can have links.

Cheers,
Arno

Offline

#3 2016-04-20 15:03:06

Glandike
Member
Registered: 2015-11-10

Re: Link in dinamic list

Thanks a lot for your help!

Continuing the theme, I would like to ask for advice. When a jasper report contains a reference, the standard PDF preview in the browser does not recognize it as a reference, just as simple text, but any stationary pdf viewer recognizes the link in downloaded file, as well as in excel and in html. Perhaps that because built in pdf engine has limited functionality. Could you tell me any workaround to make a link as link?

Last edited by Glandike (2016-04-20 15:03:52)

Offline

#4 2016-04-20 18:13:41

Arno Mittelbach
datenwerke
Registered: 2012-02-14

Re: Link in dinamic list

ReportServer has 2 PDF viewers. Which one is chosen is configured in etc/ui/previews.cf. The default setting is to use the browsers native PDF capabilities. The alternative is to use a PDF viewer implemented in JavaScript. Both should, however, display links as links.

Offline

#5 2016-04-21 07:36:21

Glandike
Member
Registered: 2015-11-10

Re: Link in dinamic list

Yes, that right. You already told me this recently and i tried both versions(native and jsviewer). But jsviewer has bugs with UTF-8 cyrillic character (sometimes it confused  letters) and native doesn't display links. Please check the file (i post sample of jrxml here, just create text file, copy all in it and same as ***.jrxml, create report with this file and in datasource just choose RS DB) as a preview, and then save it and open in any viewer like acrobat, hamster pdf, etc. (not in browser).

<?xml version="1.0" encoding="UTF-8"?>
<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="Blank_A4" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="b9e11b87-0ce9-469b-8519-dc1d3e4dbcca">
	<property name="com.jaspersoft.studio.data.defaultdataadapter" value="One Empty Record"/>
	<queryString>
		<![CDATA[select 1]]>
	</queryString>
	<background>
		<band splitType="Stretch"/>
	</background>
	<title>
		<band height="82" splitType="Stretch">
			<property name="ireport.callouts" value="callouts.1.fg=0,0,0\ncallouts.1.text=zaleskiy.a 15.04.16 13\:59\ncallouts.1.bounds=1182,-19,200,200\ncallouts.1.bg=255,255,0\n"/>
			<textField hyperlinkType="Reference" hyperlinkTarget="Blank">
				<reportElement x="0" y="0" width="555" height="82" uuid="21ceb825-604f-4c76-a42b-fc46e81402c8"/>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font fontName="Arial" size="22"/>
				</textElement>
				<textFieldExpression><![CDATA["Here is a link to google"]]></textFieldExpression>
				<hyperlinkReferenceExpression><![CDATA["https://www.google.com"]]></hyperlinkReferenceExpression>
			</textField>
		</band>
	</title>
</jasperReport>

 

Offline

#6 2016-04-21 14:01:26

Arno Mittelbach
datenwerke
Registered: 2012-02-14

Re: Link in dinamic list

This seems to be a bug in the JasperReports reporting library. If you remove the hyperlinkTarget="Blank" attribute it works for me in chrome's pdf viewer.

Offline

#7 2016-04-21 14:34:34

Glandike
Member
Registered: 2015-11-10

Re: Link in dinamic list

Oh dammit! Thanks a lot! I adore you so much! That so simple, but i couldn't even imagine that problem is in this.

Offline

#8 2020-02-11 13:09:57

IF_Eduardo
Administrator
Registered: 2016-11-01
Website

Re: Link in dinamic list

Hi Glandike,

linking from a dynamic list to a url will be possible in the next version, 3.1.2.  The ticket is RS-3901.

Regards,
Eduardo

Offline

Board footer

Powered by FluxBB