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 differentiate Web FOCUS URL.

Read-Only Read-Only Topic
Go
Search
Notify
Tools
How to differentiate Web FOCUS URL.
 Login/Join
 
Member
posted
Hi ,
While executing fex file (Right click on procedure -> Run) from Web FOCUS client. the following URL is displaying. Also the same url is populating for all the
Procedures which in Web FOCUS client.
http://deve.sam.test.com:17805/ibi_apps/WFServlet .

Could you please help me how can we differentiate URLs with respect to procure name.

Thanks in advance.
Raveendra.


WebFOCUS 7.6.4

windows
 
Posts: 5 | Location: chennai | Registered: August 01, 2008Report This Post
Expert
posted Hide Post
I don't think you can. When you run it that way, it is running as an 'adhoc' request and the code is being sent to the reporting server not the name of a focexec. If you run it from a browser, the applicable variable is IBIF_ex.


Ginny
---------------------------------
Prod: WF 7.7.01 Dev: WF 7.6.9-11
Admin, MRE,self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable, Google
 
Posts: 2723 | Location: Ann Arbor, MI | Registered: April 05, 2006Report This Post
Member
posted Hide Post
hi,

the url of your output window will always be the same(ie http://yourserver:yourport/ibi_apps/WFServlet).

you cannot differentiate url or retrieve the procedure name from url.



-------------------------------------------------------
Using WF 7.6.4
On Windows XP ,
OUtput gif , jpg , html
 
Posts: 7 | Registered: August 11, 2008Report This Post
Member
posted Hide Post
Hi Rothlux,

Thank you .

if some one is asking us to send weburl for testing one of the report.
example : test1.fex.
how can we provide url for test1 fex file.



quote:
Originally posted by rothlux:
hi,

the url of your output window will always be the same(ie http://yourserver:yourport/ibi_apps/WFServlet).

you cannot differentiate url or retrieve the procedure name from url.


WebFOCUS 7.6.4

windows
 
Posts: 5 | Location: chennai | Registered: August 01, 2008Report This Post
<JG>
posted
If the fex resides in a folder in apppath then

http://yourserver:yourport/ibi_apps/WFServlet?IBIF_ex=test1

If you have securitiy on the user will be prompted to logon
If the fex is not in the APPPATH then you will need to add that
if you need additional parms you will need to add them
 
Report This Post
Member
posted Hide Post
if you want to call a fex with an url, it is possible with

http://yourserver:yourport/ibi_apps/WFServlet?IBIF_ex? yourfex.fex¶meter1=value1¶meter2=value2

fot test1 it should be something like :

http://deve.sam.test.com:17805/ibi_apps/WFServlet?IBIF_EX=test1.fex



-------------------------------------------------------
Using WF 7.6.4
On Windows XP ,
OUtput gif , jpg , html
 
Posts: 7 | Registered: August 11, 2008Report This Post
<JG>
posted
rothlux

It's servlet it's case sensitive it's IBIF_ex
 
Report This Post
Guru
posted Hide Post
If you want to run a FEX that is not in the APPPATH then you can just give an explicit app path to the URL - IBIAPP_app=myapp.

so to run test1.fex from myapp folder on myserver.com then you would use:
[code]http://myserver.com/ibi_apps/WFServlet?IBIF_ex=test1&IBIAPP_app=myapp

A very useful tool for seeing the exact URL being passed to WebFOCUS is Fiddler2. Note: this is a windows tool and won't work for localhost - as Windows doesn't treat localhost requests the same as regular network requests for some odd reason.

If you're on *nix then use something like wireshark/ethereal instead.

Cheers

Stu


WebFOCUS 8.2.03 (8.2.06 in testing)
 
Posts: 253 | Location: Melbourne, Australia | Registered: February 07, 2007Report This Post
Expert
posted Hide Post
Try this for LOCALHOST:
http://localhost:8080/ibi_apps/WFServlet?IBIF_ex=carins...mp&IBIWF_language=en. Check the properties on this URL to see the full URL.

This should work from here if you have a copy of carinst in apps/ibisamp.

Thanks to Charlz for this insiight.

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




   In FOCUS Since 1983 ~ from FOCUS to WebFOCUS.
   Current: WebFOCUS Administrator at FIS Worldpay | 8204, 8206
 
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005Report This Post
Member
posted Hide Post
 
Posts: 13 | Registered: May 23, 2008Report This Post
Gold member
posted Hide Post
quote:
http://localhost:8080/ibi_apps/WFServlet?IBIF_ex=carins...mp&IBIWF_language=en


Here's a VB/A function to build it :
------------------------------------
 Function GenerateLaunchLink(FileName As String, APPROOT As String, FileExtension As String, Parameters As String)

   ' Generate WF 'Launch' link (3 parts) :
   ' Arguments are to be 'assembled' prior to passing them to this routine :
   ' This link can be used from local machine, or from web accessing local machine
   ' Requires that WF be running at the time.
   
   Dim Temp As String  ' Store string as it's being built
   
        ' Part 1 of WF launch link : HTTP tag, port, hyperlink and program name :
        Temp = "<a href=http://localhost:8080/ibi_apps/WFServlet?IBIF_ex=" & FileName
                
        ' Part 2 of WF launch link : Parameters
        Temp = Temp & "&IBIF_parms=" & Parameters
        
        ' Part 3 of WF launch link : Server info
        Temp = Temp & "&servername=default"
        Temp = Temp & "&IBIC_server=&appbx=1"
        
        ' Part 4 of WF launch link : Application path
        Temp = Temp & "&IBIAPP_app=" & APPROOT
        
        ' Part 5 of WF launch link : Language
        Temp = Temp & "&IBIWF_language=en>"
        
        ' Part 6 of WF launch link : Visible text
        Temp = Temp & "Launch it !" & "</a>"                          ' Using generic "Launch it" in link
     '  Temp = Temp & FileName & FileExtension & "</a>"               ' Alternate using filename in link

        GenerateLaunchLink = Temp ' Return concatenated hyperlink
        
End Function 

------------------------------------------------------------------------------------
... and then use the function in a PRINT statement :
Print #FileHandle, GenerateLaunchLink(ProgramName, APPROOT, FileExtension, Parameters)
------------------------------------------------------------------------------------

Hope this helps ?


WF 7.6.4 & 5.3
Charles Lee
 
Posts: 93 | Registered: June 17, 2008Report This Post
Expert
posted Hide Post
ok, i'm curious, Melbourne..
what is that goofy character in front of "U"nix..i'm assuming a political statement of some sort???
oh please don't say it was a typo
i'm so in need of a witty retort this am...




In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
 
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003Report This Post
Expert
posted Hide Post
I don't think this is witty enough for you Susannah. But, I think it's a typo which meant to be either aix or unix but the "u" was replaced with an "a" and caused the forum censorship to kick in... Maybe?




   In FOCUS Since 1983 ~ from FOCUS to WebFOCUS.
   Current: WebFOCUS Administrator at FIS Worldpay | 8204, 8206
 
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005Report This Post
Guru
posted Hide Post
quote:
Originally posted by susannah:
ok, i'm curious, Melbourne..
what is that goofy character in front of "U"nix..i'm assuming a political statement of some sort???
oh please don't say it was a typo
i'm so in need of a witty retort this am...


Susannah,

Sorry for the delay in replying - it's winter here in Melbourne and that bring with it the wonders of flu season.
Anyways, it wasn't a typo, it was an asterix. It's supposed to represent the various flavours of Unix and the off shoots (Unix and all the specific Unixes - SCO Unix, RelianUnix etc - and the offshoots such as Minix, Linux, QUNIX) http://en.wikipedia.org/wiki/*nix.

Note: flavours is NOT a typo either, that's the way we spell it down under - probably due to minor mutations from eating Vegemite.

Cheers

Stu


WebFOCUS 8.2.03 (8.2.06 in testing)
 
Posts: 253 | Location: Melbourne, Australia | Registered: February 07, 2007Report This Post
Expert
posted Hide Post
ROFL Good One




In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
 
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003Report 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 differentiate Web FOCUS URL.

Copyright © 1996-2020 Information Builders