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 in the process of trying to create a custom Template to use for publishing MRE Reports so that I can control the HTML page that prompts for parameter values. Has anyone gone down this road before me? Any pointers and suggestions you can give me would be greatly appreciated. I was not able to find much helpful documentation on IBIs site.
Thanks!
Thanks!
Mickey
FOCUS/WebFOCUS 1990 - 2011
Posts: 995 | Location: Gaithersburg, MD, USA | Registered: May 07, 2003
Hi Mickey. This may be what you're looking for. I found it originally in the Symptom/Problem/Solution Tech Support area, but can no longer locate the document (Problem #62851071).
To add a Template, you need to modify the tmlindex.htm file. Here's the instructions contained in the original problems resolution. Because it was for version 4.3.1, you may have to adjust accordingly.
1. Make a backup copy of /ibi_html/template/tmlindex.htm file
2. Open in NOTEPAD the tmlindex.htm located in the /ibi_html/template directory. A PERSONAL NOTE HERE: DO NOT USE FRONTPAGE TO OPEN THIS FILE. IF YOU DO, YOU WILL BE HAPPY THAT YOU PERFORMED STEP ONE!
3. The line < !--IBIMR_PUBLISH_TEMPLATE--> denotes the start of the section that lists the templates that will be available within the Publish Template tab.
4. Insert "(LI)(A)" (the () should be <> you know) tags that reference your thumbnail and template. You should note here that the first list item will be the default in the template tab of the publish applet.
5. Save the changes to tmlindex.htm to /ibi_html/template
That's all you need to do to add the template. Note that you will need a "thumbnail" of your template (.gif) as well as your actual template (.htm). Both the thumbnail and template should reside in the ibi_html/template directory.
Hope that's what you were looking for. Deb
WebFOCUS 7.6.11 on Win2003 Server WebFOCUS 7.7.03 on Win2003 Server Published, AdHoc, ReportCaster Output in all variants of Excel
I appreciate the direction to which chapter to find this information. However, the following is the totality of the information in Chapter 4. I did read this before you posted. I was looking for a bit more information. As I noted in my post I am looking for information on how to CREATE a custom template, not just information on how to publish a report. Maybe a documentation enhancement request could be opened in regards to adding more information into this section?
Thanks!
"Coding a Launch Page
When the Publish feature is used to create HTML Launch pages, special HTML and JavaScript code is put onto the page. This code controls the behavior of the page's Submit and Defer buttons, which may appear either alone or together on the page depending on how it was created. If you plan to modify the pages created by the Publish utility or plan to create your own, take some time to study the code on these pages. Publish a page with the "Show as Report" option checked for each of the following cases: Submit button only, Defer button only, Submit and Defer buttons. By reviewing the code on these three pages you will be able to understand how to make pages that are intuitive to your users."
Thanks!
Mickey
FOCUS/WebFOCUS 1990 - 2011
Posts: 995 | Location: Gaithersburg, MD, USA | Registered: May 07, 2003
Thanks for the information. By simply experimenting I figured this part out as well. I guess there really isn't anymore information in regards to doing this.
One of the things I am trying to do is create a template that has the Defer, Submit, and Reset buttons HORIZONTALLY next to each other. I noticed that when publishing, WebFOCUS adds code between the FORM tags. It always puts the buttons one on top of each other and there doesn't seem to be a way to change this behavior. I tried editing the code to put them side by side but it didn't run after that. I also want to add styling to the cells which contain the buttons which is seems that I have to do this AFTER publishing with the my custom template. I guess I need to do a little more experimenting.
Any more tips would be greatly appreciated.
Thanks!
Thanks!
Mickey
FOCUS/WebFOCUS 1990 - 2011
Posts: 995 | Location: Gaithersburg, MD, USA | Registered: May 07, 2003
You can use notepad or any HTML editor to create the layout. You just need to make sure the last code blocks are included. One way to insure you have the correct code as shown above is to publish your report using Web-Focus and cut the code you need from it.