How To Open PDF Attached file use CLIENT_HOST 11 g forms
How to open pdf file on client side at 11 g forms ?
when i open any attached (PDF )file on client side is not open those file open on server side plz guide me how to open those file on client machine using client host?
thanks
Where is the pdf you are trying to open? Is it on the server or the client? If the file is stored on the server then you can access it using WEB.SHOW_DOCUMENT assuming it is stored in a place that has a virtual mapping. For example:
WEB.SHOW_DOCUMENT ('http://server/someLocation/file.pdf','_blank');If the file is on the client then you need to configure your application to use WebUtil. Then you can do what Francois suggested.
Similar Messages
-
How to open a doc file using jsp Anchor tag
when i am trying to open a doc file using a jsp it is opening with out proper alignment.
how to open a doc file with proper alignment using Anchor Tag in JSp Page
Hello!
Does some one of you had open a MS word file (.doc) in Java search for a token like [aToken] replace it with another text and then feed it to a stream of save it?
I want to build a servlet to open a well formatted and rich on media (images) ms word document search for tokens and replace them with information form a web form.
Any Ideas?
Thank you in advanced. -
Error in opening PDF attachment sent using SO_DOCUMENT_SEND_API1
Hi all,
I am converting script to PDF using FM 'SX_OBJECT_CONVERT_OTF_PDF'. Using this table i am trying to send it as a attachment to mail id. I am able to send the attachment successfully, but not able to open the attachment.
It is giving error as 'Adobe Reader could not open file because it is either not supported file type or because the file has been damaged'.
I tried seaching on SDN, but did not get useful answer.
Can you please help me in resolving this error?
Thanks,
ArchanaGood day Archana,
This is the same problem we have encountered, this has started after adding a patch.
After doing so much R & D we could not do it. We have written a mail to SAP and they
have instructed the basis consultant to follow certain procedure and finally the issue is
solved.
I suggest you to consult basis consultants.
Regards and Best wishes. -
How to open a text file using button click event
hi, How can i open a text file in a textpad or notepad on the click event of a button.?
Thanks
JayPnt,
this will not work LV 8.0.1 and LV 8.6 will give back error 193.
Attached is a VI to use the ShellExecute WinAPI. The VI is LV 7.1.1.
Message Edited by waldemar.hersacher on 10-09-2008 10:48 PM
Waldemar
Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
Don't forget to give Kudos to good answers and/or questions
Attachments:
ShellExecute.zip 27 KB -
Opening PDF attached files to gmails
I have an N95 phone and I would like to know how to open/view/save etc.PDF files being attached to some of my e-mails received received in my GMAIL services.Thanks in advance for a prompt reply.Paul
Hi Jnkm,
I'm sorry to hear you are having issues with your new iPhone 6. If you are getting a winmail.dat file instead of a PDF, you may want to see if it may be the issue noted in the following article:
iPhone, iPad, or iPod touch does not display attachment in email - Apple Support
Regards,
- Brenden -
How to receive mutilple attachment files using pop3
i have problem to receive multiple attachment file.
how we can find out attachment in a forwarded messages.private void processMessage(Message message) throws MessagingException, IOException
Object obj = message.getContent() ;
String disposition = message.getDisposition() ;
if (disposition == null)
if (obj instanceof String)
System.out.println(obj.toString());
else if (obj instanceof Multipart)
processMultipart((Multipart) obj) ;
else if (obj instanceof InputStream)
processInputStream(message);
else if (obj instanceof InputStream || disposition.equals("inline") ||
disposition.endsWith("attachment"))
processInputStream( message) ;
else
System.out.println("Dont know the type " + obj) ;
private void processMultipart(Multipart multipart) throws
IOException, MessagingException
int count = multipart.getCount() ;
for (int j = 0 ; j < count ; j++)
BodyPart bodypart = multipart.getBodyPart(j) ;
String disposition = bodypart.getDisposition() ;
if (disposition == null)
Object ob = bodypart.getContent() ;
if (ob instanceof String)
System.out.println(obj.toString());
else if (ob instanceof Multipart)
processMultipart( (Multipart) ob) ;
else if (ob instanceof InputStream)
processInputStream(bodypart) ;
else if (ob instanceof Message)
processMessage((Message) ob) ;
else
System.out.println("Object type not found >> " + ob) ;
else if (disposition.equals("inline") || disposition.endsWith("attachment"))
processInputStream(bodypart) ;
else
System.out.println("No handling of Disposition type " + disposition) ;
private void processInputStream(BodyPart bodyPart) throws MessagingException, IOException
MimeBodyPart mbp = (MimeBodyPart) bodyPart ;
String name = mbp.getFileName() ;
if (name == null)
if (mbp.isMimeType("text/plain"))
name = "text.txt" ;
else if (mbp.isMimeType("text/html"))
name = "text.html" ;
else if (mbp.isMimeType("image/gif"))
name = "image.gif" ;
else if (mbp.isMimeType("image/jpeg"))
name = "image.jpeg" ;
else
name = "temp.tmp" ;
writeInFile(mbp.getInputStream(),name);
private void processInputStream(Message message) throws
MessagingException, IOException
MimeMessage mimeMessage = (MimeMessage) message ;
String name = mimeMessage.getFileName() ;
if (name == null)
if (mimeMessage.isMimeType("text/plain"))
name = "text.txt" ;
else if (mimeMessage.isMimeType("text/html"))
name = "text.html" ;
else if (mimeMessage.isMimeType("image/gif"))
name = "image.gif" ;
else if (mimeMessage.isMimeType("image/jpeg"))
name = "image.jpeg" ;
else
name = "temp.tmp" ;
writeInFile(mimeMessage.getInputStream(),name);
private void writeInFile(InputStream in,String name)
File file=new File(name);
FileOutputStream out=new FileOutputStream(file);
byte[] bytes = new byte[1024] ;
int i = -1 ;
while ( (i = in.read(bytes)) != -1)
out.write(bytes, 0, i) ;
in.close() ;
out.close() ;
} -
How to open a save file dialog box in form
hi
all
I have prob in form desing , i have open the save file dialog box , how to open a save dialog box
and path of the select file to save in disk
help
thxhi
user this query when-button-pressed trigger
:txtfile := GET_FILE_NAME(directory_name =>'d:\ali_raza\backup\', file_filter=> 'DMP Files (*.dmp)|*.dmp|');
Rizwan -
The first time i opened the mail, the mail loaded the attactment as pdf file and i was able to open it without any problems. But then when i tried to open it again, i watched the phone automatically turned the pdf file into winmail.dat without any of my control. Since then, i werent able to open the file anymore! And this was lucky that i was able to see it as pdf file - all other attachments i have recieved since using my new ip6 all turn into winmail.dat
this is really incovinient and frustrating for work. i cant believe i cannot just open a pdf file as a pdf file on my ip6 in the emails i recieve. I was on ip4 before this and never have anything like this happened.
Solution needed asap please.
Thankyou!Hi Jnkm,
I'm sorry to hear you are having issues with your new iPhone 6. If you are getting a winmail.dat file instead of a PDF, you may want to see if it may be the issue noted in the following article:
iPhone, iPad, or iPod touch does not display attachment in email - Apple Support
Regards,
- Brenden -
How to open DOC/XLS files using UIWebView on iPhone 3.0?
Hi,
I am using the following code to display doc/xlst files on UIWebView. It's surprised that I can get the content of the file but cannot show in WebView.
NSData *myData = [NSData dataWithContentsOfFile: fileDesPath];
NSString *ext = [m_openFiles.fileExtension lowercaseString];
NSString *mimeType;
if ([ext isEqualToString:@"doc"]) {
mimeType = @"application/msword";
}else if([ext isEqualToString:@"xls"]){
mimeType = @"application/vnd.ms-excel";
}else if([ext isEqualToString:@"wma"]){
mimeType = @"audio/x-ms-wma";
}else if([ext isEqualToString:@"jpg"] || [ext isEqualToString:@"jpeg"]){
mimeType = @"image/jpeg";
}else if([ext isEqualToString:@"tif"]||[ext isEqualToString:@"tiff"]){
mimeType = @"image/tiff";
}else if([ext isEqualToString:@"htm"]||[ext isEqualToString:@"html"]){
mimeType = @"text/html";
}else if([ext isEqualToString:@"mov"]){
mimeType = @"video/quicktime";
}else if([ext isEqualToString:@"mp4"]){
mimeType = @"video/mp4";
}else if([ext isEqualToString:@"txt"]){
mimeType = @"text/plain";
}else{
mimeType = [NSString stringWithFormat:@"application/%@", ext]; //pdf
NSLog(mimeType);
//Here, I can get the myData. The value is the content of the doc file.
if (myData) {
[self.myWebView loadData:myData MIMEType:mimeType textEncodingName:@"UTF-8" baseURL:[NSURL URLWithString:fileDesPath]];
After loadData, it cannot show anything in webview!
Can someone help me in this matter?
Thanks,
Message was edited by: Small AppleHi Maurício -
For your future reference and for the information of everyone who comes across this post in the future:
We host all of our DataPlugins on our website at ni.com/dataplugins. There are hundreds of file formats supported through the available DataPlugins, and there is also a link on that site where you can request a DataPlugin be written for file formats that aren't currently supported (such as custom *.CSV files).
Derrick S.
Product Manager
NI DIAdem
National Instruments -
How to open pdf files in browser using flex
hi,
my project is having a Document explorer wchich contains pdf
files,iwant to open it in the browser.can any one tell me how to
open pdf documents using flex programming(i tried with different
thing like swf's but my client wants only pdf formatt).Another option is by calling a JSP page. This example will
open a pdf file into a new browser without displaying the download
"save" prompt.
Function to call the JSP:
private function downloadFlyer(event:Event):void {
var jspLink:URLRequest = new
URLRequest("jsp/downloadpdf.jsp?fileName=Fundraiser_flyer_2008.pdf");
navigateToURL( jspLink, "_blank" );
JSP code:
<%@ page errorPage="error.jsp" %>
<%@ page import="java.io.*" %>
<%
//Get the parameters
String downloadFileName=request.getParameter("fileName");
String fileName = application.getRealPath("/downloads/" +
downloadFileName);
File file = new File(fileName);
if (!file.exists()) {
throw new IOException("File does not exist.");
// Get the size of the file
long length = file.length();
// You cannot create an array using a long type.
// It needs to be an int type.
// Before converting to an int type, check
// to ensure that file is not larger than Integer.MAX_VALUE.
if (length > Integer.MAX_VALUE) {
throw new IOException("File too big.");
response.reset();
response.resetBuffer();
response.setContentType( "application/pdf" );
response.setHeader ("Content-Disposition", "filename=" +
downloadFileName);
//Prevent the Java error: "getOutputStream() has already
been called for this response"
out.clear();
out = pageContext.pushBody();
InputStream in = new FileInputStream(file);
OutputStream output = response.getOutputStream();
try {
int curByte=-1;
while( (curByte=in.read()) !=-1){
output.write(curByte);
} catch (IOException ioe) {
ioe.printStackTrace(System.out);
} finally{
output.flush();
in.close();
response.flushBuffer();
%> -
How to open *.pdf files in BOXI r2 inbox
I am scheduling as *.pdf file for deski report.After scheduling i am getting *.pdf in my inbox.if the report is deski or webi we can use FC_REPORT_ENGINE or WI_REPORT_ENGINE to open the report's using java code.In same way how to open *.PDF file in Inbox?
Edited by: ramkishore kishore on Nov 7, 2008 8:31 AM
Edited by: ramkishore kishore on Nov 7, 2008 8:31 AMHi Ram,
Following information might help you to resolve the issue.
After logging into Desktop Intelligence, you may be presented with a message stating:
u201CYou have received 1 document from users"
Examining the Inbox from within the Desktop Intelligence client shows no objects visible in your Inbox.
The object in your Inbox is in a format other than Desktop Intelligence format such as, PDF, XLS or other format. Therefore the object is not recognized by the Desktop Intelligence client inbox browser.
Log in to Info View or the Central Management Console, browse to your Inbox and verify the file name and format that has been sent to your Inbox. The object may be saved, copied, moved or deleted as necessary.
Regards,
Sarbhjeet Kaur -
How do I convert a PDF file to a PDF/A file using Acrobat 7.0 Professional?
How do I convert a PDF file to a PDF/A file using Acrobat 7.0 Professional?
Hi,
There are a few ways to export your PDF file to Word or Excel files.
Using Web UI:
Log into https://exportpdf.acrobat.com/signin.html with your Adobe ID and password
Select “Export from PDF”
Click “Select Files” button then choose your PDF file
Select the format from the list below
Check ON “Recognized text in” if your PDF file is scanned images to recognize the image to text
Click “Export” button
Click “Download” button in the progress bar after completion of exporting to download the file to your computer.
Using Adobe Reader:
Launch Adobe Reader X or Reader XI
Select “Tools” and click “Sign In” link to sign in with your Adobe ID and password
Select “Export PDF” then click “Select PDF file” link
Select format from “Convert To”
Click “Convert”
Click “Download Converted File” link to download the file to your computer after the process is completed.
Download Files:
All exported files are stored at https://files.acrobat.com and you can login with your Adobe ID and password.
Or at Web UI you can click “FILES” next to “TOOLS” at top or click “View All files” in the file list of “Export from PDF” tool( or “Convert to PDF” or “Combine Files” tools for PDF Pack users) that will redirect you to the above site(https://files.acrobat.com)
From Reader you can click “Store Files” under “Tools” and click the link of “Open Acrobat.com Files”
Hisami -
How to open pdf or word doc or notpad file in flex
hai friends,
how to open pdf or word doc or notpad file in flex. i am doing flexcoldfusion project. now i reterive data(notpad or worddoc or pdf file path) from database using coldfusion.now i want to open that file content .if i reterive notpad file .that will show in notpad. if it is possible. give example.
regards,
welcomecanvHi WelcomeCan,
Try this...
var urlRequest:URLRequest = new URLRequest();
urlRequest.url = "http://www.yourdomain.com/notepad.txt";
//urlRequest.url = "http://www.yourdomain.com/FlexComp.pdf";
navigateToURL(urlRequest,_blank);
Thanks,
Bhasker Chari -
How do I open a .dd file using OS X?
I had a corrupt external HDD which i used to use with an old laptop. I used data recovery software and managed to recover 33gb of data. However it is saved in the old diskdoubler format. (.dd file extension). How do I open a .dd file using OS X? ive tried stuffit and unarchiver but they dont work. any help?
Look at these links.
http://forums.appleinsider.com/archive/index.php/t-40241.html
http://www.enews.org/blog/2009/03/opening-diskdoubler-files-from-mac-os-9.html
Cheers, Tom -
Cannot open PDF attachment in webmail sent from Outlook, says I need to save first; how do I save the link?
Looks like another user asked similar question with over 600 views and no replies ... hmmm. When I click on the attachment, it says I must save it to my disk; with one button mouse just click once and save? I've tried dragging and saving the attachment to word doc but opened up with a page of garbled words/symbols,etc. Any ideas are welcome.
Maybe you are looking for
-
My Mac thinks that there is still a firefox running even though I deleted the old one. How can I get firefox to run again? After I updated to the new version of firefox I did not like it, so I wanted the old version back. I tried deleting firefox by
-
Hello, So I am the only IT person in our company. It's a mid sized business , we have about 90 employees. We have office 365 for office suites. We don't have Active directory or exchange server or any servers for that matter, we have two file servers
-
can I gift a play list to a friend
-
Where we get real time XML publisher with neat explanation
hi every one where we get real time XML publisher with neat explanation for oracle apps
-
Release Strategy (EBAN-FRGST) in PR authorization check
Hi, Do you know if it is possible to make release strategy (EBAN-FRGST) in authorization check of purchase requisition, other than release code & release group? Thanks.