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 procedure that populates some values for a few variables and then runs an HTMLFORM. This HTMLFORM should populate a couple of reports based on the variables but I am having a problem where the procedures on the HTML file are not picking up the variables from the procedure and I am getting input boxes on my HTML form which I do not want.
Not sure if it will be needed but the variables are called. &COUNTRY &ITEM &WHSE &IVNDR &INAME
I was able to find this thread (https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/704103414?r=704103414#704103414) that appeared to have a solution for Dev Studio but we are now on App Studio and I wasn't able to figure out how to replicate that solution in App Studio.
Thanks in advance for all of your help.
-LukeThis message has been edited. Last edited by: <Emily McAllister>,
Is this something that I would have to add to the text of that HTML Form?
I think so. But since I've never referenced an HTMLFORM, I'm not sure.
Thanks, unfortunately I appear to be unable to test this as I don't have any options to open the file in the text editor for an HTML file in App Studio.
hahaha! and the inability to use a text editor in app studio strikes again!
Sorry this has been a frustration for a lot of us in the forum since they released app studio. IBI doesn't believe that developers should be able to access the text editor... smh...
anyways. That topic has been beaten to death and no one wants to listen, so on to the other way... You should be able to right click the HTML file and select "Edit in Windows associated tool". That will let you edit it outside of App Studio. If you want html files to automatically open in notepad++ or any other tools, you can specify that through windows. When you save it, it will save back to the repository as normal. Just be warned, every time you open that file from now on, IBI will throw up an error saying that you might have broken it. You can ignore it. All that IBI actually does is a character count. If the character count changed, then it will forever throw that error. Its just a scare tactic. There is no actual checking for validity of the page.
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, 2013
Originally posted by eric.woerle: hahaha! and the inability to use a text editor in app studio strikes again!
Sorry this has been a frustration for a lot of us in the forum since they released app studio. IBI doesn't believe that developers should be able to access the text editor... smh...
anyways. That topic has been beaten to death and no one wants to listen, so on to the other way... You should be able to right click the HTML file and select "Edit in Windows associated tool". That will let you edit it outside of App Studio. If you want html files to automatically open in notepad++ or any other tools, you can specify that through windows. When you save it, it will save back to the repository as normal. Just be warned, every time you open that file from now on, IBI will throw up an error saying that you might have broken it. You can ignore it. All that IBI actually does is a character count. If the character count changed, then it will forever throw that error. Its just a scare tactic. There is no actual checking for validity of the page.
I am clicking the edit in windows associated tool but for some reason it is opening in Internet Explorer, I am assuming I have a default somehow setup (I haven't used this option before). Do you happen to know how to adjust this, I am trying to look through the help but so far I haven't had any luck.
In Windows, the default program for HTML files is Internet Explorer.
Go to Windows > Control Panel > Default Programs > Associate a file type ... with a program
Look for the .htm extension. Change the associated program to your favourite text editor.
From now on, whenever you open Internet Explorer, you will get the message "Would you like to make Internet Explorer your default browser?" - you have to select "No" or you will not be able to open the HTML files in the text editor.
A completely ludicrous workaround.
Francis
Give me code, or give me retirement. In FOCUS since 1991
Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
Originally posted by Francis Mariani: In Windows, the default program for HTML files is Internet Explorer.
Go to Windows > Control Panel > Default Programs > Associate a file type ... with a program
Look for the .htm extension. Change the associated program to your favourite text editor.
From now on, whenever you open Internet Explorer, you will get the message "Would you like to make Internet Explorer your default browser?" - you have to select "No" or you will not be able to open the HTML files in the text editor.
Is this something that I would have to add to the text of that HTML Form?
I think so. But since I've never referenced an HTMLFORM, I'm not sure.
My HTML file has the following code when opening in a text editor, unfortunately I don't write HTML code so I have no idea what I am doing with regards to where I need to change the code to pass these variables. The first thing I did was try to add it to the top but all that did was print the variables when I ran the procedure.
Note default="" is changed to default="!IBI.AMP.ITEM;" - this is how WebFOCUS amper variables are embedded in an HTML page.
Documentation: Developing Reporting Applications > Managing Flow of Control in an Application > Enhancing an HTML Webpage With a Procedure > Including Variables in an HTML Webpage
Francis
Give me code, or give me retirement. In FOCUS since 1991
Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
Originally posted by Francis Mariani: Of course, Dev Studio and App Studio make editing a GUI-generated HTML file quite difficult: there are no line-breaks at the appropriate end tags.
Francis,
didn't you know that this is how you're supposed to design HTML editing tools? I mean Dreamweaver has had it wrong all these years. Making a dual text editor/gui option so you can hand code and see the visual effect.
sorry, Its hard to stop myself on the ridiculousness of the way this works....
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, 2013
Thanks, unfortunately I appear to be unable to test this as I don't have any options to open the file in the text editor for an HTM file in App Studio.
You can cheat by clicking on your HTM file, then hold down the CTRL key while clicking on a file that will open up in a text editor (e.g., a procedure, CSS or JavaScript file), then right-click on that file and open in a text editor. Both files should then open in text edit mode.
But you didn't hear that from me...
App Studio WebFOCUS 8.1.05M Windows, All Outputs
Posts: 594 | Location: Michigan | Registered: September 04, 2015