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     how to execute html files??

Read-Only Read-Only Topic
Go
Search
Notify
Tools
how to execute html files??
 Login/Join
 
Member
posted
on drill down we can execute procedures ( but it shows only the files with .fex extention). can we also execute files with htm extension.
Thanks.
 
Posts: 26 | Registered: January 26, 2007Report This Post
Virtuoso
posted Hide Post
Sure. When you create the drilldown, you can execute procedure, select URL, select URL from field, execute Javascript, or one of several Maintain options. This is selected from the "Drilldown Type" dropdown box in the GUI.


Regards,

Darin



In FOCUS since 1991
WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex
Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex
WF Client: 77 on Linux w/Tomcat
 
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007Report This Post
Member
posted Hide Post
yeah it does offer options to select URL, Javascript, procedure, but no options to select files with htm extention.
 
Posts: 26 | Registered: January 26, 2007Report This Post
Virtuoso
posted Hide Post
when you select the URL option, you specify the file with the .HTM as part of the URL


Regards,

Darin



In FOCUS since 1991
WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex
Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex
WF Client: 77 on Linux w/Tomcat
 
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007Report This Post
Member
posted Hide Post
Thanks Darin, it works now, I can execute the htm files from drill now. But I cannot pass on the parameters from drill down. Can you pelase suggest anything?
 
Posts: 26 | Registered: January 26, 2007Report This Post
Silver Member
posted Hide Post
Not really sure is this will help you but I will toss it out.

On your drill down wrap it in an anchor tag and send the paramater's using JavaScript.

Example........
{a href='java_script:getReportOpen[\""+yourValue_1+"\", \"" +yourValue_2+"\")'>DrillDownLinnk

In the heading put this.

<script>
function getReportOpen(Arg1, Arg2)
{
window.location = "mylinkedPage.htm?value1=" +Arg1+ "&value2=" +Arg2;
}

Edit: I had to break my tag so you could see the code.......Now someone needs to show my how to post code without having to break it just to get it to display.......... Big Grin

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


7.6.6 Mainframe
7.6.4 Web Focus
Windows

 
Posts: 45 | Location: Gaffney SC | Registered: March 30, 2007Report This Post
Virtuoso
posted Hide Post
Lucas - there is a little button (top, far right) that looks like that includes
 [CODE] and 
[/CODE] tags that you can post code between.

Back to the main question, can you clarify what you are try to accomplish by passing parameters to a .HTM file? Lucas' suggestion might work as well, but the GUI does allow parameters to be passed to a URL. You can add parameters like your normally would for a fex, then change the drilldown type to URL. It changes the last character in the URL to a ? indicating that parms are to follow, then includes the named pairs e.g. (COUNTRY=N1). Notice that you can also use "URL from field" meaning that you can define a field to contains the contents of your URL with all necessary parms, and then use that field as your URL. This would probably be your best bet, because it lets you dynamically build the URL (in a defined field) to contains whatever code you need.

This message has been edited. Last edited by: Darin Lee,


Regards,

Darin



In FOCUS since 1991
WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex
Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex
WF Client: 77 on Linux w/Tomcat
 
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007Report This Post
Silver Member
posted Hide Post
Thanks for the tip on how to insert code in post! Big Grin


7.6.6 Mainframe
7.6.4 Web Focus
Windows

 
Posts: 45 | Location: Gaffney SC | Registered: March 30, 2007Report This Post
Expert
posted Hide Post
You could simply have a drill down fex and include your HTML between -HTMLFORM BEGIN and -HTMLFORM END. Then then variables that you pass would be available within your HTML as !IBI.AMP.[variable name][b];[/].

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     how to execute html files??

Copyright © 1996-2020 Information Builders