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.
I have a requirement of adding the drop down filters in the report. I add them using TOC feature of webfocus where it creates a separate drop down list for each required BY field. The drop downs are created succesfully by adding the TOC command in the header code. But I need to remove that View Entire Report & Table Of Contents options which occurs at the end of the drop down list.
I just need the values of the field to be loaded in the drop downs. Can you please let me know If there's an option to do this? The output format is HTML.
Your quick repsonses will be helped.This message has been edited. Last edited by: Ranjana,
There doesn't appear to be an option for this request ... at least nothing I can find. You could remove those options from the drop down after report rendering by using the SET JSURL= setting to include your own JS file. This JS would then reduce the length of the combo box by 2. It might be a little tricky, but it should work.
Scratch that.
Step 1: Create a javascript file called /apps/baseapp/js/removeTocOptions.js with the following content:
toctreeNode.defaultArray = new Array();
Step 2: Add the following line to your focexec:
SET JSURL=/approot/baseapp/js/removeTocOptions.js
That should be enough.This message has been edited. Last edited by: dhagen,
"There is no limit to what you can achieve ... if you don’t care who gets the credit." Roger Abbott
hi Dhagen, I tried creating a .fex file in which I mentioned the below code. <script> toctreeNode.defaultArray = new Array();
In the foc exec, I mentioned the path which is below. SET JSURL=/apps/webfocus/adhoc/ibi/tgtapps/baseapp/removetocoptions.fex
But this didnt work, I still see those options. As the .js files cant be created in the webfocus environment, I thought of this. I can see the files only with .html or .fex format.
Do you think this works only for .js files? Or just the <script> tag in a .fex file will do.