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] HTML Editor - Hyperlinks not calling report?

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] HTML Editor - Hyperlinks not calling report?
 Login/Join
 
Platinum Member
posted
Hi,

I am trying to create a very simple new selection screen for a report in the HTML Editor, however the button that contains the hyperlink to the fex does nothing when pressed?

I have checked the generated HTML code and I appear to be missing the auto-generated 'button1_onclick' function that would contain the OnExecute(ctrl) command?

The input tag for the button is also missing the 'onclick=button1_OnClick(this)' handler?

If I manually add these two parts the screen works as expected..

I am sure that my process would normally create the above, but perhaps I have missed / forgotten a step? If someone could check:

1, Create new HTML in Editor
2, Drag new Push Button onto the form.
3, Right click on the button and select 'Create Hyperlink'
4, Selected 'External Procedure', point it to my fex, set target as Window/New Window.
5, Run

The generated code from the above is:

< !-- Generated by Report Layout Painter -->
<HTML>
<HEAD>
<TITLE>HtmlPage</TITLE>
<BASE href="HTTP://xxx">
<META name=GENERATOR content="MSHTML 8.00.6001.19258">
<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 eventname="onload">window.onload = function() { window_onload(); }</SCRIPT>
</HEAD>
<BODY style="OVERFLOW: auto">
<INPUT style="Z-INDEX: 1; POSITION: absolute; WIDTH: 80px; HEIGHT: 60px; TOP: 160px; LEFT: 70px" id=button1 tabIndex=1 value=Button type=button name=button1 autoExecute="True" requests_list="0"> 
<xml id=ibi_requests>
<script>
	
<requests>
		
<request requestid="0" sourcetype="typeFex" targettype="window" targetname="_blank" ibif_ex="app/new.fex" IBIMR_domain="xxxxxxx/xxxxxxx.htm" IBIMR_folder="#xxxxxxx123" IBIMR_sub_action="MR_STD_REPORT" activereport="0" reportcolumns="" ibiapp_app=""></request></requests></script>
</xml></BODY></HTML>


I have restarted Developer Studio and tried the process on another developers pc and the same happens...

What am I missing folks?!

Cheers

Mark

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


WebFocus 765. iSeries v5r4
 
Posts: 175 | Location: England | Registered: April 11, 2006Report This Post
Platinum Member
posted Hide Post
Is anyone able to confirm that my process as described above should at least launch a report??

Cheers


WebFocus 765. iSeries v5r4
 
Posts: 175 | Location: England | Registered: April 11, 2006Report This Post
Expert
posted Hide Post
Mark,

I am not using, nor do I have access to 7.6.5 at present, but following your process above does return a call to the fex in a new window using 7.7.03.

The code that you give does not appear to be complete. I would expect there to be additional scripts between the META tag and your first script tag.

I would suggest raising a case with support for them to pursue the underlying reasons.

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report 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] HTML Editor - Hyperlinks not calling report?

Copyright © 1996-2020 Information Builders