Focal Point
[TIP] 7.7.2 Templates are lacking in functionality

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/7797029795

January 31, 2011, 06:23 PM
jjeanjaquet
[TIP] 7.7.2 Templates are lacking in functionality
For those who have or just upgraded to WebFOCUS 7.7.2, I want to caution you on using an HTML template when creating a new HTML file in the HTML editor. It does allow one to create a new HTML file with well defined css defined form elements, but does not allow much else in the way of customization.
I created a set of reports using the template selector, and was happy with the results. Dropdown lists (or whatever other html controls I wanted) were automatically generated by the HTML editor based on Parameters in the fex file I attached. The run and refresh buttons are also included in every template.

HOWEVER, when I went back later on to add a scheduling button, I found that, when the template is in use, it is impossible to add controls. The "Insert" toolbar didn't have the necessary options for adding controls and the controls in the toolset were innactive. Meanwhile, the setting in "Form Settings" even had the "Add schedule button" checkbox checked by default, but still there was no schedule button on the form. I even tried adding the control manually into the HTML

This message has been edited. Last edited by: jjeanjaquet,


WebFOCUS 7.7.2: Windows 7: all output (Excel, HTML, PDF)
January 31, 2011, 06:34 PM
Francis Mariani
Two steps forward, one step back...


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
February 01, 2011, 02:50 AM
Dave
Although annoying...

It is by-design as mentioned in the release-notes.

It's meant to be a "turn-key" solution with no additional work to do.

So if your underlying .fex changes ( i.e. new parameter ), just delete the html and make a new one. When using a template it's just a few seconds work.

If you don't like it, you can always choose 'cancel' and do it the old-fashioned way.

Greets,Dave


_____________________
WF: 8.0.0.9 > going 8.2.0.5
February 01, 2011, 07:43 AM
David Glick
Dave is exactly right. The templates are meant to be for the user who does not want to do customization. The user creates their reports with the parameters and creates a page with a template and that's it. No customization required. So, you have found that it does exactly what was intended. Also, at the bottom of the Template Selector, is message text that explains this as well.


David Glick
Director WebFOCUS App Studio
and WebFOCUS Developer Studio
WebFOCUS Division
Information Builders, Inc.
Direct (917) 339-5560
Voice Mail (212) 736-6250 x3560
Fax (212) 947-5168
Email david_glick@ibi.com