Adding PDF File
Hello,
My application is catalog of products and will work offline without internet connection so all the files need to be local at the application.
I want to add PDF file to my project and I didn't find a way to do that in offline mode.
Thank you,
Chen Grinberg
Hi Chen,
At this time, this is not supported within Siena, but you are free to add such support outside of Siena. If you would like to see such support within Siena, please join the community and contribute your request, along with the scenario
here.
Thanks.
Similar Messages
-
ITunes 11.1.5 Why I can't see added PDF files!
Hey guys,
I added some PDF files to my Library and I still can't see them on the left side menu where I can se my Videos, music and Apps...
what could be the reason?
I am using iTunes 11.1.5 on Mac OSX 10.9.2
RegardsYou no longer use iTunes to handle pdfs.
iBooks > File > Add to library.
If the pdf is an email attachment: control click > Open with > iBooks.
Some pdfs on websites have the option to 'Open in iBooks'. -
Adding PDF file as attachment to SOAP message
Hi,
I want to add a pdf file from the hard disk to a soap message as attachment. I have the following code:
// CREATE MESSAGE
SOAPMessage msg= fac.createMessage();
SOAPEnvelope nEnv= msg.getSOAPPart().getEnvelope();
//READ FILE FROM THE HD
String pdfFileName = "somepdffile.pdf";
FileReader fr = new FileReader(pdfFileName);
BufferedReader buffr = new BufferedReader(fr);
String sPdf="";
String line = testB.readLine();
while(line!=null)
sPdf += line;
line = testB.readLine();
//WRITE THE FILE TO BYTE ARRAY AND THEN TO STREAM
byte[] pdfData = sPdf.getBytes();
ByteArrayInputStream stream = new ByteArrayInputStream(pdfData);
//CREATE ATTACHMENT ADD THE STREAM AS CONTENT
AttachmentPart attPDF = msg.createAttachmentPart();
attPDF.setContent(stream, "application/pdf");
msg.addAttachmentPart(attPDF);
return msg;
I GET THE NEXT EXCEPTION:
javax.activation.UnsupportedDataTypeException: no object DCH for MIME type application/pdf
at javax.activation.ObjectDataContentHandler.writeTo(DataHandler.java:851)
at javax.activation.DataHandler.writeTo(DataHandler.java:305)
at javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:1089)
at javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:635)
at javax.mail.internet.MimeMultipart.writeTo(MimeMultipart.java:233)
at com.sun.xml.messaging.soap.MessageImpl.saveChanges(MessageImpl.java:356)
at javax.xml.messaging.JAXMServlet.doPost(JAXMServlet.java:192)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2343)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1012)
at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1107)
at java.lang.Thread.run(Thread.java:536)
javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.messaging.JAXMException: Bad response: (500, Internal Server Error)
at com.sun.xml.messaging.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:93)
at mp.soap.SendingServlet.getPolisPrint(SendingServlet.java:320)
at mp.soap.SendingServlet.doPost(SendingServlet.java:234)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2343)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1012)
at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1107)
at java.lang.Thread.run(Thread.java:536)
CAN ANYONE TELL ME WHAT THE SOLUTION IS ?
PLEASE HELP ME !!!
BiroltestB == buffr ! Sorry.
IT IS STILL NOT WORKING !!!!!
// CREATE MESSAGE
SOAPMessage msg= fac.createMessage();
SOAPEnvelope nEnv= msg.getSOAPPart().getEnvelope();
//READ FILE FROM THE HD
String pdfFileName = "somepdffile.pdf";
FileReader fr = new FileReader(pdfFileName);
BufferedReader buffr = new BufferedReader(fr);
String sPdf="";
String line = buffr.readLine();
while(line!=null)
sPdf += line;
line = buffr.readLine();
//WRITE THE FILE TO BYTE ARRAY AND THEN TO STREAM
byte[] pdfData = sPdf.getBytes();
ByteArrayInputStream stream = new ByteArrayInputStream(pdfData);
//CREATE ATTACHMENT ADD THE STREAM AS CONTENT
AttachmentPart attPDF = msg.createAttachmentPart();
attPDF.setContent(stream, "application/pdf");
msg.addAttachmentPart(attPDF);
return msg; -
Regarding adding PDF file to adf Form
Hi,
in my application i have created a entity object which uses a database table*( PDF_table)*
PDF_table has two columns i.e PDF_file (of type BLOB) and PDF description (of type varchar(100))
and in the ADF form my requirement is to browse a PDF file stored anywhere in the computer and save it in the database table(PDF_table).
Can anybody tell me how can i do this?Hi,
Thanks Samith and Shay for the reply..
By using the links given by you guys i modified my application. but i am getting problem while committing ti Database..
The source code of my application as follows..
*<af:document id="d1">*
*<af:messages id="m1"/>*
*<af:form id="f1" usesUpload="true">*
*<af:panelFormLayout id="pfl1">*
*<af:inputText value="#{bindings.Description.inputValue}"* // description is a attribute of Database Table and of type varchar2
*label="#{bindings.Description.hints.label}"*
*required="#{bindings.Description.hints.mandatory}"*
*columns="#{bindings.Description.hints.displayWidth}"*
*maximumLength="#{bindings.Description.hints.precision}"*
*shortDesc="#{bindings.Description.hints.tooltip}"*
*id="it1">*
*<f:validator binding="#{bindings.Description.validator}"/>*
*</af:inputText>*
*<af:inputFile label="Label 1" id="if1"*
*value="#{bindings.Pdf.inputValue}" autoSubmit="true"/>* //where Pdf is a attribute of database table of type BFILE
*<af:commandButton actionListener="#{bindings.CreateInsert.execute}"*
*text="CreateInsert"*
*disabled="#{!bindings.CreateInsert.enabled}"*
*id="cb1"/>*
*<af:commandButton actionListener="#{bindings.Commit.execute}"*
*text="Commit"*
*id="cb2"/>*
*</af:panelFormLayout>*
*</af:form>*
*</af:document>*
but after entering description and file path when i enter Commit it is showing an error i.e
*Error: Cannot convert org.apache.myfaces.trinidadinternal.config.upload.UploadedFiles$FixFilename@155ef67 of type
classorg.apache.myfaces.trinidadinternal.config.upload.UploadedFiles$FixFilename to class oracle.jbo.domain.BFileDomain*
how can i solve this?... -
......
If you want to read pdf files in adobe. You need to add adf files to adobe directly. For this you need to connect your device and go to apps section. In that section select adobe then right side you will get a window. In that window you can add pdf files.
-
Adding PDF File to Email Message
When I attempt to add a PDF file to an email message (via Outlook) I get the following error message, after which the program shuts down: "The instruction at 0x6148f787 referenced memory at 0x00000000. The memory could not be read." Please Help!
It runs in a Window titled Outlook all by itself. Guess I'm an idiot because I still can't find the version. Anyway, this problem only happens when I'm using IE. When I use Firefox, I can attach a PDF file to an email message just like I used to do using IE.
[private data removed] -
Hi guys,
I have been given lots of PDF files which I have been asked
to add to a website. I'm developing a school website and these are
homework files which are for the kids to access their work online.
However i'd like a spot of advice on how I get the pdf file to
load. Is it as simple as doing an "onRelease goto URL" kind of
thing or is there a little more to it.
Could anyone with their words of wisdom please enlighten me
to the ways to adding PDF files to a website.
Would be eternally gratefull..... !!!
F..Frazer75 wrote:
> Hi guys,
>
> I have been given lots of PDF files which I have been
asked to add to a
> website. I'm developing a school website and these are
homework files which are
> for the kids to access their work online. However i'd
like a spot of advice on
> how I get the pdf file to load. Is it as simple as doing
an "onRelease goto
> URL" kind of thing or is there a little more to it.
>
> Could anyone with their words of wisdom please enlighten
me to the ways to
> adding PDF files to a website.
You can't load PDF within flash but you can open it in
browser
window. Of course if the user has no plug in for it, it will
invoke
the download dialog. Something we have totally no control
over.
Anyway, use simple getURL action and instead of URL just
place the
location of the file following the file name.
Best Regards
Urami
Beauty is in the eye of the beer holder...
<urami>
If you want to mail me - DO NOT LAUGH AT MY ADDRESS
</urami> -
Gettig error while adding a pdf file in Data Manager
Dear All,
When I m trying to add a new pdf file in the Data manger then it gives the error as:" Unable to open Adobe Acrobat. See your administrator about installing Adobe Acrobat."
Please help me in adding this pdf file to Data Manager.
Thanks And Regards
Gaurav Kumar sharmaHi Gaurav,
In order to load PDF files Adobe Acrobat® Standard or Professional Version is required and it needs to be installed on the machine that is loading the PDF and not on the Server machine.
That's why it is giving you error to Install Adobe Acrobat. It is also required to generate Thumbnails.
Refer, SAP Note for more details:
https://websmp130.sap-ag.de/sap/support/notes/1258537
Thanks and Regards,
Mandeep Saini -
I have a pdf file with the added sounds, so I can not run the sound in adobe reader XI on my tablet samsung galaxi pro (android)
Thanks for writing to us. Unfortunately, such advanced javascript support is currently not provided by Adobe Reader for Android.
Thanks,
Adobe Reader Team -
Save a pdf file without Adobe automatically adding "-Copy" to the end
How can I save a pdf file without Adobe automatically adding "-Copy" to the end of file name?
If you have actually made any changes (e.g. adding a Sticky Note or filling out forms), the Save button will appear in the bottom toolbar. It will save it as the same name.
"- Copy" is added only when you tap/click the Save As button. You can change it to something else, if you'd like. -
Merging PDF files - Each file name to be added as bookmark
Hi,
Assume i have pdf file with file names as follows
Intrduction.pdf
Lesson1.pdf
Lesson2.pdf
Lesson3.pdf
After Merging in to a single pdf file i want the file names to be added as bookmark and when i click the
a. Lesson1 bookmark it should go to the Lesson1 first page
b. Lesson2 bookmark it should go to the Lesson2 first page
Please let me know how to achieve this.
Thanks.Combine the files as usual via File - Create - Combine files into a Single PDF, just click on the Options button in that window and make sure that the "Always add bookmarks" box is ticked.
-
Bookmarks in PDF files added to a portfolio
How can I preserve the bookmark displays from PDF files added to a portfolio in Acrobat Pro X? Portfolios in Acrobat 9 were able to do so. Some of the viewers of my portfolios will not find it intuitive to scroll through each file in order to see all contents - and may think the file is only 1 page.
How can I preserve the bookmark displays from PDF files added to a portfolio in Acrobat Pro X? Portfolios in Acrobat 9 were able to do so. Some of the viewers of my portfolios will not find it intuitive to scroll through each file in order to see all contents - and may think the file is only 1 page.
-
When i convert any file to pdf, date is automatically added in the header in pdf file. How to change that?*
heres a screenshot
heres a screenshot of how i convert them -
I have nine, 1-page PDF files that are accessible and need to combine into 1 PDF file. I have tried appending, adding and the combine PDFs process. The file created is not keeping my changes. The created file is partially accessible but I have to re-fix issues I had fixed in the single files. I need suggestions on what else can be done if any. Using Acrobat pro XI.
Out of habit, I tend to combine PDF files in the Page Thumbnails pane by right-click then "Insert Pages" -> "From File". For me, this preserves the tags from both documents, although the tags may have to be moved into the right location (if I recall correctly the tags for the inserted pages get put at the end of the tag structure, regardless of where the pages are inserted), If I first put the tags for the document to be inserted inside a container tag like Section, it makes the process easier. Moving that set of tags to the right place is the only re-fixing that I recall having to do. What behavior are you experiencing?
a 'C' student -
Problem in Adding Accessibility Tag to PDF file.
While adding accessibility tag to the pdf file some extra text content (@) added to the pdf file, the sample pdf file's are in following link please find the problem.
Before Add Tags to Document:
http://uploadingit.com/file/avecc8bshs4s792h/Test2_Before_Add%20Tags%20to%20Document%20in% 20Acrobat%209%20Pro.pdf
After Add Tag to Document:
http://uploadingit.com/file/5w09yp78zyc39g7e/Test2_After_Add%20Tags%20to%20Document%20in%2 0Acrobat%209%20Pro.pdfHi,
while writing report at top-of-page event
write sy-pagno this will be printed on spool
and also PDF will have page count .
report ztest
line-count 65.
*after 65 lines top-of-page is triggered and pageno is
incremented
top-of-page.
write sy-pagno.
Regards
amole
Maybe you are looking for
-
Early this morning my install of windows 10 tech preview attempted to update itself and now it is broken and unsable. Symptoms : computer crashed upon first login. After reboot: Sound device no longer found Cannot connect to wifi via usb wfif adapt
-
Check that at least one variable is set
I have 10 variables/parameters and i want to ensure that at least one of those is not empty/null. What is the best way to check that? Example of parameters: p_item_category1 varchar2, p_item_category2 varchar2, p_item_category3 varchar2, p_item_categ
-
Hi Gurus, I am trying to install ECC 5 IDES on Win with Oracle as Database. I am done with the steps of installing oracle database and Java1.4.2 and when i am trying to run Installation master i am getting the following error message ...
-
Hello! Has somebody experience in server-side testing of ApplicationServices with tools like Cactus or something? Is there any recommandation how to perform tests form SAP? Thank you. Jörg
-
Instead of sending a song to itunes as an .m4a how do you send one as an .mp3.......or can you convert it in itunes?