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     [CLOSED] How to create hyperlink for tree control..

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] How to create hyperlink for tree control..
 Login/Join
 
Silver Member
posted
I have in this format
under Report i have 3 sub reports
Car
Movies
Employee

I need to create 3 hyperlink for the three sub reports car, movies, employee in such a way
that when i select car it opens a new window and dispalys the output of car..

when i select movies it opens a new window and dispalys the output of movies..

This message has been edited. Last edited by: Kerry,


Webfocus 7702,Windows XP
 
Posts: 30 | Registered: May 18, 2011Report This Post
Gold member
posted Hide Post
You can have a launch page with three links by inserting a hyperlink from HTML Layout painter and link the procedures as an external procedure to open in new window option
or
If you want the Report links to appear below your existing report you can try as given in below example
DEFINE FILE CAR
CARRPT/A50='Car Report';
MOVRPT/A50='Movies Report';
EMPRPT/A50='Employee Report';
END
TABLE FILE CAR
PRINT
CAR 
MODEL 
BY COUNTRY
ON TABLE SET PAGE-NUM OFF
FOOTING
"<CARRPT"
"<MOVRPT"
"<EMPRPT"
ON TABLE SET STYLE *
TYPE=REPORT,
GRID=OFF,$
TYPE=FOOTING,
JUSTIFY=LEFT,
LINE=1,
FOCEXEC=car.fex,
TARGET='_blank',$
TYPE=FOOTING,
JUSTIFY=LEFT,
LINE=2,
FOCEXEC=movies.fex,
TARGET='_blank',$
TYPE=FOOTING,
JUSTIFY=LEFT,
LINE=3,
FOCEXEC=employee.fex,
TARGET='_blank',$
ENDSTYLE
END


WebFOCUS 8.1.05
Windows
Excel, PDF, HTML
 
Posts: 72 | Location: Flowood , MS | Registered: May 11, 2011Report This Post
Silver Member
posted Hide Post


Now i need to create an hyperlink for car,movies,employee so that their respective reports will get opened...


Webfocus 7702,Windows XP
 
Posts: 30 | Registered: May 18, 2011Report This Post
Gold member
posted Hide Post
kodi,
I dont really follow where you are going with this but if you are just trying to hard-code a make shift list of reports you could just build the html tree and hyperlinks that run the reports using HTMLFORM. If your trying to get all this in a single fex you will need to do some unconditional branching (GOTO command).

Do you have any code of what you are doing so far?


------------------------------------------
DevStudio 8.2.03
WFS 8.2.03
 
Posts: 86 | Location: Atlanta | Registered: May 10, 2007Report This Post
Silver Member
posted Hide Post
let me tell in a more descirptive way.

I have a launch home page.On the left side i have a long list of reports.
for ex.

Dashboards
car
movies
employee
Reports
Billings
Bookings
Finance
Master Data(under master data I will be having 4 sub reports so when i click Master data it should get expanded showing the 4 sub reports when i click each sub reort it should get opened in a new HTML page i need to get the logic for creating hyperlinks for the 4 subreports)


Webfocus 7702,Windows XP
 
Posts: 30 | Registered: May 18, 2011Report This Post
Expert
posted Hide Post
Could you please explain what code produced that snippet of screen you posted - radio buttons within a collapsible section (div?)?


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
Silver Member
posted Hide Post
i used single source tree control for the above one....


Webfocus 7702,Windows XP
 
Posts: 30 | Registered: May 18, 2011Report This Post
Expert
posted Hide Post
One way of achieving this would be to place your single source tree control within a form and then make the value attribute for your tree items equal to the report name that you want executed.

Add javascript to the onsubmit call within the form control to a new function. Within that new function call the report using the standard url for executing a report and direct that url at a new window, iframe etc.

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, 2004Report 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     [CLOSED] How to create hyperlink for tree control..

Copyright © 1996-2020 Information Builders