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!
Silver Member posted April 03, 2012 02:52 PM
Hi,
I need some info on how to proceed on our requirement.
Our requirement is we have to first show the parameter names(only names not values). when the user selects one or more parameter names then the concerned parameter values should show up. then user will have to select the values then he will be guided to the report.
Please let me know if anyone has any suggestions on this....
Thank you,
Priya.
This message has been edited. Last edited by: Kerry , April 13, 2012 10:43 AM WebFOCUS 7.7 Windows, All Outputs
Silver Member Hi,
This link might help you. For your parameter names to be displayed, you can use drop down menu.
--> To select one or more parameter names: &PARAMETER.(OR(FIND FIELD_NAME IN table)).NAMES.';
For rest of the section, you can use drill down concept.
Multiple drill down 1 Multiple drill down 2
This message has been edited. Last edited by: Venkat- , April 03, 2012 03:52 PM product release:8203 o/s: windows 10 expected o/p formats: HTML,EXCEL,PDF
Posts: 34 | Location: Kearney, Nebraska | Registered: December 14, 2011
IP
Silver Member Hi Venkat...i will give u a example....
(Parameter names)
COUNTRY
STATE
CITY
So when the user selects COUNTRY, STATE then he has to see
COUNTRY STATE
USA ILLINOIS
CANADA NEWYORK etc
RUN
So now he selects USA and Illinois then he will go to the report by clicking on RUN button...
Any suggestions ???
Thank you,
Priya
WebFOCUS 7.7 Windows, All Outputs
<JG> posted April 04, 2012 07:58 AM
You need to add a javascript control to the names to toggle the visability of the selection boxes
Silver Member Hi JG,
I am not that good in java scripting...Could you please suggest me some steps on how to code that toggle feature in HTML composer...
Thank you,
Priya
WebFOCUS 7.7 Windows, All Outputs
<JG> posted April 05, 2012 05:26 AM
In it's simplest form you need something like this
look for the
& tags and change to match your system
<!-- Generated by Report Layout Painter -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<META id=mycharsetmeta content="text/html; charset=ISO-8859-1" http-equiv=Content-Type>
<META id=Generation content="Created in release 7703, 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
function showHide(element) {
var showWhat = document.getElementById(element);
alert(showWhat);
if(showWhat.style.display == 'block')
showWhat.style.display = 'none';
else
showWhat.style.display = 'block';
}
</SCRIPT>
<SCRIPT for=window type=text/javascript eventname="onload">window.onload = function() { window_onload(); }</SCRIPT>
</HEAD>
<BODY style="OVERFLOW: auto" edaconnectionrequired="true" nextelementuniquenumber="1" thumbnailscale="4" elementtype="21">
<IFRAME style="Z-INDEX: 1; POSITION: absolute; WIDTH: 870px; HEIGHT: 336px; TOP: 284px; LEFT: 15px" id=report1 tabIndex=1 elementtype="2" requests_list="0" autoExecute="False"
name="report1"></IFRAME>
<FORM style="Z-INDEX: 2; POSITION: absolute; WIDTH: 211px; HEIGHT: 109px; TOP: 175px; LEFT: 15px" id=form1 onsubmit="OnExecute(this);return false;" method=post requests_list="0" tempheight="109" tempwidth="211" fexlist_list="report1" form_newline_chain="1" default_slider_type="4" form_type="1" form_prompt_location="1" form_number_of_visible_rows="4" form_number_of_columns="4" vert_dist_between_controls="10" form_hor_dist_between_controls="10" form_dist_between_desc_and_input="10" name="form1">
<LABEL style="Z-INDEX: 5; POSITION: absolute; WIDTH: 77px; HEIGHT: 19px; TOP: 5px; CURSOR: default; LEFT: 5px" id=label1 language=javascript tabIndex=4 onclick='showHide
("Country_Select")' for=Country_Select name="edit1">COUNTRY</LABEL>
<SELECT style="POSITION: absolute; WIDTH: 175px; DISPLAY: none; TOP: 34px; LEFT: 5px" id=Country_Select tabIndex=5 size=1 CHECKED="false" indeterminate="false" start="fileopen"
width="0" loop="1" vspace="0" maxLength="2147483647" hspace="0" readOnly="false" rawvalue="Awwwwwwwww" defaultselection="1" defaultlocation="0,0,22,155" boundtovariable="1" requiredfield="0" persistentuniqueid="compUid_1" name="Country_Select"></SELECT>
<INPUT style="BACKGROUND-IMAGE: url(htmlpathsub/javaassist/ibi/html/describe/run16.gif); Z-INDEX: 3; POSITION: absolute; BACKGROUND-COLOR: lavender; WIDTH: 38px;
BACKGROUND-REPEAT: no-repeat; HEIGHT: 22px; TOP: 82px; LEFT: 5px" id=form1Submit tabIndex=2 value=" " type=submit StyleBack_UserSuppliedFullPath="1" name="submit1"></FORM>
<INPUT style="POSITION: absolute; TOP: -100px; LEFT: -100px" id=layoutinfo type=hidden resourcectrlids="form1Submit">
<INPUT style="POSITION: absolute; TOP: -100px; LEFT: -100px" id=ibiapp_app value="ibisamp" type=hidden ismre="1" name="ibiapp_app">
<INPUT style="POSITION: absolute; TOP: -100px; LEFT: -100px" id=ibif_ex value=app/hidden_select.htm type=hidden name="ibif_ex">
<INPUT style="POSITION: absolute; TOP: -100px; LEFT: -100px" id=IBIMR_domain value=[B]XX/XX.htm[/B] type=hidden name="IBIMR_domain">
<INPUT style="POSITION: absolute; TOP: -100px; LEFT: -100px" id=IBIMR_folder value=#[B]z002u51tdscz[/B] type=hidden name="IBIMR_folder">
<xml id=focus_xmlelement>
<script type="text/xml" nextelementuniquenumber="2">
<rootxmlnode focoption="_FOC_NULL">
<variables>
<variable controltype="7" parametercreatedinreslay="0" type="default" desc="COUNTRY" name="COUNTRY" default="$*" textvarname="" accept="0" select="0" create="1">
<link linktype="default" from="compUid_1">
<condition default="1" name="Default" whattodowithcontrol="4" valuescompareoperator="0" parameterscompareoperator="0" conditionmultiselectoperator="0">
<data_info checkForDuplicateValues="0" displayfield="COUNTRY" ibiformat="A10" datafield="COUNTRY" datasource="car.mas" datatype="0" selectedvalue="$*" operation="" slider_range_from="" slider_range_to="" previewvalue="$*" sourcetype="typeMaster">
<static_values>
<static value="$*" display="$*" selected="1" noinput="0"></static></static_values></data_info></condition></link>
<requestid id="0"></requestid></variable></variables>
<input_controls>
<input_control bindcontrolid="compUid_1" elementtype="8" name="Country_Select" id="Country_Select" multiple="0" onetimepopulated="0">
<link linktype="default" persistentuniqueid="compUid_1">
<condition default="1" name="Default" whattodowithcontrol="0" valuescompareoperator="0" parameterscompareoperator="0" conditionmultiselectoperator="0">
<data_info checkForDuplicateValues="1" datatype="1" datasource="car.mas" datafield="COUNTRY" displayfield="COUNTRY" addalloption="0" sourcetype="typeMaster"
cacheruntimedata="0" ibiformat="A10" dfformat="A10" accept="0" operation="NONE" modifiedrequest="0">
<![CDATA[TABLE FILE car
SUM FST.COUNTRY
BY COUNTRY
-*insert_filters_here
ON TABLE PCHOLD FORMAT XML
END
]]></data_info></condition></link></input_control></input_controls>
<other_bound_objects></other_bound_objects>
<requests nextrequestsid="0">
<request requestid="0" targetname="report1" ibif_ex="report1" targettype="iframe" sourcetype="typeAdhocfex" activereport="0" compoundreport="0" reportcolumns="" reportrealcolumns="" ibiapp_app="">
<![CDATA[-*-------------------------------------------------------------------
-* Copyright (c) 2002 Information Builders, Inc. All rights reserved.
-*
-* _Name_ ===> CARINST FOCEXEC _Opsys_ ===> CMS
-* _Release_ ===> 72 _Product_ ===> FOC
-* _Description_ ===>
-* ===>
-* _Notes_ ===>
-*
-* _History_:
-* Date Time Who Proj Project Title
-* ====== ==== === ===== ==============================================
-* 021018 1211 TJD 48673 WEBFOCUS SAMPLE DIRECTORY MUST HAVE CAR AND CARINST
-*
-* END %&$
-*---------------------------------------------------------------------
-DEFAULTS &COUNTRY='$*';
-RUN
TABLE FILE CAR
PRINT CAR MODEL SEATS
BY COUNTRY
IF COUNTRY EQ '&COUNTRY'
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET STYLE *
TYPE=DATA,COLUMN=COUNTRY,COLOR=RED,STYLE=BOLD+ITALIC,$
TYPE=DATA,COLUMN=CAR,COLOR=CYAN,STYLE=BOLD,$
TYPE=DATA,COLUMN=MODEL,COLOR=YELLOW,STYLE=BOLD,WHEN=SEATS GT 4,
FOCEXEC=CARINST2(MODEL=N3),$
TYPE=DATA,COLUMN=SEATS,STYLE=BOLD,$
END
]]></request></requests></rootxmlnode></script>
</xml></BODY>
<SCRIPT id=IBI_loader type=text/javascript>
doBeforeLoad();
</SCRIPT>
</HTML>
Silver Member Thank you so much JG ...this is the exact functionality i wanted....i will try to replicate the same with our report and see...
Thank you,
Priya
WebFOCUS 7.7 Windows, All Outputs
Guru Haripriya -
You can build a launch page for your report in the HTML Composer and set the properties for your parameter controls (those that are chained) to hide their values initially or populate and hide the values until a selection is made in the upstream parameter control.
Dan
7.7.05M/7.7.03 HF6 on Windows Server 2003 SP2 output to whatever is required.
Posts: 393 | Location: St. Paul, MN | Registered: November 06, 2007
IP
Please Wait. Your request is being processed...
Read-Only TopicCopyright © 1996-2020 Information Builders