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     [CLOSED] EXL07 Output Using AdHocRunFEX REST call

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] EXL07 Output Using AdHocRunFEX REST call
 Login/Join
 
Member
posted
I am trying to generate a report using the EXL07 output format through the AdHocRunFEX REST method call. This call to this method returns a string which is an EXL07 format that I need to save to a file so I can open it. I'm having trouble figuring out how to save that string to a file correctly so that it can be opened up with EXCEL. Has anybody tried to do this? I am using Visual Studio 2015 C# to make the REST API to retrieve the string and save the string to a file. However, I am not able to save it in a way that it can be opened with EXCEL.

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


WebFOCUS 8
Windows, All Outputs
 
Posts: 3 | Registered: December 02, 2015Report This Post
Guru
posted Hide Post
md,

Here is something for you to review that may help with your question.

Code: Writing to a Text File (Visual C#)

Specifically:

// Compose a string that consists of three lines.
string lines = "First line.\r\nSecond line.\r\nThird line.";

// Write the string to a file.
System.IO.StreamWriter file = new System.IO.StreamWriter("c:\\test.txt");
file.WriteLine(lines);

file.Close();

Thank you for participating in the Focal Point Forum.

Kind Regards,
Tamra Colangelo
IBI Focal Point Moderator


WebFOCUS 8x - BI Portal, Developer Studio, App Studio, Excel, PDF, Active Formats and HTML5
 
Posts: 487 | Location: Toronto | Registered: June 23, 2009Report 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     [CLOSED] EXL07 Output Using AdHocRunFEX REST call

Copyright © 1996-2020 Information Builders