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     Launch Page Pointing to Staged Report

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Launch Page Pointing to Staged Report
 Login/Join
 
Member
posted
This may be more of a Javascript question than WebFOCUS -- I know how to point to a particular focexec based on criteria selected from the launch page but how can I point to a report that has been saved to the WebFOCUS server instead of running a focexec? The code below is the function to point to the focexec. My "staged" reports are saved to a different folder and I am not familiar enough with javascript to know the correct syntax to use. I tried putting the path ("/prepared/DYS_Reports/Reports_800/YYSWF850.pdf") in place of app/yyswf400.fex but I believe it is looking in basedir for the file. Can anyone point me in the right direction?

<script language="javascript">
function SetFexAndSubmit()
{if (document.form.REGION.value == "X" && document.form.RPT(0).checked == true)
{document.form.IBIMR_fex.value = "app/yyswf400.fex";
document.form.IBIF_ex.value = "app/yyswf400.fex"; }
else
if (document.form.REGION.value == "X" && document.form.RPT(1).checked == true)
{document.form.IBIMR_fex.value = "app/yyswf402.fex";
document.form.IBIF_ex.value = "app/yyswf402.fex"; }
else
if (document.form.REGION.value != "X" && document.form.RPT(0).checked == true)
{document.form.IBIMR_fex.value = "app/yyswf401.fex";
document.form.IBIF_ex.value = "app/yyswf401.fex"; }
else
if (document.form.REGION.value != "X" && document.form.RPT(1).checked == true)
{document.form.IBIMR_fex.value = "app/yyswf403.fex";
document.form.IBIF_ex.value = "app/yyswf403.fex"; }

this.form.submit() }


7.6.11 on Win 2003/IIS 6/Apache Tomcat 5.5 - MRE, ReportCaster
Reporting Server z/OS 1.11, PDS Unified
Excel, PDF, HTML
 
Posts: 7 | Registered: December 28, 2005Report This Post
Guru
posted Hide Post
R Veit,

You can use the javascript code:

document.location = '/prepared/DYS_Reports/Reports_800/YYSWF850.pdf';

as long /prepared/DYS_Reports/Reports_800 are URL alias's and not directories.

Fernando


Prod WF 8.1.04, QA WF 8.2.03, Dev WF 8.2.03
 
Posts: 278 | Registered: October 10, 2006Report 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     Launch Page Pointing to Staged Report

Copyright © 1996-2020 Information Builders