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.
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,
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!
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
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
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, 2005
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, 2005