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 have a code in Dev Studio with a defined paragraph field. I simply want to add a hyperlink in the paragraph. How can this be done? I have succeeded in creating a standalone hyperlink in a completely blank procedure but no luck within the defined paragraph.
Thanks, PThis message has been edited. Last edited by: phoenixfox,
The code is pretty lengthy. Here is one defined paragraph. -**********CODE BEGINS********************** PARAGRAPH5/A1000 = IF F8 EQ 'RE_2YR' THEN 'Your residency for tuition purposes is ' | RES_STAT || '. If you feel this is incorrect, you must fill out a residency application and submit it to the Residency Determination Office.' ELSE IF F8 EQ 'RE_DYDPT' THEN 'Do not enroll at UNC-Charlotte for 24 consecutive months. At that time you would be eligible for readmission using the Two Year Rule.' ELSE IF F8 EQ 'RE_DEGREE' THEN 'Your residency for tuition purposes is ' | RES_STAT || '. If you feel this incorrect, you must fill out a residency application and submit it to the Residency Determination Office.' ELSE IF F8 EQ 'RE_SD' THEN ''; -*****CODE ENDS****************************
When the Excel output is generated, I would like "Residency Determination Office" to be a hyperlink.
I know two years in an education establishment can be a long time but you posted the exact same question (with the same code snippet!) in June 2012 (link). I recognised the text for the link!
Did one of those solutions not suit?
T
In FOCUS since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2
WebFOCUS App Studio 8.2.06 standalone on Windows 10
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004
You're absolutely right Tony. I couldn't figure it out with the solutions provided and so I tabled it until now. Responders say what I can do but now how to do it. SO I will try stur0063's suggestion and see if I can get it to work this time. Thank you.
When you say "linking the column" do you mean this? Also when you said you like the hyperlink for "Residency Determination Office". You could use a conditional hyperlink on the column using WHEN statement. Hope it helps.
-***Paragraph5**************** PARAGRAPH5/A1000 = IF F8 EQ 'RE_DEGREE' THEN 'Your residency for tuition purposes is ' | RES_STAT || '. If you feel this incorrect, you must fill out a residency application and submit it to the Residency Determination Office.' ELSE IF F8 EQ 'RE_SD' THEN ''; -****************************
-****Style******************* ON TABLE SET HTMLCSS ON ON TABLE SET STYLE *
TYPE=DATA COLUMN=HYPERLINK URL=http://www.resdetermination.uncc.edu, WHEN PARAGRAPH5='Residency Determination Office', $ --***********************************
Are you determined that the entire cell for PARAGRAPH5 is not to be the link and to have a separate cell for containing the link?
If so then I would suggest something like this -
DEFINE FILE yourfile
HYPERLINK/A30 MISSING ON = IF F8 IN ('RE_2YR','RE_DEGREE') THEN 'Residency Determination Office' ELSE MISSING;
PARAGRAPH5/A1000 = IF F8 EQ 'RE_2YR' THEN 'Your residency for tuition purposes is ' | RES_STAT || '. If you feel this is incorrect, you must fill out a residency application and submit it to the Residency Determination Office.'
ELSE IF F8 EQ 'RE_DYDPT' THEN 'Do not enroll at UNC-Charlotte for 24 consecutive months. At that time you would be eligible for readmission using the Two Year Rule.'
ELSE IF F8 EQ 'RE_DEGREE' THEN 'Your residency for tuition purposes is ' | RES_STAT || '. If you feel this incorrect, you must fill out a residency application and submit it to the Residency Determination Office.'
ELSE IF F8 EQ 'RE_SD' THEN '';
END
TABLE FILE yourfile
[verb] PARAGRAPH5 AS ''
HYPERLINK AS 'Links'
BY field etc.
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
TYPE=DATA, COLUMN=HYPERLINK, URL=http://www.resdetermination.uncc.edu,
WHEN=HYPERLINK EQ 'Residency Determination Office', $
ENDSTYLE
END
-RUN
T
In FOCUS since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2
WebFOCUS App Studio 8.2.06 standalone on Windows 10
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004
Well, the above by Tony gives me output. However, no hyperlink. I'm not opposed to trying the other method (entire paragraph link) I wasn't sure about the syntax.
Hello. Can anyone shed any light on why the hyperlink is not active when merging the Excel file into a Word document? I'm doing a mail merge and inserting the merged fields.
I know nothing of merging Excel files into Word documents, I assume you're using some kind of external (to WF) product for that? It's quite possible that that product strips out your URL; you'll have to ask the vendor about that.
If not and if your link target is a WebFOCUS procedure, did you SET FOCEXURL = 'http://your.company.com/' in your procedure?
WebFOCUS 8.1.03, Windows 7-64/2008-64, IBM DB2/400, Oracle 11g & RDB, MS SQL-Server 2005, SAP, PostgreSQL 11, Output: HTML, PDF, Excel 2010 : Member of User Group Benelux :