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     [SOLVED] upload functionality in webfocus

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] upload functionality in webfocus
 Login/Join
 
Guru
posted
Hi,
Is there any way to provide upload functionality on maintain screen. i.e, Suppose I want to upload Excel from my local desktop on to the webfocus server on unix platform.
Please advise.

Thanks

This message has been edited. Last edited by: <Kathryn Henning>,


WF 8.1.04,Windows 7,
DataBase: Oracle 11g,Output :Excel,PDF,HTML
 
Posts: 281 | Location: India | Registered: April 21, 2007Report This Post
Platinum Member
posted Hide Post
If you mean uploading a file to the server, you should use server side programming like PHP/JSP/ASP. Don't think webfocus can do this.


7.66 and 7.704
System: Windows / AIX / Linux
Output: Mostly HTML, with some PDF, Excel and Lotus(!)
 
Posts: 147 | Location: Toronto (GTA) | Registered: May 25, 2005Report This Post
Guru
posted Hide Post
You can go to the Data Server folder and select your application. Then open your application folder and select the 'Master File' folder. Right mouse click on the folder and select 'New' and then select 'Upload Data File' and follow the instructions.


WF 7.6.11
Oracle
WebSphere
Windows NT-5.2 x86 32bit
 
Posts: 398 | Registered: February 04, 2008Report This Post
Virtuoso
posted Hide Post
quote:
If you mean uploading a file to the server, you should use server side programming like PHP/JSP/ASP. Don't think webfocus can do this.


This is how we've done it in the past (we used jsp). It's not all that hard and there's plenty of simple examples on the Internet, but you need to set WebFOCUS Maintain aside for a moment to do it. Have a web programmer look into it. I'd recommend having your Maintain screen pop open a small window just for file-upload, a simple jsp call with a couple of widgets to get the job done.

It's a remarkably useful way to get flat files up onto the server so that they can be master-filed and read as a data source. We did it as a simple html page, a file-browse widget in a jsp page that, upon submission, kicked off an I-Way routine via the url call to consume the file's contents. This let endusers in a BID Dashboard upload files from their PC for batch processing.

J.



 
Posts: 1012 | Location: At the Mast | Registered: May 17, 2007Report This Post
Guru
posted Hide Post
Hi John,
Thanks for your reply.
How can we integrate JSP with maintain event?
We don't have I-Way licence and hence can not use it.
Please advise.

Thanks.


WF 8.1.04,Windows 7,
DataBase: Oracle 11g,Output :Excel,PDF,HTML
 
Posts: 281 | Location: India | Registered: April 21, 2007Report This Post
Master
posted Hide Post
Shankar
You can perform a JSP from a JavaScript event. Here is an example that I use to perform a JSP from an event. It collects values from the form and passed them into the procedure. It then uses a window.open to kick off the procedure.

function OnButton1_Click() {
webpage = "http://localhost:8080/approot/Email/test3.jsp";
getTo = document.getElementById("To_Edit").value;
getCc = document.getElementById("Cc_Edit").value;
getFrom = document.getElementById("From_Edit").value;
getSubject = document.getElementById("Subject_Edit").value;
getBody = document.getElementById("MultiEditBox1").value;
url = webpage + "?getTo=" + getTo + "&getFrom=" + getFrom + "&getCc=" + getCc + "&getSubj=" + getSubject + "&getBody=" + getBody;
window.open(url,"emailwin");
}

Mark
 
Posts: 663 | Location: New York | Registered: May 08, 2003Report This Post
Gold member
posted Hide Post
@john_edwards: I now have idea how can i call JSP using a Javascript event.

Can you put some light on below:

"Upon submission, kicked off an I-Way routine via the url call to consume the file's contents"

We only have webfocus not iway, How do you think can we upload this file to the data server?


Webfocus 8105,8808,7703,7611, EXL2K,HTML,PDF,COMT,AHTML Info Assist+ , Reportcaster
 
Posts: 64 | Location: Toronto, Ontario | Registered: May 15, 2014Report 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     [SOLVED] upload functionality in webfocus

Copyright © 1996-2020 Information Builders