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.



Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] FOC 36228
 Login/Join
 
Member
posted
I am getting a FOC 36228. I have a fex with a drill down, that runs a simple fex with a HTMLFORM call; the variable correctly goes to my html form, and the variable is correctly used in the fex embedded in the page. but in echo output I see thisFrownerFOC36228) VARIABLE RUN_DATE'" displayfield="& SPECIFIED BY WEBFOCUS VAR HAS NEVER BEEN SET
I dont know if its serious, but I'd rather not promote to production without some input on possible causes.
The full line of html code which corresponds to the control field is:

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


WebFocus 762,7611, 7.7.02 XP for Dev/test; Linux Prod 7.6.2; MRE
 
Posts: 21 | Location: NYC | Registered: February 09, 2009Report This Post
Expert
posted Hide Post
Can you pleae post your code within the code tags
[code]
[/code].

I've got an import box in the banner at the top of the page.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
Member
posted Hide Post
I guess you mean the HTML code.
The value from the original fex (from a drilldown) is being passed correctly, and again, it works in this html code. But with the error message.
thanks
<HTML>
<HEAD>
<META id=mycharsetmeta http-equiv=Content-Type content="text/html; charset=utf-8">
<META id=Generation content="Created in release 7702, 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 src="/ibi_html/javaassist/nls.js" type=text/javascript></SCRIPT>

<SCRIPT id=IBI_nlsVars src="/ibi_html/javaassist/nlsvars.js" type=text/javascript></SCRIPT>

<SCRIPT id=IBI_ibigbl src="/ibi_html/javaassist/ibi/html/js/ibigbl.js" type=text/javascript></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>
</HEAD>
<BODY style="OVERFLOW: auto" thumbnailscale="4" persistentuniqueid="compUid_1" nextelementuniquenumber="22" elementtype="21" edaconnectionrequired="true">
<IFRAME id=graph1 title=occ-10week.fex style="Z-INDEX: 1; LEFT: 90px; WIDTH: 1180px; POSITION: absolute; TOP: 226px; HEIGHT: 540px" tabIndex=1 scrolling=no elementtype="3" size_to_fit="1" requests_list="0" autoExecute="false" name="graph1"></IFRAME>
<FORM id=form1 style="Z-INDEX: 2; LEFT: 90px; WIDTH: 522px; POSITION: absolute; TOP: 110px; HEIGHT: 116px" onsubmit="OnExecute(this);return false;" method=post requests_list="0" form_newline_chain="1" tempheight="116" tempwidth="522" fexlist_list="graph1" form_type="1" default_slider_type="4" 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 id=label3 style="Z-INDEX: 10; LEFT: 335px; WIDTH: 82px; CURSOR: default; POSITION: absolute; TOP: 5px; HEIGHT: 19px" tabIndex=9 for=edit3 name="edit3">RUN_DATE</LABEL> 
<INPUT id=edit3 style="OVERFLOW-Y: visible; Z-INDEX: 11; LEFT: 335px; OVERFLOW: visible; WIDTH: 155px; POSITION: absolute; TOP: 34px; HEIGHT: 22px" tabIndex=10 hspace=0 persistentuniqueid="compUid_22" defaultselection="1" tempatt_lastelement_ofline="1" requiredfield="1" defaultlocation="0,0,22,155" boundtovariable="1" name="edit3"> 
<SPAN id=panel1 style="LEFT: 3px; WIDTH: 328px; POSITION: absolute; TOP: 3px; HEIGHT: 59px" elementtype="34">
<LABEL id=label1 style="Z-INDEX: 6; LEFT: 4px; WIDTH: 38px; CURSOR: default; POSITION: absolute; TOP: 4px; HEIGHT: 19px" tabIndex=5 for=edit1 name="edit1">UNIT</LABEL> 
<SELECT id=edit1 style="LEFT: 4px; WIDTH: 155px; POSITION: absolute; TOP: 33px" tabIndex=6 size=1 persistentuniqueid="compUid_20" defaultselection="1" requiredfield="1" defaultlocation="0,0,22,155" boundtovariable="1" vspace="0" indeterminate="false" CHECKED="false" width="0" loop="1" maxLength="2147483647" hspace="0" height="166318284" readOnly="false" start="fileopen" rawvalue="SURG" name="edit1"></SELECT> 
<LABEL id=label2 style="Z-INDEX: 8; LEFT: 169px; WIDTH: 44px; CURSOR: default; POSITION: absolute; TOP: 4px; HEIGHT: 19px" tabIndex=7 for=edit2 name="edit2">WING</LABEL> 
<SELECT id=edit2 style="LEFT: 169px; WIDTH: 155px; POSITION: absolute; TOP: 33px" tabIndex=8 size=1 persistentuniqueid="compUid_21" defaultselection="1" requiredfield="1" defaultlocation="0,0,22,155" boundtovariable="1" vspace="0" indeterminate="false" CHECKED="false" width="0" loop="1" maxLength="2147483647" hspace="0" height="166619004" readOnly="false" start="fileopen" rawvalue="8C-ORTHO" name="edit2"></SELECT></SPAN> 
<INPUT id=form1Submit style="Z-INDEX: 3; LEFT: 5px; BACKGROUND-IMAGE: url(htmlpathsub/javaassist/ibi/html/describe/run16.gif); WIDTH: 38px; BACKGROUND-REPEAT: no-repeat; POSITION: absolute; TOP: 89px; HEIGHT: 22px; BACKGROUND-COLOR: lavender" tabIndex=2 type=submit value=" " StyleBack_UserSuppliedFullPath="1" name="submit1"> 
<INPUT id=form1Reset style="Z-INDEX: 4; LEFT: 48px; BACKGROUND-IMAGE: url(htmlpathsub/javaassist/ibi/html/describe/reset.gif); WIDTH: 38px; BACKGROUND-REPEAT: no-repeat; POSITION: absolute; TOP: 89px; HEIGHT: 22px; BACKGROUND-COLOR: lavender" tabIndex=3 type=reset value=" " StyleBack_UserSuppliedFullPath="1" name="reset1"> 
<INPUT id=form1Schedule style="Z-INDEX: 5; LEFT: 91px; BACKGROUND-IMAGE: url(htmlpathsub/javaassist/ibi/html/describe/schedule.gif); WIDTH: 38px; BACKGROUND-REPEAT: no-repeat; POSITION: absolute; TOP: 89px; HEIGHT: 22px; BACKGROUND-COLOR: lavender" onclick="OnExecute(this);return false;" tabIndex=4 type=button value=" " requests_list="1" StyleBack_UserSuppliedFullPath="1" name="button1"></FORM>   
<INPUT id=layoutinfo style="LEFT: -100px; POSITION: absolute; TOP: -100px" type=hidden schedulecontrolids="form1Schedule" resourcectrlids="form1Submit;form1Reset;form1Schedule">
<INPUT id=ibiapp_app style="LEFT: -100px; POSITION: absolute; TOP: -100px" type=hidden value=tsi name="ibiapp_app">
<INPUT id=ibic_server style="LEFT: -100px; POSITION: absolute; TOP: -100px" type=hidden value=EDASERVE isdataserversarea="1" name="ibic_server">
<xml id=focus_xmlelement>
<script type="text/xml" nextelementuniquenumber="12">
	
<rootxmlnode top="100" left="10" width="150" height="130" focoption="FOC_NONE">
		
<variables>
			
<variable controltype="7" parametercreatedinreslay="0" type="default" desc="WING" name="WING" default="7E" textvarname="" accept="0" select="0" create="1" top="70" left="250" width="60" height="20" inbinding="1">
				
<link linktype="default" from="compUid_21">
					
<condition default="1" name="Default" whattodowithcontrol="4" valuescompareoperator="0" parameterscompareoperator="0" conditionmultiselectoperator="0">
						
<data_info checkForDuplicateValues="0" displayfield="WING" ibiformat="A10V" datafield="WING" datasource="ot_occupancy.mas" datatype="0" selectedvalue="7E" operation="" slider_range_from="" slider_range_to="" previewvalue="7E" sourcetype="typeMaster">
							
<static_values>
								
<static value="7E" display="7E" selected="1" noinput="0"></static></static_values></data_info></condition></link>
				
<requestid id="1"></requestid>
				
<requestid id="0"></requestid></variable>
			
<variable controltype="7" parametercreatedinreslay="0" type="default" desc="UNIT" name="UNIT" default="CA" textvarname="" accept="0" select="0" create="1" chainedcontrol="1" top="70" left="140" width="60" height="20" inbinding="1">
				
<link linktype="default" from="compUid_20">
					
<condition default="1" name="Default" whattodowithcontrol="4" valuescompareoperator="0" parameterscompareoperator="0" conditionmultiselectoperator="0">
						
<data_info checkForDuplicateValues="0" displayfield="UNIT" ibiformat="A10V" datafield="UNIT" datasource="ot_occupancy.mas" datatype="0" selectedvalue="CA" operation="" slider_range_from="" slider_range_to="" previewvalue="CA" sourcetype="typeMaster">
							
<static_values>
								
<static value="CA" display="CA" selected="1" noinput="0"></static></static_values></data_info></condition></link>
				
<requestid id="1"></requestid>
				
<requestid id="0"></requestid></variable>
			
<variable controltype="7" parametercreatedinreslay="0" type="default" desc="RUN_DATE" name="RUN_DATE" default="12/04/2010" textvarname="" accept="0" select="0" create="1" top="70" left="30" width="60" height="20" inbinding="1">
				
<link linktype="default" from="compUid_22" persistentuniqueid="compUid_11">
					
<condition default="1" name="Default" whattodowithcontrol="4" valuescompareoperator="0" parameterscompareoperator="0" conditionmultiselectoperator="0">
						
<data_info checkForDuplicateValues="0" displayfield="RUN_DATE" ibiformat="HYYMDS" datafield="RUN_DATE" datasource="ot_occupancy.mas" datatype="0" selectedvalue="12/04/2010" operation="" slider_range_from="" slider_range_to="" previewvalue="12/04/2010" sourcetype="typeMaster" linktype="none">
							
<static_values>
								
<static value="12/04/2010" display="12/04/2010" selected="1" noinput="0"></static></static_values></data_info></condition></link>
				
<requestid id="1"></requestid>
				
<requestid id="0"></requestid></variable></variables>
		
<input_controls>
			
<input_control bindcontrolid="compUid_22" elementtype="7" name="edit3" id="edit3" multiple="0" inbinding="1" top="20" left="30" width="60" height="20" onetimepopulated="0">
				
<link linktype="default" persistentuniqueid="compUid_10">
					
<condition default="1" name="Default" whattodowithcontrol="0" valuescompareoperator="0" parameterscompareoperator="0" conditionmultiselectoperator="0">
						
<data_info checkForDuplicateValues="0" datatype="1" datasource="" datafield="'!IBI.AMP.RUN_DATE'" displayfield="&RUN_DATE" addalloption="0" sourcetype="typeFex" cacheruntimedata="0" ibiformat="HYYMDS" dfformat="HYYMDS" accept="0" operation="NONE" modifiedrequest="0">
							
<![CDATA[]]></data_info></condition></link></input_control>
			
<input_control bindcontrolid="compUid_20" elementtype="8" name="edit1" id="edit1" multiple="0" inbinding="1" top="20" left="140" width="60" height="20" onetimepopulated="0">
				
<link linktype="default" persistentuniqueid="compUid_8">
					
<condition default="1" name="Default" whattodowithcontrol="0" valuescompareoperator="0" parameterscompareoperator="0" conditionmultiselectoperator="0">
						
<data_info checkForDuplicateValues="0" datatype="1" datasource="ot_occupancy.mas" datafield="OT_OCCUPANCY.OT_OCCUPANCY.UNIT" displayfield="OT_OCCUPANCY.OT_OCCUPANCY.UNIT" addalloption="1" sourcetype="typeMaster" cacheruntimedata="0" ibiformat="A10V" dfformat="A10V" accept="0" operation="NONE" modifiedrequest="0" dynalldisplayvalue="ALL">
							
<![CDATA[TABLE FILE ot_occupancy
SUM FST.OT_OCCUPANCY.OT_OCCUPANCY.UNIT
 BY OT_OCCUPANCY.OT_OCCUPANCY.UNIT
-*insert_filters_here
ON TABLE PCHOLD FORMAT XML
END
]]></data_info></condition></link></input_control>
			
<input_control bindcontrolid="compUid_21" elementtype="8" name="edit2" id="edit2" multiple="0" top="20" left="250" width="60" height="20" inbinding="1" onetimepopulated="0">
				
<link linktype="default" from="compUid_20" persistentuniqueid="compUid_9">
					
<condition default="1" name="Default" whattodowithcontrol="0" valuescompareoperator="0" parameterscompareoperator="0" conditionmultiselectoperator="0" resolveparameterfq="OT_OCCUPANCY.OT_OCCUPANCY.UNIT" resolveparameter="UNIT">
						
<data_info checkForDuplicateValues="0" datatype="1" datasource="ot_occupancy.mas" datafield="OT_OCCUPANCY.OT_OCCUPANCY.WING" displayfield="OT_OCCUPANCY.OT_OCCUPANCY.WING" addalloption="0" sourcetype="typeMaster" cacheruntimedata="0" ibiformat="A10V" dfformat="A10V" accept="0" operation="NONE" modifiedrequest="0">
							
<![CDATA[TABLE FILE ot_occupancy
SUM FST.OT_OCCUPANCY.OT_OCCUPANCY.WING
 BY OT_OCCUPANCY.OT_OCCUPANCY.WING
-*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="1">
			
<request requestid="0" targettype="iframe" targetname="graph1" sourcetype="typeFex" ibif_ex="occ-10week.fex" ibiapp_app="tsi" activereport="0" reportcolumns="" reportrealcolumns=""></request>
			
<request requestid="1" sourcetype="typeschedule" targettype="reportcaster" targetname="EmailLibraryFTP" ibif_ex="occ-10week.fex" activereport="0" reportcolumns="" reportrealcolumns="" ibiapp_app="tsi"></request></requests></rootxmlnode></script>
</xml></BODY>
<SCRIPT id=IBI_loader type=text/javascript>
doBeforeLoad();
</SCRIPT>
</HTML>  


WebFocus 762,7611, 7.7.02 XP for Dev/test; Linux Prod 7.6.2; MRE
 
Posts: 21 | Location: NYC | Registered: February 09, 2009Report This Post
Expert
posted Hide Post
datafield="'!IBI.AMP.RUN_DATE'"
Too many quotes, not enough semi-colons. This should be:

datafield="!IBI.AMP.RUN_DATE;"

And I'm not sure about this:

displayfield="&RUN_DATE"

You usually do not put Dialogue Manager variables in HTML files using the amper...


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Master
posted Hide Post
quote:
datafield="!IBI.AMP.RUN_DATE;"


This should work as suggested by Francis. We dont put direct amper variables in HTML. We use !IBI.AMP for amper variables and !IBI.FIL for files.

Thanks


8.1.05
HTML,PDF,EXL2K, Active, All
 
Posts: 484 | Registered: February 03, 2009Report This Post
Member
posted Hide Post
That seems to do it. Thank you. I did notice that whenever I go into the GUI, this gets messed up and I have to edit it. Every. Time.


WebFocus 762,7611, 7.7.02 XP for Dev/test; Linux Prod 7.6.2; MRE
 
Posts: 21 | Location: NYC | Registered: February 09, 2009Report This Post
Expert
posted Hide Post
It seems to behave in v7.6.8 - I don't hesitate in believing you for v7.6.11.


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic


Copyright © 1996-2020 Information Builders