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.
Is there a way to execute a procedure without having a window opening? The reason I ask is becuase I created a fex with the sole purpose to append to a focus file and I don't need the HTML window saying that it executed.
I know I can write some JSP in the fex that is generated to close the window but was wondering if there was something easier?
Eric
dev: WF 7.6.5 w/IIS + Tomcat
prod: WF 7.6.5 w/IIS + Tomcat
Posts: 153 | Location: Chicago, IL | Registered: February 24, 2006
You can always use javascript and a AJAX framework to execute a procedure without opening a new window. I've got a js library and an example if you want to see how I'm doing it, just let me know.
You can also set the procedure to return in an iframe within the current html and locate the iframe off of the screen (ie give it negative z-index). This will only work if you are using iframes which is how version 7+ does it in the html editor.
Otherwise, I'd have to see an example of the code you are using to help.
eric. an easy way is to just set the target to a hidden iframe using a DIV tag and visibility hidden, this way the user will not see it. I use this a lot for an web based IDE I have created to execute some focus code and get the results back. I do however display an animated gif so the use know it is doing something then when I get the response back I hide the gif.
Francis. is right about that I in my focexec if there is an error message I have javascript that get set if there is an error and display and alert to the user.
If you have also ETL installed you can schedule the process there, you won't get an html screen and I suppose that if you have to add to a focus file this must be done more than once. ETL helps you doing that job unattended.
Frank
prod: WF 7.6.10 platform Windows, databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7 test: WF 7.6.10 on the same platform and databases,IE7
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006
No ETL used in this case... I have a security process that gets executed in MRE as a profile and only want "if they fail security" for a window to be seen.
Thanks for responding.
Posts: 18 | Location: Trenton, New Jersey | Registered: November 24, 2003