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.
With the WEBVIEWER ON - Parameter CAR doesnt get passed to test_fex_val.fex
TABLE FILE CAR PRINT COUNTRY CAR NOPRINT ON TABLE PCHOLD FORMAT AHTML ON TABLE SET PAGE-NUM OFF ON TABLE SET HTMLCSS ON ON TABLE SET WEBVIEWER ON ON TABLE SET CACHELINES 50 ON TABLE SET STYLE * TYPE=DATA, COLUMN=COUNTRY, WRAP = 4.6, FOCEXEC=test_fex_val.fex(CAR = CAR COUNTRY = COUNTRY),$ ENDSTYLE END
Any idea or alternatives. Please note: CAR Column needs to be hidden.
Thank youThis message has been edited. Last edited by: Kathleen Butler,
Sorry Gun, but Danny is right. WEBVIEWER and AHTML are pretty much mutually exclusive. YOu need to use one of the other.
WEBVIEWER preceeded AHTML by several years and was created to allow the first page of a long report to be sent to the user quickly as well as to provide realistic pagination in an HTML environment.
If you are going to offer the end user both oputput formats, I would use a something like:
-IF &WFFMT EQ 'AHTML' GOTO NOVIEW;
ON TABLE SET WEBVIEWER ON
-NOVIEW;
ON TABLE PCHOLD FORMAT &WFFMT
I hope this helps
Robert F. Bowley Jr. Owner TaRa Solutions, LLC
In WebFOCUS since 2001
Posts: 132 | Location: Gadsden, Al | Registered: July 22, 2005
If you want to create paging with AHTML format you should be using the paging feature associated with AHTML, which is LINES-PER-PAGE in the stylesheet.
My Concern was CAR Value not getting passed. Solved it by hiding the car column in the stylesheet.
TABLE FILE CAR PRINT COUNTRY CAR ON TABLE PCHOLD FORMAT AHTML ON TABLE SET PAGE-NUM OFF ON TABLE SET HTMLCSS ON ON TABLE SET WEBVIEWER ON ON TABLE SET CACHELINES 50 ON TABLE SET STYLE * TYPE=DATA, COLUMN=COUNTRY, WRAP = 4.6, FOCEXEC=test_fex_val.fex(CAR = CAR COUNTRY = COUNTRY),$ TYPE=REPORT, COLUMN=CAR, HIDE=ON,$ ENDSTYLE END
Turning WEBVIEWER ON in an AHTML request activates "active cache" as they are based on the same technology. You won't get the webviewer, but the rows in excess of what is stated by CACHELINES will remain on the server.
This makes it possible to have an active report that has 100,000 lines without causing significant issues with the web browser. However, you can not just save the HTML report and use it offline afterwards.
Windows: WF 7.6.2: SQL Server 2008 R2
Posts: 86 | Location: Chicago | Registered: August 03, 2007