Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » Hyperlink/bookmark not working
Hyperlink/bookmark not working [message #674683] Fri, 27 May 2011 21:35 Go to next message
Neil Wang is currently offline Neil Wang
Messages: 105
Registered: July 2009
Senior Member
Hi,

I am using BIRT 2.3.2 and created a report design (Please see attachment). If I generate a report in doc format and click on the hyperlinks, it won't jump to the destination. I also tried it with BIRT 2.6.2 and it works fine. I am wondering if there is a workaround.

please advise.

Neil
Re: Hyperlink/bookmark not working [message #675467 is a reply to message #674683] Tue, 31 May 2011 15:46 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

Neil,

This looks like it was a change in the word emitter where there the
target bookmark is getting created. Short of changing the emitter I do
not know of a work around.

Jason

On 5/27/2011 5:35 PM, Neil Wang wrote:
> Hi,
>
> I am using BIRT 2.3.2 and created a report design (Please see attachment). If I generate a report in doc format and click on the hyperlinks, it won't jump to the destination. I also tried it with BIRT 2.6.2 and it works fine. I am wondering if there is a workaround.
>
> please advise.
>
> Neil
Re: Hyperlink/bookmark not working [message #675514 is a reply to message #675467] Tue, 31 May 2011 17:59 Go to previous messageGo to next message
Neil Wang is currently offline Neil Wang
Messages: 105
Registered: July 2009
Senior Member
Hi Jason,

Thanks. Is there a way to apply a patch to fix the problem? please advise.

Neil
Re: Hyperlink/bookmark not working [message #675562 is a reply to message #675514] Tue, 31 May 2011 19:49 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

Neil,

Could you try using the later emitter and see if it works?

Jason

On 5/31/2011 1:59 PM, Neil Wang wrote:
> Hi Jason,
>
> Thanks. Is there a way to apply a patch to fix the problem? please advise.
>
> Neil
Re: Hyperlink/bookmark not working [message #675574 is a reply to message #675562] Tue, 31 May 2011 21:46 Go to previous messageGo to next message
Neil Wang is currently offline Neil Wang
Messages: 105
Registered: July 2009
Senior Member
Hi Jason,

The latest release I can use is 2.3.2.1 due to the limitation of the product I am working on; however, the problem still persists. Please let me know if using a later release is the only solution.

regards,

Neil
Re: Hyperlink/bookmark not working [message #675583 is a reply to message #675574] Tue, 31 May 2011 23:00 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

Neil

As a work around you could use table of contents entries as well as
bookmarks. On the target data item set a bookmark expression like:
"_Tocmycode"+row["OFFICECODE"]
also set a table of contents entry like:
"mycode"+row["OFFICECODE"]

Then in the hyperlink enter the following expression:
"_Tocmycode"+row["OFFICECODE"]

putting both on the target makes it work in html and word. See attached
example.

Jason


<?xml version="1.0" encoding="UTF-8"?>
<report xmlns="http://www.eclipse.org/birt/2005/design" version="3.2.17"
id="1">
<property name="createdBy">Eclipse BIRT Designer Version
2.3.2.r232_20090202 Build &lt;2.3.2.v20090218-0730></property>
<property name="units">in</property>
<property name="iconFile">/templates/blank_report.gif</property>
<property name="bidiLayoutOrientation">ltr</property>
<data-sources>
<oda-data-source
extensionID="org.eclipse.birt.report.data.oda.jdbc" name="Data Source"
id="7">
<property
name="odaDriverClass">org.eclipse.birt.report.data.oda.sampledb.Driver</property>
<property name="odaURL">jdbc:classicmodels:sampledb</property>
<property name="odaUser">ClassicModels</property>
<property name="OdaConnProfileName"></property>
</oda-data-source>
</data-sources>
<data-sets>
<oda-data-set
extensionID="org.eclipse.birt.report.data.oda.jdbc.JdbcSelectDataSet"
name="Employee" id="8">
<list-property name="columnHints">
<structure>
<property name="columnName">EMPLOYEENUMBER</property>
<property name="displayName">EMPLOYEENUMBER</property>
</structure>
<structure>
<property name="columnName">LASTNAME</property>
<property name="displayName">LASTNAME</property>
</structure>
<structure>
<property name="columnName">FIRSTNAME</property>
<property name="displayName">FIRSTNAME</property>
</structure>
<structure>
<property name="columnName">EXTENSION</property>
<property name="displayName">EXTENSION</property>
</structure>
<structure>
<property name="columnName">EMAIL</property>
<property name="displayName">EMAIL</property>
</structure>
<structure>
<property name="columnName">OFFICECODE</property>
<property name="displayName">OFFICECODE</property>
</structure>
<structure>
<property name="columnName">REPORTSTO</property>
<property name="displayName">REPORTSTO</property>
</structure>
<structure>
<property name="columnName">JOBTITLE</property>
<property name="displayName">JOBTITLE</property>
</structure>
</list-property>
<structure name="cachedMetaData">
<list-property name="resultSet">
<structure>
<property name="position">1</property>
<property name="name">EMPLOYEENUMBER</property>
<property name="dataType">integer</property>
</structure>
<structure>
<property name="position">2</property>
<property name="name">LASTNAME</property>
<property name="dataType">string</property>
</structure>
<structure>
<property name="position">3</property>
<property name="name">FIRSTNAME</property>
<property name="dataType">string</property>
</structure>
<structure>
<property name="position">4</property>
<property name="name">EXTENSION</property>
<property name="dataType">string</property>
</structure>
<structure>
<property name="position">5</property>
<property name="name">EMAIL</property>
<property name="dataType">string</property>
</structure>
<structure>
<property name="position">6</property>
<property name="name">OFFICECODE</property>
<property name="dataType">string</property>
</structure>
<structure>
<property name="position">7</property>
<property name="name">REPORTSTO</property>
<property name="dataType">integer</property>
</structure>
<structure>
<property name="position">8</property>
<property name="name">JOBTITLE</property>
<property name="dataType">string</property>
</structure>
</list-property>
</structure>
<property name="dataSource">Data Source</property>
<list-property name="resultSet">
<structure>
<property name="position">1</property>
<property name="name">EMPLOYEENUMBER</property>
<property name="nativeName">EMPLOYEENUMBER</property>
<property name="dataType">integer</property>
<property name="nativeDataType">4</property>
</structure>
<structure>
<property name="position">2</property>
<property name="name">LASTNAME</property>
<property name="nativeName">LASTNAME</property>
<property name="dataType">string</property>
<property name="nativeDataType">12</property>
</structure>
<structure>
<property name="position">3</property>
<property name="name">FIRSTNAME</property>
<property name="nativeName">FIRSTNAME</property>
<property name="dataType">string</property>
<property name="nativeDataType">12</property>
</structure>
<structure>
<property name="position">4</property>
<property name="name">EXTENSION</property>
<property name="nativeName">EXTENSION</property>
<property name="dataType">string</property>
<property name="nativeDataType">12</property>
</structure>
<structure>
<property name="position">5</property>
<property name="name">EMAIL</property>
<property name="nativeName">EMAIL</property>
<property name="dataType">string</property>
<property name="nativeDataType">12</property>
</structure>
<structure>
<property name="position">6</property>
<property name="name">OFFICECODE</property>
<property name="nativeName">OFFICECODE</property>
<property name="dataType">string</property>
<property name="nativeDataType">12</property>
</structure>
<structure>
<property name="position">7</property>
<property name="name">REPORTSTO</property>
<property name="nativeName">REPORTSTO</property>
<property name="dataType">integer</property>
<property name="nativeDataType">4</property>
</structure>
<structure>
<property name="position">8</property>
<property name="name">JOBTITLE</property>
<property name="nativeName">JOBTITLE</property>
<property name="dataType">string</property>
<property name="nativeDataType">12</property>
</structure>
</list-property>
<property name="queryText">select *
from CLASSICMODELS.EMPLOYEES</property>
<xml-property name="designerValues"><![CDATA[<?xml
version="1.0" encoding="UTF-8"?>
<model:DesignValues
xmlns:design="http://www.eclipse.org/datatools/connectivity/oda/design"
xmlns:model="http://www.eclipse.org/birt/report/model/adapter/odaModel">
<Version>1.0</Version>
<design:ResultSets derivedMetaData="true">
<design:resultSetDefinitions>
<design:resultSetColumns>
<design:resultColumnDefinitions>
<design:attributes>
<design:name>CUSTOMERNUMBER</design:name>
<design:position>1</design:position>
<design:nativeDataTypeCode>4</design:nativeDataTypeCode>
<design:precision>10</design:precision>
<design:scale>0</design:scale>
<design:nullability>Nullable</design:nullability>
<design:uiHints>
<design:displayName>CUSTOMERNUMBER</design:displayName>
</design:uiHints>
</design:attributes>
<design:usageHints>
<design:label>CUSTOMERNUMBER</design:label>
<design:formattingHints>
<design:displaySize>11</design:displaySize>
</design:formattingHints>
</design:usageHints>
</design:resultColumnDefinitions>
</design:resultSetColumns>
</design:resultSetDefinitions>
</design:ResultSets>
</model:DesignValues>]]></xml-property>
</oda-data-set>
<oda-data-set
extensionID="org.eclipse.birt.report.data.oda.jdbc.JdbcSelectDataSet"
name="Office" id="9">
<list-property name="columnHints">
<structure>
<property name="columnName">OFFICECODE</property>
<property name="displayName">OFFICECODE</property>
</structure>
<structure>
<property name="columnName">CITY</property>
<property name="displayName">CITY</property>
</structure>
<structure>
<property name="columnName">PHONE</property>
<property name="displayName">PHONE</property>
</structure>
<structure>
<property name="columnName">ADDRESSLINE1</property>
<property name="displayName">ADDRESSLINE1</property>
</structure>
<structure>
<property name="columnName">ADDRESSLINE2</property>
<property name="displayName">ADDRESSLINE2</property>
</structure>
<structure>
<property name="columnName">STATE</property>
<property name="displayName">STATE</property>
</structure>
<structure>
<property name="columnName">COUNTRY</property>
<property name="displayName">COUNTRY</property>
</structure>
<structure>
<property name="columnName">POSTALCODE</property>
<property name="displayName">POSTALCODE</property>
</structure>
<structure>
<property name="columnName">TERRITORY</property>
<property name="displayName">TERRITORY</property>
</structure>
</list-property>
<structure name="cachedMetaData">
<list-property name="resultSet">
<structure>
<property name="position">1</property>
<property name="name">OFFICECODE</property>
<property name="dataType">string</property>
</structure>
<structure>
<property name="position">2</property>
<property name="name">CITY</property>
<property name="dataType">string</property>
</structure>
<structure>
<property name="position">3</property>
<property name="name">PHONE</property>
<property name="dataType">string</property>
</structure>
<structure>
<property name="position">4</property>
<property name="name">ADDRESSLINE1</property>
<property name="dataType">string</property>
</structure>
<structure>
<property name="position">5</property>
<property name="name">ADDRESSLINE2</property>
<property name="dataType">string</property>
</structure>
<structure>
<property name="position">6</property>
<property name="name">STATE</property>
<property name="dataType">string</property>
</structure>
<structure>
<property name="position">7</property>
<property name="name">COUNTRY</property>
<property name="dataType">string</property>
</structure>
<structure>
<property name="position">8</property>
<property name="name">POSTALCODE</property>
<property name="dataType">string</property>
</structure>
<structure>
<property name="position">9</property>
<property name="name">TERRITORY</property>
<property name="dataType">string</property>
</structure>
</list-property>
</structure>
<property name="dataSource">Data Source</property>
<list-property name="resultSet">
<structure>
<property name="position">1</property>
<property name="name">OFFICECODE</property>
<property name="nativeName">OFFICECODE</property>
<property name="dataType">string</property>
<property name="nativeDataType">12</property>
</structure>
<structure>
<property name="position">2</property>
<property name="name">CITY</property>
<property name="nativeName">CITY</property>
<property name="dataType">string</property>
<property name="nativeDataType">12</property>
</structure>
<structure>
<property name="position">3</property>
<property name="name">PHONE</property>
<property name="nativeName">PHONE</property>
<property name="dataType">string</property>
<property name="nativeDataType">12</property>
</structure>
<structure>
<property name="position">4</property>
<property name="name">ADDRESSLINE1</property>
<property name="nativeName">ADDRESSLINE1</property>
<property name="dataType">string</property>
<property name="nativeDataType">12</property>
</structure>
<structure>
<property name="position">5</property>
<property name="name">ADDRESSLINE2</property>
<property name="nativeName">ADDRESSLINE2</property>
<property name="dataType">string</property>
<property name="nativeDataType">12</property>
</structure>
<structure>
<property name="position">6</property>
<property name="name">STATE</property>
<property name="nativeName">STATE</property>
<property name="dataType">string</property>
<property name="nativeDataType">12</property>
</structure>
<structure>
<property name="position">7</property>
<property name="name">COUNTRY</property>
<property name="nativeName">COUNTRY</property>
<property name="dataType">string</property>
<property name="nativeDataType">12</property>
</structure>
<structure>
<property name="position">8</property>
<property name="name">POSTALCODE</property>
<property name="nativeName">POSTALCODE</property>
<property name="dataType">string</property>
<property name="nativeDataType">12</property>
</structure>
<structure>
<property name="position">9</property>
<property name="name">TERRITORY</property>
<property name="nativeName">TERRITORY</property>
<property name="dataType">string</property>
<property name="nativeDataType">12</property>
</structure>
</list-property>
<property name="queryText">select *
from CLASSICMODELS.OFFICES</property>
<xml-property name="designerValues"><![CDATA[<?xml
version="1.0" encoding="UTF-8"?>
<model:DesignValues
xmlns:design="http://www.eclipse.org/datatools/connectivity/oda/design"
xmlns:model="http://www.eclipse.org/birt/report/model/adapter/odaModel">
<Version>1.0</Version>
<design:ResultSets derivedMetaData="true">
<design:resultSetDefinitions>
<design:resultSetColumns>
<design:resultColumnDefinitions>
<design:attributes>
<design:name>OFFICECODE</design:name>
<design:position>1</design:position>
<design:nativeDataTypeCode>12</design:nativeDataTypeCode>
<design:precision>10</design:precision>
<design:scale>0</design:scale>
<design:nullability>Nullable</design:nullability>
<design:uiHints>
<design:displayName>OFFICECODE</design:displayName>
</design:uiHints>
</design:attributes>
<design:usageHints>
<design:label>OFFICECODE</design:label>
<design:formattingHints>
<design:displaySize>10</design:displaySize>
</design:formattingHints>
</design:usageHints>
</design:resultColumnDefinitions>
<design:resultColumnDefinitions>
<design:attributes>
<design:name>CITY</design:name>
<design:position>2</design:position>
<design:nativeDataTypeCode>12</design:nativeDataTypeCode>
<design:precision>50</design:precision>
<design:scale>0</design:scale>
<design:nullability>Nullable</design:nullability>
<design:uiHints>
<design:displayName>CITY</design:displayName>
</design:uiHints>
</design:attributes>
<design:usageHints>
<design:label>CITY</design:label>
<design:formattingHints>
<design:displaySize>50</design:displaySize>
</design:formattingHints>
</design:usageHints>
</design:resultColumnDefinitions>
<design:resultColumnDefinitions>
<design:attributes>
<design:name>PHONE</design:name>
<design:position>3</design:position>
<design:nativeDataTypeCode>12</design:nativeDataTypeCode>
<design:precision>50</design:precision>
<design:scale>0</design:scale>
<design:nullability>Nullable</design:nullability>
<design:uiHints>
<design:displayName>PHONE</design:displayName>
</design:uiHints>
</design:attributes>
<design:usageHints>
<design:label>PHONE</design:label>
<design:formattingHints>
<design:displaySize>50</design:displaySize>
</design:formattingHints>
</design:usageHints>
</design:resultColumnDefinitions>
<design:resultColumnDefinitions>
<design:attributes>
<design:name>ADDRESSLINE1</design:name>
<design:position>4</design:position>
<design:nativeDataTypeCode>12</design:nativeDataTypeCode>
<design:precision>50</design:precision>
<design:scale>0</design:scale>
<design:nullability>Nullable</design:nullability>
<design:uiHints>
<design:displayName>ADDRESSLINE1</design:displayName>
</design:uiHints>
</design:attributes>
<design:usageHints>
<design:label>ADDRESSLINE1</design:label>
<design:formattingHints>
<design:displaySize>50</design:displaySize>
</design:formattingHints>
</design:usageHints>
</design:resultColumnDefinitions>
<design:resultColumnDefinitions>
<design:attributes>
<design:name>ADDRESSLINE2</design:name>
<design:position>5</design:position>
<design:nativeDataTypeCode>12</design:nativeDataTypeCode>
<design:precision>50</design:precision>
<design:scale>0</design:scale>
<design:nullability>Nullable</design:nullability>
<design:uiHints>
<design:displayName>ADDRESSLINE2</design:displayName>
</design:uiHints>
</design:attributes>
<design:usageHints>
<design:label>ADDRESSLINE2</design:label>
<design:formattingHints>
<design:displaySize>50</design:displaySize>
</design:formattingHints>
</design:usageHints>
</design:resultColumnDefinitions>
<design:resultColumnDefinitions>
<design:attributes>
<design:name>STATE</design:name>
<design:position>6</design:position>
<design:nativeDataTypeCode>12</design:nativeDataTypeCode>
<design:precision>50</design:precision>
<design:scale>0</design:scale>
<design:nullability>Nullable</design:nullability>
<design:uiHints>
<design:displayName>STATE</design:displayName>
</design:uiHints>
</design:attributes>
<design:usageHints>
<design:label>STATE</design:label>
<design:formattingHints>
<design:displaySize>50</design:displaySize>
</design:formattingHints>
</design:usageHints>
</design:resultColumnDefinitions>
<design:resultColumnDefinitions>
<design:attributes>
<design:name>COUNTRY</design:name>
<design:position>7</design:position>
<design:nativeDataTypeCode>12</design:nativeDataTypeCode>
<design:precision>50</design:precision>
<design:scale>0</design:scale>
<design:nullability>Nullable</design:nullability>
<design:uiHints>
<design:displayName>COUNTRY</design:displayName>
</design:uiHints>
</design:attributes>
<design:usageHints>
<design:label>COUNTRY</design:label>
<design:formattingHints>
<design:displaySize>50</design:displaySize>
</design:formattingHints>
</design:usageHints>
</design:resultColumnDefinitions>
<design:resultColumnDefinitions>
<design:attributes>
<design:name>POSTALCODE</design:name>
<design:position>8</design:position>
<design:nativeDataTypeCode>12</design:nativeDataTypeCode>
<design:precision>15</design:precision>
<design:scale>0</design:scale>
<design:nullability>Nullable</design:nullability>
<design:uiHints>
<design:displayName>POSTALCODE</design:displayName>
</design:uiHints>
</design:attributes>
<design:usageHints>
<design:label>POSTALCODE</design:label>
<design:formattingHints>
<design:displaySize>15</design:displaySize>
</design:formattingHints>
</design:usageHints>
</design:resultColumnDefinitions>
<design:resultColumnDefinitions>
<design:attributes>
<design:name>TERRITORY</design:name>
<design:position>9</design:position>
<design:nativeDataTypeCode>12</design:nativeDataTypeCode>
<design:precision>10</design:precision>
<design:scale>0</design:scale>
<design:nullability>Nullable</design:nullability>
<design:uiHints>
<design:displayName>TERRITORY</design:displayName>
</design:uiHints>
</design:attributes>
<design:usageHints>
<design:label>TERRITORY</design:label>
<design:formattingHints>
<design:displaySize>10</design:displaySize>
</design:formattingHints>
</design:usageHints>
</design:resultColumnDefinitions>
</design:resultSetColumns>
</design:resultSetDefinitions>
</design:ResultSets>
</model:DesignValues>]]></xml-property>
</oda-data-set>
<oda-data-set
extensionID="org.eclipse.birt.report.data.oda.jdbc.JdbcSelectDataSet"
name="Office1" id="207">
<list-property name="columnHints">
<structure>
<property name="columnName">OFFICECODE</property>
<property name="displayName">OFFICECODE</property>
</structure>
</list-property>
<structure name="cachedMetaData">
<list-property name="resultSet">
<structure>
<property name="position">1</property>
<property name="name">OFFICECODE</property>
<property name="dataType">string</property>
</structure>
</list-property>
</structure>
<property name="dataSource">Data Source</property>
<list-property name="resultSet">
<structure>
<property name="position">1</property>
<property name="name">OFFICECODE</property>
<property name="nativeName">OFFICECODE</property>
<property name="dataType">string</property>
<property name="nativeDataType">12</property>
</structure>
</list-property>
<property name="queryText">select OFFICECODE
from CLASSICMODELS.OFFICES</property>
<xml-property name="designerValues"><![CDATA[<?xml
version="1.0" encoding="UTF-8"?>
<model:DesignValues
xmlns:design="http://www.eclipse.org/datatools/connectivity/oda/design"
xmlns:model="http://www.eclipse.org/birt/report/model/adapter/odaModel">
<Version>1.0</Version>
<design:ResultSets derivedMetaData="true">
<design:resultSetDefinitions>
<design:resultSetColumns>
<design:resultColumnDefinitions>
<design:attributes>
<design:name>OFFICECODE</design:name>
<design:position>1</design:position>
<design:nativeDataTypeCode>12</design:nativeDataTypeCode>
<design:precision>10</design:precision>
<design:scale>0</design:scale>
<design:nullability>Nullable</design:nullability>
<design:uiHints>
<design:displayName>OFFICECODE</design:displayName>
</design:uiHints>
</design:attributes>
<design:usageHints>
<design:label>OFFICECODE</design:label>
<design:formattingHints>
<design:displaySize>10</design:displaySize>
</design:formattingHints>
</design:usageHints>
</design:resultColumnDefinitions>
<design:resultColumnDefinitions>
<design:attributes>
<design:name>CITY</design:name>
<design:position>2</design:position>
<design:nativeDataTypeCode>12</design:nativeDataTypeCode>
<design:precision>50</design:precision>
<design:scale>0</design:scale>
<design:nullability>Nullable</design:nullability>
<design:uiHints>
<design:displayName>CITY</design:displayName>
</design:uiHints>
</design:attributes>
<design:usageHints>
<design:label>CITY</design:label>
<design:formattingHints>
<design:displaySize>50</design:displaySize>
</design:formattingHints>
</design:usageHints>
</design:resultColumnDefinitions>
<design:resultColumnDefinitions>
<design:attributes>
<design:name>PHONE</design:name>
<design:position>3</design:position>
<design:nativeDataTypeCode>12</design:nativeDataTypeCode>
<design:precision>50</design:precision>
<design:scale>0</design:scale>
<design:nullability>Nullable</design:nullability>
<design:uiHints>
<design:displayName>PHONE</design:displayName>
</design:uiHints>
</design:attributes>
<design:usageHints>
<design:label>PHONE</design:label>
<design:formattingHints>
<design:displaySize>50</design:displaySize>
</design:formattingHints>
</design:usageHints>
</design:resultColumnDefinitions>
<design:resultColumnDefinitions>
<design:attributes>
<design:name>ADDRESSLINE1</design:name>
<design:position>4</design:position>
<design:nativeDataTypeCode>12</design:nativeDataTypeCode>
<design:precision>50</design:precision>
<design:scale>0</design:scale>
<design:nullability>Nullable</design:nullability>
<design:uiHints>
<design:displayName>ADDRESSLINE1</design:displayName>
</design:uiHints>
</design:attributes>
<design:usageHints>
<design:label>ADDRESSLINE1</design:label>
<design:formattingHints>
<design:displaySize>50</design:displaySize>
</design:formattingHints>
</design:usageHints>
</design:resultColumnDefinitions>
<design:resultColumnDefinitions>
<design:attributes>
<design:name>ADDRESSLINE2</design:name>
<design:position>5</design:position>
<design:nativeDataTypeCode>12</design:nativeDataTypeCode>
<design:precision>50</design:precision>
<design:scale>0</design:scale>
<design:nullability>Nullable</design:nullability>
<design:uiHints>
<design:displayName>ADDRESSLINE2</design:displayName>
</design:uiHints>
</design:attributes>
<design:usageHints>
<design:label>ADDRESSLINE2</design:label>
<design:formattingHints>
<design:displaySize>50</design:displaySize>
</design:formattingHints>
</design:usageHints>
</design:resultColumnDefinitions>
<design:resultColumnDefinitions>
<design:attributes>
<design:name>STATE</design:name>
<design:position>6</design:position>
<design:nativeDataTypeCode>12</design:nativeDataTypeCode>
<design:precision>50</design:precision>
<design:scale>0</design:scale>
<design:nullability>Nullable</design:nullability>
<design:uiHints>
<design:displayName>STATE</design:displayName>
</design:uiHints>
</design:attributes>
<design:usageHints>
<design:label>STATE</design:label>
<design:formattingHints>
<design:displaySize>50</design:displaySize>
</design:formattingHints>
</design:usageHints>
</design:resultColumnDefinitions>
<design:resultColumnDefinitions>
<design:attributes>
<design:name>COUNTRY</design:name>
<design:position>7</design:position>
<design:nativeDataTypeCode>12</design:nativeDataTypeCode>
<design:precision>50</design:precision>
<design:scale>0</design:scale>
<design:nullability>Nullable</design:nullability>
<design:uiHints>
<design:displayName>COUNTRY</design:displayName>
</design:uiHints>
</design:attributes>
<design:usageHints>
<design:label>COUNTRY</design:label>
<design:formattingHints>
<design:displaySize>50</design:displaySize>
</design:formattingHints>
</design:usageHints>
</design:resultColumnDefinitions>
<design:resultColumnDefinitions>
<design:attributes>
<design:name>POSTALCODE</design:name>
<design:position>8</design:position>
<design:nativeDataTypeCode>12</design:nativeDataTypeCode>
<design:precision>15</design:precision>
<design:scale>0</design:scale>
<design:nullability>Nullable</design:nullability>
<design:uiHints>
<design:displayName>POSTALCODE</design:displayName>
</design:uiHints>
</design:attributes>
<design:usageHints>
<design:label>POSTALCODE</design:label>
<design:formattingHints>
<design:displaySize>15</design:displaySize>
</design:formattingHints>
</design:usageHints>
</design:resultColumnDefinitions>
<design:resultColumnDefinitions>
<design:attributes>
<design:name>TERRITORY</design:name>
<design:position>9</design:position>
<design:nativeDataTypeCode>12</design:nativeDataTypeCode>
<design:precision>10</design:precision>
<design:scale>0</design:scale>
<design:nullability>Nullable</design:nullability>
<design:uiHints>
<design:displayName>TERRITORY</design:displayName>
</design:uiHints>
</design:attributes>
<design:usageHints>
<design:label>TERRITORY</design:label>
<design:formattingHints>
<design:displaySize>10</design:displaySize>
</design:formattingHints>
</design:usageHints>
</design:resultColumnDefinitions>
</design:resultSetColumns>
</design:resultSetDefinitions>
</design:ResultSets>
</model:DesignValues>]]></xml-property>
</oda-data-set>
</data-sets>
<styles>
<style name="report" id="4">
<property name="fontFamily">"Verdana"</property>
<property name="fontSize">10pt</property>
</style>
<style name="crosstab" id="5">
<property name="borderBottomColor">#CCCCCC</property>
<property name="borderBottomStyle">solid</property>
<property name="borderBottomWidth">1pt</property>
<property name="borderLeftColor">#CCCCCC</property>
<property name="borderLeftStyle">solid</property>
<property name="borderLeftWidth">1pt</property>
<property name="borderRightColor">#CCCCCC</property>
<property name="borderRightStyle">solid</property>
<property name="borderRightWidth">1pt</property>
<property name="borderTopColor">#CCCCCC</property>
<property name="borderTopStyle">solid</property>
<property name="borderTopWidth">1pt</property>
</style>
<style name="crosstab-cell" id="6">
<property name="borderBottomColor">#CCCCCC</property>
<property name="borderBottomStyle">solid</property>
<property name="borderBottomWidth">1pt</property>
<property name="borderLeftColor">#CCCCCC</property>
<property name="borderLeftStyle">solid</property>
<property name="borderLeftWidth">1pt</property>
<property name="borderRightColor">#CCCCCC</property>
<property name="borderRightStyle">solid</property>
<property name="borderRightWidth">1pt</property>
<property name="borderTopColor">#CCCCCC</property>
<property name="borderTopStyle">solid</property>
<property name="borderTopWidth">1pt</property>
</style>
</styles>
<page-setup>
<simple-master-page name="Simple MasterPage" id="2">
<property name="topMargin">0.25in</property>
<property name="leftMargin">0.25in</property>
<property name="bottomMargin">0.25in</property>
<property name="rightMargin">0.25in</property>
<page-footer>
<text id="3">
<property name="contentType">html</property>
<text-property
name="content"><![CDATA[<value-of>new Date()</value-of>]]></text-property>
</text>
</page-footer>
</simple-master-page>
</page-setup>
<body>
<table id="10">
<property name="width">100%</property>
<property name="dataSet">Employee</property>
<list-property name="boundDataColumns">
<structure>
<property name="name">EMPLOYEENUMBER</property>
<property name="displayName">EMPLOYEENUMBER</property>
<expression
name="expression">dataSetRow["EMPLOYEENUMBER"]</expression>
<property name="dataType">integer</property>
</structure>
<structure>
<property name="name">LASTNAME</property>
<property name="displayName">LASTNAME</property>
<expression
name="expression">dataSetRow["LASTNAME"]</expression>
<property name="dataType">string</property>
</structure>
<structure>
<property name="name">FIRSTNAME</property>
<property name="displayName">FIRSTNAME</property>
<expression
name="expression">dataSetRow["FIRSTNAME"]</expression>
<property name="dataType">string</property>
</structure>
<structure>
<property name="name">EXTENSION</property>
<property name="displayName">EXTENSION</property>
<expression
name="expression">dataSetRow["EXTENSION"]</expression>
<property name="dataType">string</property>
</structure>
<structure>
<property name="name">EMAIL</property>
<property name="displayName">EMAIL</property>
<expression
name="expression">dataSetRow["EMAIL"]</expression>
<property name="dataType">string</property>
</structure>
<structure>
<property name="name">OFFICECODE</property>
<property name="displayName">OFFICECODE</property>
<expression
name="expression">dataSetRow["OFFICECODE"]</expression>
<property name="dataType">string</property>
</structure>
<structure>
<property name="name">REPORTSTO</property>
<property name="displayName">REPORTSTO</property>
<expression
name="expression">dataSetRow["REPORTSTO"]</expression>
<property name="dataType">integer</property>
</structure>
<structure>
<property name="name">JOBTITLE</property>
<property name="displayName">JOBTITLE</property>
<expression
name="expression">dataSetRow["JOBTITLE"]</expression>
<property name="dataType">string</property>
</structure>
</list-property>
<column id="31"/>
<header>
<row id="11">
<cell id="12">
<label id="32">
<text-property
name="text">Employee</text-property>
</label>
</cell>
</row>
</header>
<detail>
<row id="13">
<cell id="14">
<grid id="189">
<property name="width">100%</property>
<column id="190"/>
<row id="191">
<cell id="192">
<data id="33">
<property
name="resultSetColumn">EMPLOYEENUMBER</property>
</data>
</cell>
</row>
<row id="193">
<cell id="194">
<data id="34">
<property
name="resultSetColumn">LASTNAME</property>
</data>
</cell>
</row>
<row id="195">
<cell id="196">
<data id="35">
<property
name="resultSetColumn">FIRSTNAME</property>
</data>
</cell>
</row>
<row id="197">
<cell id="198">
<data id="36">
<property
name="resultSetColumn">EXTENSION</property>
</data>
</cell>
</row>
<row id="199">
<cell id="200">
<data id="37">
<property
name="resultSetColumn">EMAIL</property>
</data>
</cell>
</row>
<row id="201">
<cell id="202">
<data id="38">
<property
name="resultSetColumn">OFFICECODE</property>
<structure name="action">
<property
name="linkType">bookmark-link</property>
<expression
name="targetBookmark">"_Tocmycode"+row["OFFICECODE"]</expression>
</structure>
</data>
</cell>
</row>
<row id="203">
<cell id="204">
<data id="39">
<property
name="resultSetColumn">REPORTSTO</property>
</data>
</cell>
</row>
<row id="205">
<cell id="206">
<data id="40">
<property
name="resultSetColumn">JOBTITLE</property>
</data>
</cell>
</row>
</grid>
</cell>
</row>
</detail>
<footer>
<row id="29">
<cell id="30"/>
</row>
</footer>
</table>
<table id="115">
<property name="width"&g
Re: Hyperlink/bookmark not working [message #676888 is a reply to message #675583] Mon, 06 June 2011 21:05 Go to previous messageGo to next message
Neil Wang is currently offline Neil Wang
Messages: 105
Registered: July 2009
Senior Member
Hi Jason,

Can you please attach your example as a file? The XML is not complete.

regards,

Neil
Re: Hyperlink/bookmark not working [message #677133 is a reply to message #676888] Tue, 07 June 2011 16:39 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

Neil

Here it is.

Jason

On 6/6/2011 5:05 PM, Neil Wang wrote:
> Hi Jason,
>
> Can you please attach your example as a file? The XML is not complete.
>
> regards,
>
> Neil
  • Attachment: Neil.zip
    (Size: 3.47KB, Downloaded 82 times)
Re: Hyperlink/bookmark not working [message #677134 is a reply to message #676888] Tue, 07 June 2011 16:39 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

Neil

Here it is.

Jason

On 6/6/2011 5:05 PM, Neil Wang wrote:
> Hi Jason,
>
> Can you please attach your example as a file? The XML is not complete.
>
> regards,
>
> Neil
  • Attachment: Neil.zip
    (Size: 3.47KB, Downloaded 72 times)
Re: Hyperlink/bookmark not working [message #677141 is a reply to message #676888] Tue, 07 June 2011 16:39 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

Neil

Here it is.

Jason

On 6/6/2011 5:05 PM, Neil Wang wrote:
> Hi Jason,
>
> Can you please attach your example as a file? The XML is not complete.
>
> regards,
>
> Neil
  • Attachment: Neil.zip
    (Size: 3.47KB, Downloaded 69 times)
Re: Hyperlink/bookmark not working [message #677144 is a reply to message #676888] Tue, 07 June 2011 16:39 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

Neil

Here it is.

Jason

On 6/6/2011 5:05 PM, Neil Wang wrote:
> Hi Jason,
>
> Can you please attach your example as a file? The XML is not complete.
>
> regards,
>
> Neil
  • Attachment: Neil.zip
    (Size: 3.47KB, Downloaded 78 times)
Re: Hyperlink/bookmark not working [message #677152 is a reply to message #676888] Tue, 07 June 2011 16:39 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

Neil

Here it is.

Jason

On 6/6/2011 5:05 PM, Neil Wang wrote:
> Hi Jason,
>
> Can you please attach your example as a file? The XML is not complete.
>
> regards,
>
> Neil
  • Attachment: Neil.zip
    (Size: 3.47KB, Downloaded 76 times)
Re: Hyperlink/bookmark not working [message #677154 is a reply to message #676888] Tue, 07 June 2011 16:39 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

Neil

Here it is.

Jason

On 6/6/2011 5:05 PM, Neil Wang wrote:
> Hi Jason,
>
> Can you please attach your example as a file? The XML is not complete.
>
> regards,
>
> Neil
  • Attachment: Neil.zip
    (Size: 3.47KB, Downloaded 71 times)
Re: Hyperlink/bookmark not working [message #677163 is a reply to message #676888] Tue, 07 June 2011 16:39 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

Neil

Here it is.

Jason

On 6/6/2011 5:05 PM, Neil Wang wrote:
> Hi Jason,
>
> Can you please attach your example as a file? The XML is not complete.
>
> regards,
>
> Neil
  • Attachment: Neil.zip
    (Size: 3.47KB, Downloaded 66 times)
Re: Hyperlink/bookmark not working [message #677167 is a reply to message #676888] Tue, 07 June 2011 16:39 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

Neil

Here it is.

Jason

On 6/6/2011 5:05 PM, Neil Wang wrote:
> Hi Jason,
>
> Can you please attach your example as a file? The XML is not complete.
>
> regards,
>
> Neil
  • Attachment: Neil.zip
    (Size: 3.47KB, Downloaded 70 times)
Re: Hyperlink/bookmark not working [message #677172 is a reply to message #676888] Tue, 07 June 2011 16:39 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

Neil

Here it is.

Jason

On 6/6/2011 5:05 PM, Neil Wang wrote:
> Hi Jason,
>
> Can you please attach your example as a file? The XML is not complete.
>
> regards,
>
> Neil
  • Attachment: Neil.zip
    (Size: 3.47KB, Downloaded 63 times)
Re: Hyperlink/bookmark not working [message #677176 is a reply to message #676888] Tue, 07 June 2011 16:39 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

Neil

Here it is.

Jason

On 6/6/2011 5:05 PM, Neil Wang wrote:
> Hi Jason,
>
> Can you please attach your example as a file? The XML is not complete.
>
> regards,
>
> Neil
  • Attachment: Neil.zip
    (Size: 3.47KB, Downloaded 70 times)
Re: Hyperlink/bookmark not working [message #677178 is a reply to message #676888] Tue, 07 June 2011 16:39 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

Neil

Here it is.

Jason

On 6/6/2011 5:05 PM, Neil Wang wrote:
> Hi Jason,
>
> Can you please attach your example as a file? The XML is not complete.
>
> regards,
>
> Neil
  • Attachment: Neil.zip
    (Size: 3.47KB, Downloaded 69 times)
Re: Hyperlink/bookmark not working [message #677180 is a reply to message #676888] Tue, 07 June 2011 16:39 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

Neil

Here it is.

Jason

On 6/6/2011 5:05 PM, Neil Wang wrote:
> Hi Jason,
>
> Can you please attach your example as a file? The XML is not complete.
>
> regards,
>
> Neil
  • Attachment: Neil.zip
    (Size: 3.47KB, Downloaded 72 times)
Re: Hyperlink/bookmark not working [message #677181 is a reply to message #676888] Tue, 07 June 2011 16:39 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

Neil

Here it is.

Jason

On 6/6/2011 5:05 PM, Neil Wang wrote:
> Hi Jason,
>
> Can you please attach your example as a file? The XML is not complete.
>
> regards,
>
> Neil
  • Attachment: Neil.zip
    (Size: 3.47KB, Downloaded 60 times)
Re: Hyperlink/bookmark not working [message #677187 is a reply to message #676888] Tue, 07 June 2011 16:39 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

Neil

Here it is.

Jason

On 6/6/2011 5:05 PM, Neil Wang wrote:
> Hi Jason,
>
> Can you please attach your example as a file? The XML is not complete.
>
> regards,
>
> Neil
  • Attachment: Neil.zip
    (Size: 3.47KB, Downloaded 70 times)
Re: Hyperlink/bookmark not working [message #677248 is a reply to message #677133] Tue, 07 June 2011 22:33 Go to previous messageGo to next message
Neil Wang is currently offline Neil Wang
Messages: 105
Registered: July 2009
Senior Member
Hi Jason,

I looked at your file and it works fine. I tried to follow what you did by
1. add a bookmark and toc
2. add a hyperlink to the bookmark

however, it doesn't work for me. (Please have a look at the attachment)
please advise.

Neil
Re: Hyperlink/bookmark not working [message #677467 is a reply to message #677248] Wed, 08 June 2011 15:31 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

Neil

I got yours to work by changing your hyplerlink to:
"_Tocmycode" + row["OFFICECODE"]

your target bookmark is
"_Tocmycode" + row["OFFICECODE"]
and its toc entry is
"mycode" + row["OFFICECODE"]

Jason

On 6/7/2011 6:33 PM, Neil Wang wrote:
> Hi Jason,
>
> I looked at your file and it works fine. I tried to follow what you did by
> 1. add a bookmark and toc
> 2. add a hyperlink to the bookmark
>
> however, it doesn't work for me. (Please have a look at the attachment)
> please advise.
>
> Neil
Re: Hyperlink/bookmark not working [message #677609 is a reply to message #677467] Wed, 08 June 2011 23:55 Go to previous messageGo to next message
Neil Wang is currently offline Neil Wang
Messages: 105
Registered: July 2009
Senior Member
Hi Jason,

Is there something magical about "_Tocmycode" and "mycode"?
I thought as long as they are unique, it will work. For example, I tried replacing "_Tocmycode" with "uniqueprefix" but it doesn't work.

please advise.

Neil
Re: Hyperlink/bookmark not working [message #677640 is a reply to message #677609] Thu, 09 June 2011 03:11 Go to previous message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

nothing unique about mycode, but the word emitter adds "_Toc" for table
of contents entries.

Jason

On 6/8/2011 7:55 PM, Neil Wang wrote:
> Hi Jason,
>
> Is there something magical about "_Tocmycode" and "mycode"?
> I thought as long as they are unique, it will work. For example, I tried
> replacing "_Tocmycode" with "uniqueprefix" but it doesn't work.
>
> please advise.
>
> Neil
Previous Topic:The viewing session is not available or has expired
Next Topic:JDBC DRIVER CLASS
Goto Forum:
  


Current Time: Thu Oct 02 08:40:38 GMT 2014

Powered by FUDForum. Page generated in 0.03558 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software