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.
We need to use Excel Templates for few of our reports to run some macros on opening a report. This is working absolutely fine when reports are run from WebFocus Dev Studio. But when reports are triggered from ReportCaster, the templates are not picked up. Any help on this is appreciated!
My template is in a directory under App path but I still have no success when triggering through ReportCaster. Could you please let me know what permissions/privileges I need on ReportCaster for this?
YOUR version did not appear on your post. Unfortunately, like Francis I can not test this for you, but my experience with templates in 7.1.3 was that they would not work with report caster. The final step in creating a template had to be ON TABLE PCHOLD. This may have changed in newer versions.
Pat WF 7.6.8, AIX, AS400, NT AS400 FOCUS, AIX FOCUS, Oracle, DB2, JDE, Lotus Notes
Posts: 755 | Location: TX | Registered: September 25, 2007
I read the doc for 762 and it does support templates for Report Caster. But I don't know if it only works on Windows implementations (which I don't have) nor do I know enough about Excel to do a template.
Helme, you have to update your signature in your profile in order for the release stuff to show.
I have a mass of jobs that run via report caster creating Excel Templates, you just have to understand that you will not be able cast the resultant Excel workbook, but you could cast an email with a hyperlink to the file providing that it is accessible by the recipient.
Basically you just perform FILEDEFs for the interim template hold files and FILEDEF the final one to a physical location accessible by the Reporting server.
FILEDEF Templat1 DISK R1234EX1.mht FILEDEF Templat2 DISK R1234EX2.mht FILEDEF Templat3 DISK R1234EX3.mht FILEDEF Templat4 DISK R1234EX4.mht FILEDEF Templat5 DISK R1234EX5.mht FILEDEF FnlOutpt DISK "[drive]:/folder/subfolder/filename.xls"
T
In FOCUS since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2
WebFOCUS App Studio 8.2.06 standalone on Windows 10
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004
Pat, I am using version 714, do you think templates will not work with this version too? According to Ginny 762 supports templates, does that mean earlier versions do not support templates?
Look at the list of supported output types when you are creating a task. That will tell you whether it is supported or not. Also the Report Caster manuals have lots of information in them.
Thinking outside the box, and without the benefit of having "ON TABLE [PC]HOLD AS .... FORMAT EXLTEMPLATE" to give you an .mht web archive file, how about creating your BYTOC Excel output to disk and then running a VBScript to add the VBA code modules into the resultant file? In fact you could use VBScript to completely process the output file exactly as you require without having to resort to using VBA internal code and the syntax within VBA and VBScript is very similar.
One thing that I would urge you to do if you were going to use this approach, is to actually save (via VBScript) the ultimate file in "proper" Excel format as this could result in a massive space saving. The ones that I create average around 60% space saving.
It could work.
T
In FOCUS since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2
WebFOCUS App Studio 8.2.06 standalone on Windows 10
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004
Templates work with 7.0 and higher, my experience with them was at another company where the highest version we had while I was there was 7.1.3. The problem with using templates with Report Caster is that your final hold has to be ON TABLE PCHOLD. Since you are having to hold them to a "PC" there is nothing to cast.
Tony's suggestion of casting an email with a hyperlink is absolutely brilliant, but I think it will only work if you are running on a windows server.
Pat WF 7.6.8, AIX, AS400, NT AS400 FOCUS, AIX FOCUS, Oracle, DB2, JDE, Lotus Notes
Posts: 755 | Location: TX | Registered: September 25, 2007