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] Customizing the Deferred submission Confirmation Page?

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Customizing the Deferred submission Confirmation Page?
 Login/Join
 
Gold member
posted
Hi Everyone,

Does anyone know if there is a way to customize the deferred confirmation page? Every time when the deferred report is submitted, the system will redirect to the confirmation page where it tells the time that was submitted and the report that has been submitted successfully, shown below.

Wednesday, January 28, 2009 3:11:39 PM

power102
has been successfully submitted for deferred execution.



Is there a way to customize the page as well as the wording?

Thanks in advance for your input.

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


WebFOCUS 7.1.6 on Win 2K/IIS 6/ISAPI HTML
 
Posts: 77 | Location: San Ramon, CA | Registered: May 17, 2007Report This Post
Expert
posted Hide Post
I have one application that submits the deferred report and retrieves the result via XML.

As long as you use the parameter IBIMR_returntype and set it to xml, you can capture the result and then show a custom page that looks nice. Big Grin


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
Gold member
posted Hide Post
Hi Waz, thank you for the suggestion. Could you show me where/how to set it?


WebFOCUS 7.1.6 on Win 2K/IIS 6/ISAPI HTML
 
Posts: 77 | Location: San Ramon, CA | Registered: May 17, 2007Report This Post
Expert
posted Hide Post
The code below submits and captures the return code of the submission.

You will have to add js to show a submited or failed submit page.

You will also nees to populate the MRE info in the form.

<HTML>
<HEAD><CENTER><FONT SIZE=+2></FONT>
<TITLE>Deferred XML Return</TITLE>
<script src="/ibi_html/javaassist/cgipath.js"></script>
<script language="javascript">
var ibiOptions = new Array("ibihttpxml") ;
function init()
{
  //updated for Release 5
  document.form.action = getWFScriptName();
  if ((document.form.IBIMR_defer != null) &&
      (document.form.IBIMR_threebuttons != null))
     document.form.IBIMR_defer.value="";
}
function funSubForm() {

	var ibihttp = new ibihttpxml(ibigblgetCgiPath(),null);
	var leftHtml = null;
	ibihttp.openFromForm(document.forms[0]);
	var selctNode = ibihttp.selectSingleNode("//ibwfrpc/RETURNCODE");
	var rcCode = ibihttp.getNodeText(selctNode) ;
	if (rcCode=='1000') {
		alert('Return = ' + rcCode + ', Submit OK, Show the nice submited form.') ;
	}
	else {
		alert('Return = ' + rcCode + ', Submit Bad, Show the nice submit failed form.') ;
	}
}
</script>
<script type="text/javascript" language="Javascript" src="/ibi_html/javaassist/ibi/html/js/ibigbl.js"></SCRIPT>
</HEAD>
<BODY BACKGROUND='/ibi_html/template/none_bkg.gif' onLoad="javascript:init();">
<H2>Deferred XML Return</H2>
<CENTER><P><FONT SIZE=+1></FONT></CENTER>
<FORM name='form' action='/ibi_apps/WFServlet' method='post'>
<TABLE>
<input type='hidden' name='IBIMR_domain' value="{mre domain name}/{mre domain name}.htm">
<input type='hidden' name='IBIMR_action' value="MR_RUN_FEX">
<input type='hidden' name='IBIMR_sub_action' value="MR_STD_REPORT">
<input type='hidden' name='IBIMR_fex' value="app/{focexec name}.fex">
<input type='hidden' name='IBIF_ex' value="app/{focexec name}.fex">
<input type='hidden' name='IBIMR_flags' value="">
<input type='hidden' name='IBIMR_folder' value="#{Folder Name}">
<input type='hidden' name='IBIMR_returntype' value='xml'>
<input type='hidden' name='IBIMR_random' value=''>
<script>
document.form.IBIMR_random.value = Math.random();
</script>

<tr><td>
<INPUT TYPE='button' NAME='Submit' VALUE='Defer' onclick="funSubForm()">
<input type='hidden' name='IBIMR_defer' value='defer'>
</td></tr>
<tr><td><INPUT TYPE='RESET' NAME='reset' VALUE='Reset'></td></tr>
</TABLE>
</FORM>

</BODY>
</HTML>


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
Gold member
posted Hide Post
Hi Waz, thanks for spending the time to post the code for me. I will try and test it and will let you know if i have questions.


WebFOCUS 7.1.6 on Win 2K/IIS 6/ISAPI HTML
 
Posts: 77 | Location: San Ramon, CA | Registered: May 17, 2007Report This Post
Member
posted Hide Post
Hi Waz, I have the same problem,
could you prevent from turning out the page?
from your code, it will be turned out a page and alert, but i do not need the page.


WebFOCUS 7.6
Windows, All Outputs
 
Posts: 4 | Registered: December 16, 2011Report 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] Customizing the Deferred submission Confirmation Page?

Copyright © 1996-2020 Information Builders