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     2 questions relating to pre processing fex in caster

Read-Only Read-Only Topic
Go
Search
Notify
Tools
2 questions relating to pre processing fex in caster
 Login/Join
 
Platinum Member
posted
Hi Everyone.

I am calling a preprocessing fex (called precaste) to execute before my main fex like this...

<input type="hidden" name="IBIB_prerpc1" value="precaste">

This works fine. However, I need to pass a parameter to it (say x for example) and I can't get that to work. I have tried things like this...

<input type="hidden" name="IBIB_prerpc1" value="precaste X=whatever">

Any ideas as to how to make this work?

Thanks

Jodye
 
Posts: 246 | Location: Montreal, QC, Canada | Registered: October 01, 2003Report This Post
Expert
posted Hide Post
jodye, sorry to interrupt and suggest i have an answer to your quandry, but i've never seen name="IBIB_prerpc1"
I've never actually seen this entire construct from a Caster run, even tho i use pre-processes in Caster.
What version are you in, please?
I'm completely intrigued by the possiblity of a pre=procedure to an actual action fex.
I'ld like to try this method in a live fex from a launch page.
or do we think that this command is only executable from an action that is DSTSCHED
 
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003Report This Post
Master
posted Hide Post
All,

IBIB_prerpc1 is one of the variables (IBIB_prerpc1, IBIB_prerpc2, IBIB_postrpc1, IBIB_postrpc2) that you can pass to the DSTSCHED setvlet. They are stored in the BOTTASK table. You should be able to set it like you noted, but the max length of this field is 65 characters. You may need to use javascript to set it if the parameter is from the launch page.

document.formname.IBIB_prerpc1.value="MYFEX PARMNAME=" + document.formname.fieldname.value;

replacing formname and fieldname with your form name and input field name.

Hope this helps
 
Posts: 865 | Registered: May 24, 2004Report This Post
Platinum Member
posted Hide Post
Hello Susanah and Texas

Yes we run all of our reports via ASP/JSP pages. The IBIB_prerpc1 param can be used from the web form to specify the preprocessing fex.

As a followup, please note that I have solved my problem and found a new one.

My attempt to pass the param was not working because the param name is case sensitive.

So this works

<input type="hidden" name="IBIB_prerpc1" value="myfex PARAM=whatever">

but this does not work

<input type="hidden" name="IBIB_prerpc1" value="myfex param=whatever">

On a related note, I cannot get two params to work.

<input type="hidden" name="IBIB_prerpc1" value="myfex PARAM1=whatever&PARAM2=whatever">

Gives me this error...

Task error: A VALUE IS MISSING FOR: PARAM2

any ideas

Thanks.

Jodye
 
Posts: 246 | Location: Montreal, QC, Canada | Registered: October 01, 2003Report This Post
Platinum Member
posted Hide Post
FYI I found the answer. You must separate the params by commas. Like this...

<input type="hidden" name="IBIB_prerpc1" value="precaste PARAM1=xxx, PARAM2=yyy">

Jodye
 
Posts: 246 | Location: Montreal, QC, Canada | Registered: October 01, 2003Report 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     2 questions relating to pre processing fex in caster

Copyright © 1996-2020 Information Builders