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.
Read-Only TopicGo
Search
Notify
Admin
New PM!
Member posted June 06, 2014 05:39 AM
Hello, is there any way to pass parameters to a url in file .htm?
Didn´t work:
00.00.00.00:8080/ibi_apps/views.bip?BIP_REQUEST_TYPE=BIP_RUN&BIP_folder=IBFS%253A%252FEDA%252FEDASERVE%252Fclientes&BIP_item=type.htm&COD_SUBAGENTE=13
This message has been edited. Last edited by: <Kathryn Henning>, June 11, 2014 12:14 PM WebFOCUS 8.07, Windows, All Outputs
Guru Hi Mariapoo,
Create the fex file which is calling your html file, try passing your parameter from fex to html through !IBI.AMP.PARAMETERNAME;
-* File htmlcall.fex
-SET &PARAMETER='WebFOCUS World';
-HTMLFORM htmcallparm.htm htmcallparm.htm ===============
<HTML>
<HEAD>
<META id=mycharsetmeta content="text/html; charset=ISO-8859-1" http-equiv=Content-Type>
<META id=Generation content="Created in release 7611, Generation 3.0">
<script id=IBI_RelCallBack type=text/javascript>function AdjustChildrenPosition(){
}
</SCRIPT>
<script id=IBI_OptionsScript type=text/javascript>
var cgipath = "cgipath";
var ibirls = "ibirls3";
var rltdyncalendar = "rltdyncalendar";
var gmap = "ibigmap";
var olap="olap";
var olappanebase="olappanebase";
var olapdrill="olapdrill";
var ibixmltree="ibixmltree";
var ibiOptions = new Array(cgipath,ibirls);
</SCRIPT>
<script id=IBI_nls type=text/javascript src="/ibi_html/javaassist/nls.js"></SCRIPT>
<script id=IBI_nlsVars type=text/javascript src="/ibi_html/javaassist/nlsvars.js"></SCRIPT>
<script id=IBI_ibigbl type=text/javascript src="/ibi_html/javaassist/ibi/html/js/ibigbl.js"></SCRIPT>
<script id=IBI_ibigblloadCss type=text/javascript>
ibigblloadCss(null);
addIntlTranslatedJS("composertrans.js");
</SCRIPT>
<TITLE>HtmlPage</TITLE>
<script id=clientEventHandlersJS type=text/javascript>
//Begin function window_onload
function window_onload() {
UpdateData();
// TODO: Add your event handler code here
//add onInitialUpdate() function to make changes before initial run of the reports
}
//End function window_onload
</SCRIPT>
<script for=window type=text/javascript eventname="onload">window.onload = function() { window_onload(); }</SCRIPT>
<META name=GENERATOR content="MSHTML 9.00.8112.16553"></HEAD>
<BODY style="OVERFLOW: auto" persistentuniqueid="compUid_1" nextelementuniquenumber="4" elementtype="21" edaconnectionrequired="false">
<SPAN style="Z-INDEX: 1; POSITION: absolute; WIDTH: 280px; HEIGHT: 60px; TOP: 60px; LEFT: 290px" id=text1 tabIndex=1 persistentuniqueid="compUid_2" defaultselection="1">Hello!!! This contains parameter</SPAN>
<INPUT style="Z-INDEX: 2; POSITION: absolute; WIDTH: 150px; TOP: 210px; LEFT: 300px" id=edit1 tabIndex=2 value="Yes !IBI.AMP.PARAMETER;" persistentuniqueid="compUid_3" defaultselection="1" name="edit1">
<SPAN style="Z-INDEX: 3; POSITION: absolute; WIDTH: 140px; HEIGHT: 30px; TOP: 280px; LEFT: 310px" id=text2 tabIndex=3 persistentuniqueid="compUid_4" defaultselection="1">Welcome to !IBI.AMP.PARAMETER;</SPAN>
<INPUT style="POSITION: absolute; TOP: -100px; LEFT: -100px" id=layoutinfo type=hidden>
<INPUT style="POSITION: absolute; TOP: -100px; LEFT: -100px" id=ibiapp_app value="SESSION ibisamp baseapp" type=hidden name="ibiapp_app">
<xml id=focus_xmlelement>
<script type="text/xml">
<rootxmlnode>
<variables></variables>
<input_controls>
<input_control bindcontrolid="compUid_3" elementtype="7" name="edit1" id="edit1" multiple="0" onetimepopulated="1">
<link linktype="default">
<condition default="1" name="Default" whattodowithcontrol="0" valuescompareoperator="0" parameterscompareoperator="0" conditionmultiselectoperator="0">
<data_info accept="0" sourcetype="typeMaster">
<static_values>
<static value="Yes !IBI.AMP.PARAMETER;" display="Yes !IBI.AMP.PARAMETER;" selected="1" noinput="0"></static></static_values></data_info></condition></link></input_control></input_controls>
<other_bound_objects></other_bound_objects>
<requests></requests></rootxmlnode></script>
</xml></BODY>
<script id=IBI_loader type=text/javascript>
doBeforeLoad();
</SCRIPT>
</HTML> Refer this post as well,
How to pass multiple values of same parameter name through URL? Thanks,
Rifaz
-Rifaz WebFOCUS 7.7.x and 8.x
Member quote:
-SET &PARAMETER='WebFOCUS World'; -HTMLFORM htmcallparm.htm
Perfect.
Thank's.
WebFOCUS 8.07, Windows, All Outputs
Guru You're welcome, please edit your post as SOLVED
-Rifaz WebFOCUS 7.7.x and 8.x
Guru New way of doing this:
http://<host:port>/ibi_apps/rs/ibfs/WFC/Repository/<PathtoReport>/<ReportName>?IBIRS_action=run&parmNameN=parmValueN ReportName can be a report, htm file, or other
Documentation >> Running a Report From WebFOCUS Managed Reporting
You could then use javascript to populate the controls, but as always, the -HTMLFORM method beats all
This message has been edited. Last edited by: J , August 08, 2014 11:45 AM WebFOCUS 7.7.03/8.0.08 Dev Studio 7.7.03/8.0.08 App Studio 8.0.08 Windows 7 ALL Outputs
Posts: 402 | Location: Upland, IN | Registered: June 08, 2012
IP
Ignored post by
J
posted
August 08, 2014 11:27 AM Show Post
Member Can anyone please share the new way of doing this:
http://
ort>/ibi_apps/rs/ibfs/WFC/Repository//?IBIRS_action=run&parmNameN=parmValueN -KR Version 8.2.03 Output : HTML, Excel & PDF
Please Wait. Your request is being processed...
Read-Only TopicCopyright © 1996-2020 Information Builders