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.
Here's something very basic I'd like to do. ( and I'm sure it USED to work before )
I have a fex with:
-DEFAULT &COUNTRY = 'ITALY';
etc.
I make an HTML. Add this report, create a form. And in the editor 'ITALY' is neatly put in the inputbox. But when I run the HTML, the input box is left empty.
Any clues?
Windows 7 WebFocus 8009 IE9 ( tested on Chrome too, didn't work )This message has been edited. Last edited by: <Kathryn Henning>,
_____________________ WF: 8.0.0.9 > going 8.2.0.5
Posts: 668 | Location: Veghel, The Netherlands | Registered: February 16, 2010
It has always worked for me. I was on 8.0.09 and am now on 8.1.04.
So, when you insert your report, you are then prompted to add the form within HTML Composer setting up params and chains. After that, are you going into the control settings to ensure an either static or dynamic value is set despite the wizard claiming to have set the form up for you? I always use external procedures/population requests to populate my controls despite allowing HTML Composer to set up an initial form and controls for the report's reqd. params. It may just be that HTML Composer is deciding to be a goofball (like it always does in some way or another) and not configuring things correctly.
8.2.02M (production), 8.2.02M (test), Windows 10, all outputs.
Posts: 1113 | Location: USA | Registered: January 27, 2015
-DEFAULT &THEPARAM = 5;
TABLE FILE CAR
SUM SALES
BY CAR
HEADING
"&THEPARAM"
END
Like that.
No dynamic populating or anything.
In the editor is DOES show the default in the inputbox. Seems all okay. But when I run it it's gone.
Found out I can force it into submission by going to the properties. There a static value of 5 is shown. If I deleted that. And the enter 5 again... ...then it works.
Took me half a day just to find a workaround for something that should work straight out of the box.
[censored strong expression] !
This is the second mayor issue we ran into since WF8. We also had problems with the layout in the designer being different from the layout when the HTML is run.
We've tried ALL. with/without css with/without internal browsers etc.etc.
SO disappointing.
_____________________ WF: 8.0.0.9 > going 8.2.0.5
Posts: 668 | Location: Veghel, The Netherlands | Registered: February 16, 2010
You need to look in your Administrator Console under Parameter Prompting and see what your setting is for the property IBI_WFDescribe_Default. There is 3 different values that can be put here. When I went from 7.7.6 to 8.0 they changed the default prompt and screwed me all up. The interesting thing when I look into the knowledge pass and I look at 3 different issues, they indicate a different default value each time.
I only mentioned 2 as major issues coz the other ones have been worked-around. ( trial-and-error ). But this weird developer-studio behaviour we can't fix ourselves...
Good link, that's one we ran into aswell... XMLPROMPT fixed that.
I'll have to let look at IBIMR_Prompting though...
Additional info: The report is on MR. And I use an HTML for the parameters ( not autoprompt ).
The HTML editor actually sees the parameters. Creates field for them in a form and even shows the -DEFAULT as set by the .fex
...but when I run the HTML the default is gone.
_____________________ WF: 8.0.0.9 > going 8.2.0.5
Posts: 668 | Location: Veghel, The Netherlands | Registered: February 16, 2010
It could be a bug similar to when I set a frame to have not border. I have to set the edging to custom with a value of zero. I save it it works. When I go back and make a change to anything else. The border setting are ignored. I save and close. I then have to go back in and reset my borders. Save, close and it works.
So when you reset the value and you save/close it. It works. When you go back in and make a change on the form and save/close. Does it no longer work?
WebFocus 8.1.5 iSeries/Windows DB2/SQL/Access Dev Studio App Studio Maintain ReportCaster
Posts: 341 | Location: Pembroke NH/Jericho NY | Registered: June 15, 2011
That option is not available.( it's not a dropdown, it's a input box ).
Dave,
Sorry, I do not have Dev Studio to hand (let alone 8.0.09). However, I studied your HTML code and, via App Studio, I created the necessary content folders and created a new fex called "car.fex" for your sample fex and then created the HTML page and copied your entire HTML code.
I opened the code in the GUI and ran it. Results just as you describe.
I changed the property (yes, the "selected" checkbox does appear for the text box in App Studio) and reran your HTML and the default value appeared.
When my backup is finished, I will post some screen shots to show you.
TThis message has been edited. Last edited by: Tony A,
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, 2004
Tried it in Dev Studio (8.1.04) and couldn't (quickly) get it to work. However, as mentioned above, checking the selected option and it worked ok in App Studio (again 8.1.04).
Both using your exact code.
Dev Studio [ App Studio
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, 2004