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.
Can someone please help or point me in the right direction, I've spent hours searching these forums, the IBI documentation, and the internet in general without any success.This message has been edited. Last edited by: <Kathryn Henning>,
WebFOCUS 8.1.0.5 Windows 10, all output
Posts: 16 | Location: CT | Registered: April 12, 2013
I am trying to make a link in the report, it seems what i wrote in my post made a link out of what the string I wanted to show whole. In my report it shows the whole string from the opening of the html anchor tag to the close all as one string. I will correct this for clarity if I can.
WebFOCUS 8.1.0.5 Windows 10, all output
Posts: 16 | Location: CT | Registered: April 12, 2013
You may need to use escape characters and/or hex values for different parts of your hyperlink. For example, WebFOCUS expects the ampersand to be the start of a variable. Search the forums for different examples on what you need.
WebFOCUS 7.7.03/8.0.08 Dev Studio 7.7.03/8.0.08 App Studio 8.0.08 Windows 7 ALL Outputs
Posts: 402 | Location: Upland, IN | Registered: June 08, 2012
Thanks for your response J, everything that I've found on using amperstands say that there needs to be a pipe ('|') between the amp and what follows which I did. As for escaping charaters, I tried escaping each of the <,>,?,& characters and the result was a the same string with the '\' character before each of them. WF seems to insist on displaying the entire string as is.
WebFOCUS 8.1.0.5 Windows 10, all output
Posts: 16 | Location: CT | Registered: April 12, 2013
Going back to your actual requirement (if my understanding is correct):
quote:
... so that I can make the link active conditionally.
Does the URL link created by the tool via STYLE declaration work?
If so, and all you need is to make such link available upon a particular condition, why not DEFINE a new field where you establish if your condition is met or not and then use that result as part of the WHEN= clause in the stylesheet declaration?
DEFINE FILE BLAH
SHOW_LINK_FLAG/A1 = IF <your_complex_condition_here> THEN 'Y' ELSE 'N';
END
TABLE FILE BLAH
PRINT
PAYMENT_REQ_DOC_NUMBER
ANOTHER_FIELD_1
YET_ANOTHER_FIELD_2
MAYBE_ANOTHER_FIELD_3
LAST_ONE_4
SHOW_LINK_FLAG NOPRINT
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
TYPE=DATA,
COLUMN=PAYMENT_REQ_DOC_NUMBER,
TARGET='_blank',
URL=https://my.domain.com/DocHandler.do?(command='displayDocSearchView' docId=PAYMENT_REQ_DOC_NUMBER),
WHEN=SHOW_LINK_FLAG EQ 'Y',
$
ENDSTYLE
END
That could be much easier than trying to redo what the tool can already do for you.
Again, maybe I'm misunderstanding your requirement so let us know if that's the case so we can try and tailor something else that may help