Focal Point Banner


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.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Excel Templates and Report Caster

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Excel Templates and Report Caster
 Login/Join
 
Member
posted
When using an Excel template can you have multipule FOCEXCs update different sheets (tabs) in a spreadsheet or does it need to be in a compound FOCEXC when running from report caster? Does the file on the reporting server actually have data written to it or does it just serve as the template? I need to know what to distribute.

Thanks
 
Posts: 3 | Location: Dallas, Texas | Registered: June 28, 2006Report This Post
Expert
posted Hide Post
In theory, yes you can, but you will have to be careful about the order that they are run in and the storage of the interim archive files.

I achieve a similar process but within a single fex. My Client had a requirement where a variable number of sheets needs to be added to a template with the resulting file saved as a .xls.

I achieved this by having a set number of sheets maximum (I tried to add sheets to the archive via VBA but failed miserably - manually was OK but not programatically Frowner). The maximum number should be more than they will ever need for this process (but I will be proved wrong in years to come Wink).

I use a dialogue manager loop to build an array of the variables for the selection statements and then INCLUDE the fex process. I set a variable filename of &filename.mht for each of the processes up until the last process where the extension becomes .xls instead of .xht. The variable filename is used in a FILEDEF immediately before the report process.

You could do a similar process but storing your interim .xht files in an APPS folder on your iWay server so that each subsequent .fex can access it as each .fex execution could use a different agent (and therefore different EDATEMP folder). I would also urge you to build a clean-up process into your overall schedule that deletes all the interim .xht files.

It could take a bit of planning and creating a flow chart may help you - combined with a descriptive document, it could also serve as future support documentation for you or your colleagues. Smiler

Good luck

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, 2004Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Excel Templates and Report Caster

Copyright © 1996-2020 Information Builders