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.
Hi All, I'm using DRILLMENUITEM option in the styling,but when I try to include morethan 5 parameters my drill option doesn't work,Can anyone suggest me the reason.
i recently stumbled upon a DrillMenuItem limitation in Internet Explorer. Since IE has a built-in limitation of about 2000 characters for the max length of a URL, if your drillmenu has too many items, it eventually exceeds this length and the drillmenu will simply not show up when you click on it. How many items is dependent on how long your paramter strings are. for me, i was generally seeing it putter out around 30 items or so.
incidentally, Firefox does not have such a restriction, and can deal with a near-infinite number of menu items.
You can actually fix the DRILLMENUITEM length problem. I built a prototype about a year ago that would re-write the javascript functions and insert my own. This allowed a user to code the multiple drills as per normal, and not have to worry about the too many items or length or whatever.
Unfortunately, I cannot find my prototype, and I cannot remember who I sent it too If I can find it, I will post here.
If anyone want to try, the logic was pretty simple. 1) Create a JS file that would loop through the anchor tags. 2) Initialize an object for each drill menu item, and load all the key value pairs into the object. 3) Reset the menu items to call your own JS function to execute request. 4) Your new JS function would submit a form with all the values to appropriate target. 5) Include your JS file into your fex using the SET JSURL setting.
Any takers?
"There is no limit to what you can achieve ... if you don’t care who gets the credit." Roger Abbott
MSAM, make sure 1) you have fewer than 12 DRILLMENUITEMS for one field, and 2) that your parameter names are as short as possible, and that you pass no long string values, just codes. Test your drilldown by first starting without any DRILLMENUITEMs... just an ordinary drilldown. Then turn that ordinary drilldown into a DRILLMENUITEM with only 1 choice (yes, that works), then add the rest 1 by 1, just like chemistry class, to see where it breaks.
In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003
Ok, this has not been completely tested, but whoever is interested can change the end result.
All this does is change the existing arguments in the drill options that contains all the key value pairs to a simple array of an array object. The following was done with 716. This is way simpler then what I suggested above.
The comma delimited values are broken down in groups of 3, where the first value is the drill down array number starting from 0 to the total number of drill items (48 - 1 in my case), the second value is the expanded key value pairs for the parameters that we added to the drill down link when we built it, and some third value that always seems to be blank.
All this JS is doing is: 1) retrieve the value for each href. 2) extract the key value pairings (or parameter names and values), and set the value of a multi-dimensional array to that key value pairing. kVP[x][y] is the multi-dimensional array that will contain now contain the values (e.g.
). 3) rebuilding the href while substituting the key value parings to the multi-dimensional array, thereby making the entire href significantly smaller.
It's a great idea, at least I think it is...I really dont' understand it. Thanks dhagen!
Unfortunately, it didn't keep mine from crashing, maybe I'm doing something wrong?
the first lines of my fex look like this now. -SET &ECHO=ALL; SET JSURL=/apps/baseapp/fixmultidrill.js -DEFAULT &CHR = 'BYMONTH';
note, there's no dash on the set JSURL line.
I created the fixmultidrill.js in my baseapp directory... Y:\ibi\apps\baseapp fixmultidrill.js, and I just copy and pasted the code that dhagen posted. I didn't see anything that was specific to my system.
Did I do this right?
Prod: Single Windows 2008 Server running Webfocus 7.7.03 Reporting server Web server IIS6/Tomcat, AS400 DB2 database.
If you are getting crashes, then this technique is not going to help with that. This technique cleans things up POST delivery. This technique was posted to help with the original question of this thread. Open a problem with CSS to see if they can help you with your crashing agent problem.
Sorry
"There is no limit to what you can achieve ... if you don’t care who gets the credit." Roger Abbott