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     [SOLVED] Change Static Parameter to Dynamic in HTML Composer

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Change Static Parameter to Dynamic in HTML Composer
 Login/Join
 
Member
posted
Hi All,

We've built a HTML form with controls from a fex containing a number of variables. The HTML form creation process created all of the listboxes for us to be able to make selections at runtime. All of the listboxes are set to be Dynamic with multiselect and are chained. All of these work great.

A requirement to add an additional variable has come along, so we've added it to the fex, and created the parameter, and an associated listbox. We've then added this to the chain of listboxes. On the properties of the listbox, we've assigned the value in the fex to be correct field to be associated with it, and selected Dynamic as the Data Type.

The issue is that although the chaining all works as expected, the settings for the parameter state that it is Static, not Dynamic. This means that Multiselect does not work.

How can I change the settings for the Parameter to be Dynamic as opposed to Static?

I've tried deleting and recreating the listbox from the Design Canvas, and deleting the Parameter from the Parameters section of HTML composer, but you can't delete the parameter once it's created. It just sits there as unbound.

Any help would be greatly appreciated.

This message has been edited. Last edited by: FP Mod Chuck,
 
Posts: 11 | Location: United Kingdom | Registered: September 07, 2010Report This Post
Master
posted Hide Post
JazBar,

First, Dynamic/Static does not control whether a listbox allows Multiselect. That is an attribute. Look under the properties of the element. There should be a "Multiples" option.

Dynamic/Static defines how the element is populated. Dynamic means that it will be loaded at run time, Static will have the values hard coded in the HTML.

How you handle this is slightly different between Dev Studio and App studio. Which one are you using?


Eric Woerle
8.1.05M Gen 913- Reporting Server Unix
8.1.05 Client Unix
Oracle 11.2.0.2
 
Posts: 750 | Location: Warrenville, IL | Registered: January 08, 2013Report This Post
Member
posted Hide Post
Hi Eric,

I'm using App Studio, V8.1.05.

Things have move on since in that I noticed that the new parameter wasn't associated with a WHERE statement in the fex. As this as the case, when the control and parameter were created, App Studio didn't know which field in the Master file it was associated with, and just created it as a Static parameter.

After adding the WHERE statement, and creating another HTML document, App Studio knows immediately the field it's associated with and creates it as Dynamic, thus also allowing multiselect functionality.

Now if my original HTML document, which has a large number of animations and styling, can be reused then I'll be very happy. I can't delete the parameter as it stays there as unbound, and refreshing the Parameters pane in App Studio doesn't change the new parameter to be Dynamic from Static. Is there a way to either delete the parameter from the Parameters pane, or make the unbound parameter Dynamic as opposed to Static?
 
Posts: 11 | Location: United Kingdom | Registered: September 07, 2010Report This Post
Master
posted Hide Post
Parameters themselves aren't dynamic/static. Its the element that you attach to the parameter that will be dynamic/static.

what you want to do in your original HTML file is go to the requests tab on the right and find your report request, then refresh your paramaters. It should update accordingly.


Eric Woerle
8.1.05M Gen 913- Reporting Server Unix
8.1.05 Client Unix
Oracle 11.2.0.2
 
Posts: 750 | Location: Warrenville, IL | Registered: January 08, 2013Report This Post
Member
posted Hide Post
Hi Eric,

That's done the trick!

Thank you very much for your help.

Jason
 
Posts: 11 | Location: United Kingdom | Registered: September 07, 2010Report 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     [SOLVED] Change Static Parameter to Dynamic in HTML Composer

Copyright © 1996-2020 Information Builders