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] Populating .htm field from variables passed from a URL drilldown

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Populating .htm field from variables passed from a URL drilldown
 Login/Join
 
Member
posted
In need of more focal point expertise.

I have a drilldown to a .htm file that has an embedded procedure that is using the variables that I am passing.

$
TYPE=DATA,
	 COLUMN=UPDT_FLD,
	 URL=http://wfprd/approot/b009503/work_queue_detail_test.htm? (EMPL_ID=EMPL_ID EFF_DT=EFF_DT OT_TM=OT_TM),
$  


However, I cannot get my three text fields to populate in the .htm. I've been using !IBI.AMP.EMPL_ID;, etc. Can this not be done using a drilldown?

Thanks in advance.

This message has been edited. Last edited by: <Kathryn Henning>,


WebFOCUS 7703
 
Posts: 18 | Registered: May 22, 2014Report This Post
Gold member
posted Hide Post
Found this example:
 TABLE FILE GGSALES
ON TABLE SET PAGE-NUM OFF
SUM UNITS AND DOLLARS
BY CATEGORY BY REGION
HEADING
"Regional Sales Report"
" "
ON TABLE SET STYLE *
TYPE=REPORT, GRID=OFF, $
TYPE=DATA, COLUMN=REGION,
URL=/ibi_apps/WFServlet?(IBIF_ex='ggdrill' AREA=REGION IBIC_server='EDASERVE' IBI_APPS='IBISAMP'),$
ENDSTYLE
END
 


If this does not help, I can send our solution tomorrow, because we use URL links from WF to our intranet and we pass parameters aswell.


Release: WebFOCUS 8104, AppStudio: 8105
OS: Windows
Output: HTML,Excel,Active Reports
 
Posts: 89 | Registered: November 19, 2013Report This Post
Virtuoso
posted Hide Post
That's because you can't just pass parameters to an HTML page ... well, you can, but then you'll need to add some JavaScript to inspect the document.location.href and parse to collect parameters.

SSander's example shows that your drill-down should target an actual WebFOCUS .fex procedure (via WFServlet) and that will cause your URL values to turn into nice &variables the .fex can see. You can the use -HTMLFORM from within that fex to invoke your .htm file and !IBI.AMP.EMPL_ID; will finally make sense Smiler



Prod/Dev: WF Server 8008/Win 2008 - WF Client 8008/Win 2008 - Dev. Studio: 8008/Windows 7 - DBMS: Oracle 11g Rel 2
Test: Dev. Studio 8008 /Windows 7 (Local) Output:HTML, EXL2K.
 
Posts: 1533 | Registered: August 12, 2005Report This Post
Gold member
posted Hide Post
One possible solution would be to call the fex file and define the variable on top of the fex file and then invoke your .html inside of .fex file and use !IBI.AMP.EMPL_ID. It should work.


Thanks,
Pravin.Singh


WebFOCUS 7703
Windows, All Outputs
pravinsinghwebfocus.blogspot.com
 
Posts: 51 | Location: WebFOCUS 7.7.03 | Registered: June 19, 2014Report This Post
Gold member
posted Hide Post
Hi

You can pass a parameter to an HTM page just make sure that the parameter linked to a control has the same name as what you are passing in the drill down or URL.

You can have a report inside an HTML page and use a JAVASCRIPT drill down just make sure that you call the function as parent.function_name and pass a parameter to the function like:


JAVASCRIPT=parent.setControls( \
N1 \
N2 \
N3 \
),

function setControls(country, car, model)

If this does not help then open a ticket with tech Support.

Thanks Barry


WebFOCUS 8103, Windows, App Studio
 
Posts: 80 | Location: NYC | Registered: November 13, 2008Report 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] Populating .htm field from variables passed from a URL drilldown

Copyright © 1996-2020 Information Builders