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     Change default name for one report

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Change default name for one report
 Login/Join
 
<Andr33a>
posted
Hello all,
I have a little problems,and I hope you can help me.
After I execute an WF rapport (EXCEL format) I need to change the name that the rapport comes with.
Par default when the report is generated, it has a default name (WFServletxyz.xls).
Is there any solution to change this name, so that when the report is generated, the default name be something like "File_name_abc", where abc is a number, and if I run the same report for the second time the name of the file be "File_name_abc+1" ?

Thanks for your support,
Andreea
 
Report This Post
Virtuoso
posted Hide Post
Not that I am aware. If you get the message already open and say okay, ususally it opens the next report with a '-' version on the wsservlet name. I would say best option would be to save the first report if really wanted prior to running the second for unique names. I don't play a lot with changing names and so on, someone out there may have a better answer for you.


Leah
 
Posts: 1317 | Location: Council Bluffs, IA | Registered: May 24, 2004Report This Post
Virtuoso
posted Hide Post
Andreea,

Here is a sample report that should give you what you need. However, I am not sure if the features used are supported in WF 533. The AS phrase controls the name of the files. The TITLETEXT controls the name of the worksheet (the name on the tab) in the Excel Workbook.

TABLE FILE CAR
SUM RCOST DCOST SALES
BY COUNTRY
ON TABLE HOLD AS 'CARXLS1' FORMAT EXL2K
ON TABLE SET STYLE *
TYPE=REPORT, TITLETEXT='CAR One',$
ENDSTYLE
END

The other thing to note here is that it creates the Excel file on the server but does not pass it directly back to the browser. PCHOLD does not seem to respect the AS 'CARXLS1' statement but doing a regular HOLD does.


Thanks!

Mickey

FOCUS/WebFOCUS 1990 - 2011
 
Posts: 995 | Location: Gaithersburg, MD, USA | Registered: May 07, 2003Report This Post
<Andr33a>
posted
Thanks Mickey,
I'll try your idea this afternoon and I'll tell you later if it works also in WF 5.3.3.

Thanks a lot,
Andreea
 
Report 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     Change default name for one report

Copyright © 1996-2020 Information Builders