Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Hyperlinks not showing up in Excel

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Hyperlinks not showing up in Excel
 Login/Join
 
Member
posted
I'm using a DEFINE to hide a hyperlink behind a field. And when I output this to excel, nothing shows up. Excel says there is something wrong with the content. Outputting to HTML works just fine. I've tried EXL07 and XLSX formats, and neither works. I have gone back to trying EXL2K with some success. My field and it's link does show up but it attaches %25 to the end of every link. Any ideas out there? Below is some very simple code I'm using for testing:
 
DEFINE FILE CSPRDNU_NBO_ADM_CPP_VW
YOURID/A200 = '<a href="https://csprdnu.nebraska.edu/psp/csprdnu/EMPLOYEE/HRMS/c/PROCESS_APPLICATIONS.ADM_APPL_MAINTNCE.GBL?EMPLID=' || EMPLID | '" >' | EMPLID | '</>';

END

TABLE FILE CSPRDNU_NBO_ADM_CPP_VW
PRINT
YOURID
WHERE INSTITUTION EQ 'NEUNO';
WHERE READLIMIT EQ 10;
ON TABLE PCHOLD FORMAT EXL07
END

This message has been edited. Last edited by: FP Mod Chuck,


WebFOCUS 8008
Windows, All Outputs
 
Posts: 3 | Registered: May 21, 2014Report This Post
Virtuoso
posted Hide Post
You are trying to put HTML code into an Excel spreadsheet. Use the inbuilt drill down to URL with parameters and then this should work.


Alan.
WF 7.705/8.007
 
Posts: 1451 | Location: Portugal | Registered: February 07, 2007Report This Post
Member
posted Hide Post
Thanks for replying Alan. I don't suppose you have any good examples of how to do this do you? Or maybe some good resources? I'm new to all this if you couldn't tell. Thanks!


WebFOCUS 8008
Windows, All Outputs
 
Posts: 3 | Registered: May 21, 2014Report This Post
Expert
posted Hide Post
TABLE FILE CAR
SUM
SALES
BY COUNTRY

ON TABLE PCHOLD FORMAT EXL07

ON TABLE SET STYLE *
TYPE=DATA, COLUMN=COUNTRY, URL='https://duckduckgo.com/?' (q=COUNTRY), TARGET=_blank, $
ENDSTYLE
END


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Member
posted Hide Post
Thanks, Francis. Everything is now working.


WebFOCUS 8008
Windows, All Outputs
 
Posts: 3 | Registered: May 21, 2014Report This Post
Member
posted Hide Post
Hi Francis,

thanks for the info, i have similar issue.

we have different hyperlinks for each row in excel and instead of showing entire URL, we want to show it in some Text like Download.

Our output default is HTML & user has a option to see the same data on Excel, but Hyperlink is not working in Excel, it works in HTML . Can you please provide solutions which will be great help for me.



quote:
Originally posted by Francis Mariani:
TABLE FILE CAR
SUM
SALES
BY COUNTRY

ON TABLE PCHOLD FORMAT EXL07

ON TABLE SET STYLE *
TYPE=DATA, COLUMN=COUNTRY, URL='https://duckduckgo.com/?' (q=COUNTRY), TARGET=_blank, $
ENDSTYLE
END


8.1
 
Posts: 2 | Registered: April 04, 2019Report This Post
Virtuoso
posted Hide Post
Amar4Webfocus

First of all welcome to Focal Point! It is a great forum for getting answers to your development questions.

Francis hasn't posted anything in a while. Can you please post your code so we can try to reproduce it. To post code it must be in between the code tag the last icon on the end of the toolbar.


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats
 
Posts: 2127 | Location: Customer Support | Registered: April 12, 2005Report This Post
Member
posted Hide Post
TEST1/A650V=' DOWNLOAD ' ;

this is for HTML

DOWNLOAD_FILE : URL is coming from the database table.URL is storing in the download_file to the appropriate data.

can u please help me in writing the same for excel please


8.1
 
Posts: 2 | Registered: April 04, 2019Report This Post
Virtuoso
posted Hide Post
Amar4WebFocus

This code should do what you need. I did it from App Studio and selected the TEST1 field and created a Hyperlink with the option URL from a Field.


DEFINE FILE CAR
URL_FIELD/A650='http://www.google.com';
TEST1/A10='DOWNLOAD';
END
TABLE FILE CAR
SUM
URL_FIELD NOPRINT
TEST1
BY CAR.ORIGIN.COUNTRY
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT XLSX
ON TABLE SET XLSXPAGESETS ON
ON TABLE SET STYLE *
$
TYPE=DATA,
COLUMN=N3,
URL=(URL_FIELD),
$
ENDSTYLE
END

This message has been edited. Last edited by: FP Mod Chuck,


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats
 
Posts: 2127 | Location: Customer Support | Registered: April 12, 2005Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Hyperlinks not showing up in Excel

Copyright © 1996-2020 Information Builders