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 am trying to create Launch Page on which i have given 2 Text Areas to the Users (Heading Notes and Footing Notes). I would be using the text typed in them in an ahtml report's SUBHEAD and SUBFOOT. I am pre-populating the Heading Notes Text Area using a javascript function, What text should be displayed is being decided on selection of Report name and Language. Using below code (I used \n because i want below 2 different lines : else if ((document.getElementById('combobox1').value == 'pi') && (document.getElementById('combobox2').value == 'en')) { document.getElementById('textarea1').value = '" Private Equity Relationships Established as at September 30, 2017"\n' + '"All Figures as at September 30, 2017 (except where footnoted)"'; }
I have format the text with the Double Quotes so that this can be mapped to a Dialog Manager variable and i can directly use it in the SUBHEAD section.
When i pass this variable in the SUBHEAD, only the First line is getting Printed and rest of the lines are not being picked up.
However when i try to -TYPE &HEAD, it gives:
"Private Equity Relationships Established as at September 30, 2017" "All Figures as at September 30, 2017 (except where footnoted)"
I cannot attach the pictures to show what's happening, Can you think of a way i can achieve this and Create the Heading on the Fly using User input?This message has been edited. Last edited by: FP Mod Chuck,
Webfocus 8105,8808,7703,7611, EXL2K,HTML,PDF,COMT,AHTML Info Assist+ , Reportcaster
« \n » is only recognized by the HTML not in Focus SUBHEAD, so if you still want to proceed that way, I suggest that you create 2 DM variable that will be passed to your report.
First var for first SUBHEAD line Second var for second SUHEAD line
Also you should not need to include the double quotes.
WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF In Focus since 2007
Posts: 2409 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013
Thanks for your reply, However this is One Example, Number of Subhead Lines can change from 2 to 8 as i am giving user a Text Area to input whatever he wants to see in the Subhead, How can i preserve the formatting?
I am passing this text in the On TABLE SUBHEAD. Can you think of a way by which i can achieve this?
Also each line in the heading should have Double Quotes, i can use use "&HEAD.EVAL" though.
Webfocus 8105,8808,7703,7611, EXL2K,HTML,PDF,COMT,AHTML Info Assist+ , Reportcaster
Thank you Gurus for your inputs. @dbeagan: as i am currently on 8.0.8 (used 8201 in last organization ) i used STRREP and HEXBYT() to achieve the same, I have used ~ as a delimiter and instructed the user to use this wherever they need a new line in there text. I'll sure keep in mind the REPLACE Function for future.
Webfocus 8105,8808,7703,7611, EXL2K,HTML,PDF,COMT,AHTML Info Assist+ , Reportcaster