Attach pdf files or DWG to a table
Hi
How can i attach pdf files or DWG or.... to a table?
Best
If you using SQL Server 2012 take a look at FILETABLE feature.
Best Regards,Uri Dimant SQL Server MVP,
http://sqlblog.com/blogs/uri_dimant/
MS SQL optimization: MS SQL Development and Optimization
MS SQL Consulting:
Large scale of database and data cleansing
Remote DBA Services:
Improves MS SQL Database Performance
SQL Server Integration Services:
Business Intelligence
Similar Messages
-
Attaching .pdf files in the workflow e-mail
Hi,
I have a custom workflow which sends a notification to the external vendor.In this scenario,i need to send the details as an attachment(.pdf files).
I have installed CMSDK and iAS.Is there any sample code / example to integrate workflow with CMSDK??
or atleast can i find the exact workflow document where can get this info?
Please help.
Thanks,
lakshmi.Hi Raja,
Thanks for your input.
I have done some work on this but i am getting the following error..i am sending you the sample code too..
please help.
Error
ORA-06550: line 1, column 7:
PLS-00306: wrong number or types of arguments in call to 'TEST_LOB'
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
Error Name: -6550
Error Stack:
Wf_Notification.GetAttrDoc(40486, TEST_DOC, text/html)
table : bob_lob
c2 : column in bob_lob where i stored the .pdf document
create or replace procedure test_lob (document_id in varchar2,
display_type varchar2,
document in out clob,
document_type in out varchar2)
as
doc_lob clob;
itemkey VARCHAR2(20);
itemtype VARCHAR2(10);
begin
itemtype := substr(document_id, 1, instr(document_id, ':') - 1);
itemkey := substr(document_id, instr(document_id, ':') + 1, length(document_id) - 2);
document_type := 'application/pdf';
select c2
into doc_lob
from bob_lob
where c1 = 5;
document := doc_lob ;
exception
when others then
dbms_output.put_line(sqlerrm);
end; -
Problem reading attached PDF files
<!--[if gte mso 9]><xml>
</xml><![endif]--><!--[if gte mso 9]><xml>
Normal
0
false
false
false
MicrosoftInternetExplorer4
</xml><![endif]--><!--[if gte mso 9]><xml>
</xml><![endif]--><!--[if !mso]>
<object
classid="clsid:38481807-CA0E-42D2-BF39-B33AF135CC4D" id=ieooui>
</object>
<style>
st1\:*{behavior:url(#ieooui) }
</style>
<![endif]-->
<!--[if gte mso 10]>
<style>
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"Table Normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-parent:"";
mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
mso-para-margin:0cm;
mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:10.0pt;
font-family:"Times New Roman";
mso-ansi-language:#0400;
mso-fareast-language:#0400;
mso-bidi-language:#0400;}
</style>
<![endif]-->
Hello.
At my work, we use JavaMail (version 1.4.1) in server
programs, processing mails with attached files from customers. Mostly it is
TIFF images, but it can also be PDF
files, and the attached files are extracted and saved for further processing.
Sometimes, we have a problem, reading attached PDF
files. The files get saved, but is of size 0 bytes. If I forward it, however,
using an Outlook client, the forwarded item can be read by our JavaMail program, and files saved OK.
I have tried to forward it using JavaMail, but I cannot
compose the mail parts, that fails, however - of the same reasons: I cannot
read the them in:-)
It looks like it's when the mail is send from a Mac.
Anyway, the part to read is of content type "APPLICATION/APPLEFILE" whereas when it's forwarded, it's content
type is "APPLICATION/OCTET-STREAM"
The way, I read the part, is to check if the part is an
instance of an InputStream, and then saving into a byte array, like this:
h5. Object
obj = part.getContent();
if (obj instanceof
InputStream) {
InputStream
inStream = part.getInputStream();
byte[]
buffer = new byte[BUFFER_SIZE];
int
bytesRead;
BufferedOutputStream
outBufStream = new BufferedOutputStream(new FileOutputStream(attFileName));
while
((bytesRead = inStream.read(buffer)) != -1)
outBufStream.write(buffer,
0, bytesRead);
inStream.close();
h5. outBufStream.close();
Problem
is that .read() method always returns -1 when content type Is APPLICATION/APPLEFILE,
so a file of 0 bytes are created.
Interesting is perhaps, that debugging shows me that the
part instance of the InputStream actually is a
com.sun.mail.util.BASE64DecoderStream when it fails, and a
com.sun.mail.util.QPDecoderStream
when it works OK.
So I have this idea, that I's a certain type of decoder
stream we're missing? We use Java 1.6.0 update 10 and JavaMail 1.4.1. and since
we use java 1.6 we use the JAF framework from that one, I guess?
Hope you guys can help?
Thanks in advance, Per Jensen
[email protected]We have two (MS Exchange) servers (from trace log):
Microsoft Exchange IMAP4rev1-server version 5.5.2650.23
Microsoft Exchange Server 2003 IMAP4rev1 server version 6.5.7226.0
- the first one is the one, we're using here, but I have tried on the other, newer version too, and it didn't help either.
But I've found out a couple of interesting things:
1: Debugging shows me, that the part instance of the InputStream actually is a com.sun.mail.util.BASE64DecoderStream when it fails, and if I forward the mail via Outlook as described earlier, and it can be read OK, the part is a com.sun.mail.util.QPDecoderStream instance.
2: I can save the WHOLE message to a file, using message.getInputStream(), and when I opens the file I can find the individual attachments - as well as the bodytext, if any - as they are separated with the disposition, mimetype and filename fields, showed as plain text. And the attachments are showed as blocks of characters; I guess it's the ascii character representation of the bytes. Here's a snippet, note the first two sentences. They seemes to be added, somehow, when I dump the message to file(?):
<START OF DUMPED FILE>
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_000_01C9A8A2.19479FE4
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
(The body text here)
------_=_NextPart_000_01C9A8A2.19479FE4
Content-Type: application/applefile;
name="first_attachment.pdf"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="first_attachment.pdf"
AAUWAAACAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAIAAAASgAAABAAAAAJAAAAWgAAACAAAAADAAAA
egAAABAAAAABAAAAigAAI6IAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAA1NzE2NSBCTkhhdWcucGRmJVBERi0xLjMKJbe+raoKMSAwIG9iago8PAovVHlwZSAv
Q2F0YWxvZwovUGFnZXMgMiAwIFIKPj4KZW5kb2JqCjIgMCBvYmoKPDwKL1R5cGUgL1BhZ2VzCi9L
aWRzIFsgNCAwIFIgXQovQ291bnQgMQo+PgplbmRvYmoKMyAwIG9iago8PAovUHJvZHVjZXIgKEhh
...(and so on)
DMgMDAwMDAgbg0KMDAwMDAwNTM1NSAwMDAwMCBuDQowMDAwMDA2NTA5IDAwMDAwIG4NCjAwMDAw
MDc2NjUgMDAwMDAgbg0KdHJhaWxlcgo8PAovUm9vdCAxIDAgUgovSW5mbyAzIDAgUgovU2l6ZSAx
MQo+PgpzdGFydHhyZWYKODgyNAolJUVPRgo=
------_=_NextPart_000_01C9A8A2.19479FE4
Content-Type: application/applefile;
name="second_attachment.pdf"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="second_attachment.pdf"
AAUWAAACAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAIAAAASgAAABAAAAAJAAAAWgAAACAAAAADAAAA
egAAABAAAAABAAAAigAAI9wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAA1NzE4MSBCTkhhdWcucGRmJVBERi0xLjMKJbe+raoKMSAwIG9iago8PAovVHlwZSAv
Q2F0YWxvZwovUGFnZXMgMiAwIFIKPj4KZW5kb2JqCjIgMCBvYmoKPDwKL1R5cGUgL1BhZ2VzCi9L
...(and so on)
<END OF DUMPED FILE>I understand that it's base64 encoded and must be decoded, and I have tried to copy/paste the blocks separately, run them through the com.sun.mail.util.BASE64DecoderStream, and saving them as PDF files, which works fine(!).
As the solution seems to be painfull: Parse the mail to find where the attachments starts and stops and saving them as files, I hope you guys can send me on the right track?
PS: The trace log when dumping the file shows everything OK, I think. Here's a bit of the log at the end of dumping the message:
(...)MTUgMDAwMDAgbg0KMDAwMDAwNTg2NyAwMDAwMCBuDQowMDAwMDA3MDIxIDAwMDAwIG4NCjAwMDAw
MDgxNzcgMDAwMDAgbg0KdHJhaWxlcgo8PAovUm9vdCAxIDAgUgovSW5mbyAzIDAgUgovU2l6ZSAx
MQo+PgpzdGFydHhyZWYKOTMzNgolJUVPRgo=
------_=_NextPart_000_01C9A8A2.19479FE4--
A10 OK FETCH fuldført.
A11 FETCH 1 (BODY[TEXT]<40336.16384>)
* 1 FETCH (BODY[TEXT]<40336> {0}
20/03-09 15:18:21,445 3 Done, writing bytes to ByteArrayOutputStream. Size: 40336 bytes (..common.mail.MailUtil.dumpMessageToFile.dumpMessageToFile)
20/03-09 15:18:21,445 3 Done, writing ByteArrayOutputStream to file. (..common.mail.MailUtil.dumpMessageToFile.dumpMessageToFile)
A11 OK FETCH fuldført. -
How do I email an attached pdf file to stationary templates in mail.
How do I email an attach PDF file using the stationary templates in mail on lion.
I attached the PDF but when try to send it I get back a dialog box that sez:
"This message cannot be sent because it uses stationery and contains attachments that are not images. Messages with stationery cannot contain attachments that aren’t images. You can cancel and return to editing the message or remove the stationery in order to send." My choice is to cancel or remove stationary.
Is there a third party solution? Any suggestion?No
Envoyé depuis Molto pour iPad
De: pwillener
Envoyé: jeudi, février 12, 2015 07:14 AM
À: René Allamelle
Objet: how do I compress a large pdf file to fit in an email?
how do I compress a large pdf file to fit in an email?
created by pwillener in Adobe Acrobat.com Services - View the full discussion
But generally it is never a good idea to send e-documents as email attachments. Better use a file sharing service (Acrobat.com, Dropbox, Google Drive, Microsoft OneDrive, ..), upload the document, then send the shared download link via email.
If the reply above answers your question, please take a moment to mark this answer as correct by visiting: https://forums.adobe.com/message/7187079#7187079 and clicking ‘Correct’ below the answer
Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page:
Please note that the Adobe Forums do not accept email attachments. If you want to embed an image in your message please visit the thread in the forum and click the camera icon: https://forums.adobe.com/message/7187079#7187079
To unsubscribe from this thread, please visit the message page at , click "Following" at the top right, & "Stop Following"
Start a new discussion in Adobe Acrobat.com Services by email or at Adobe Community
For more information about maintaining your forum email notifications please go to https://forums.adobe.com/thread/1516624. -
Hi everybody,
I have looked for an answer in this forum ... without any good result.
I worked on a Word 2010 file with some attached pdf files. These attached files are displayed as icons on the word file. If you double click on them, you can consult them. This works very good.
Problem: I would like to convert this word 2010 file into a pdf file, which keeps the icons (linked to attached files) active. If I "pdf" this with my current system, icons are displayed as pictures: I cannot open the attached files.
My question is very simple: is it possible to retain these active icons (= to open attached documents) in a pdf file? Which adobe package should I use?
Many thanks for your help
cheers
elgreengoNo, it's not possible, but I agree it would be a very nice feature.
-
Can no longer attach pdf files into email.
I recently purchased a new computer with Windows 8.1 as the OS. Seems that I am no longer able to attach PDF files into any email. Any clues as to what has gone wrong?
Thanks for the help. Seems I had a failed Windows update several weeks past I had forgottent about. Had to do a restore to the prior date to get back to the right configuration. Did an online session with Mircosoft, reinitiated the update, and it seems as if the issue is resolved. We were able to re-test attaching and send pdf files. Seems there is still some slight issue with IE, but you appear to be on the right track about focusing on Web Outlook if the problem continues to surface. Thanks again.
-
When trying to upload a PDF to an interactive site I get the announcement: "The attached PDF file references a non-embedded font Tahoma. Please remove file, embed the font and reattach."
I could not get rid of the Tahoma font in the WORD file.
How do I embed this, or in fact any other font ?Thank you very much !
Indeed, I was unaware of the enormous number of options that can be selected when converting a WORD file to PDF.
I went thru the settings and found the right one for embedding the fonts.
Thanks again !
Oren -
Attach PDF file to Service notification
Hi Everyone,
Can somebody tell me how I can attach PDF file from local folder into the attachment list in the service notification(tcode IW52) ?
Also how i can get the list of documents attached to the service notification ?
I should attach the file from module pool program(from custom transaction).
Is there any FM or some class methods that can make the attachment ?
Thanks,
Dime Slavkov1. Make your pdf files readily available on your PC desktop.
2. Go to IW52, Click on GOS icon, Create... --> Create Attachment.
You will get a file select Dialog box, refer to your desktop file and attach. You can attach number of files this way. If you want to see the files you've attached, click on the Attachment list shown below Create.. in the above picture. You will get the list of all files attached. You can choose anyone and view.
KJogeswaraRao -
We want to send a mail with attachment pdf file.
Hi!!!
We want to send a mail with attachment pdf file.
The PDF file this is in the server sap.Hi,
Pls check web logs like
/people/thomas.jung3/blog/2004/09/08/sending-e-mail-from-abap--version-610-and-higher--bcs-interface
Eddy
PS.
Put yourself on the SDN world map (http://sdn.idizaai.be/sdn_world/sdn_world.html) and earn 25 points.
Spread the wor(l)d! -
Attaching pdf files they do not open in adobe reader?
I just downloaded Mozilla as browser due to the many issues with IE. Now when attaching PDF files or trying to read PDF files they show up as a Mozilla icon or do not open with Adobe Acrobat.
Hi bboedeke,
That is because Firefox is set as default program for opening .pdf files by Windows.
There are two ways to change it.
1,
Right click on any pdf file --> choose "Open With" --> choose "Choose Default Program" --> now choose the application that you want to set as default for opening .pdf (in this case, Adobe reader.)
2,
Refer to http://windows.microsoft.com/en-in/windows/change-default-programs -
After loading Mavericks, I can't see/open attached pdf files
after loading OS X Mavericks on my MacBook Pro, I can't see/open attached pdf files. I've checked my Security Preferences in Safari and Enable Java Script and Allow Plug-Ins are both selected. Any ideas as to what I need to do???
I checked as you noted above - this is what comes up
Adobe Acrobat NPAPI Plug-in, Version 10.1.7
so I assume (?) that it is installed.
I just went into my hydro bill and tried to open the pdf version and, low and behold, it opened. So somewhere in between when I reinstalled it yesterday (after your suggestion) and just now, it is working!!!
So thank-you for your help!!. Cheers. -
Trying to attach pdf files to emails I'm sending to myself. Instead of attaching the file, it copies the text. I want the file so I can have it on my iPad. I've been able to do this in the past, but not the last two tries. What am I doing wrong? Thanks.
You aren't doing anything wrong.
If the PDF is short enough, your iPad Mail app will display the text as part of the mail.
Actually it is still an attachment.
Tap and HOLD on the text and you should see options to "Open In..." that will allow you to open the PDF in most PDF readers such as iBooks, GoodReader, etc. -
How can I embed a form on my website and set up a submit button so that when people fill out and click Submit, the filled form will be emailed to me as an attached pdf file?
Thank you!Hi;
That is not a workflow that is supported by the Adobe forms solutions at this time.
Thanks,
Josh -
I cannot attach pdf files in Outlook. Just started yesterday. I need a fix as I use this alot.
You can experiment with how Firefox would run after a reset or reinstall by creating a new profile.
A new profile will have your system-installed plugins (e.g., Flash) and extensions (e.g., security suite toolbars), but no themes, other extensions, or other customizations. It also should have completely fresh settings databases and a fresh cache folder.
Exit Firefox and start up in the Profile Manager using Start > search box (or Run):
firefox.exe -P
Any time you want to switch profiles, exit Firefox and return to this dialog.
You'll click the Create Profile button. I recommend using the default location suggested (in other words, don't click the button to choose a different folder). Then start Firefox in the new profile you created.
After Firefox settles down, try Outlook. Any luck?
If it works, log out of Outlook, exit Firefox, restart it and check again. If it doesn't work the second time, one possible explanation is a a system-installed add-on getting picked up or activated.
When returning to the Profile Manager, you might be tempted to use the Delete Profile button. But... it's a bit too easy to accidentally delete your "real" profile, so I recommend resisting the temptation. If you do want to clean up later, I suggest making a backup of all your profiles first in case something were to go wrong. -
Hi,
Is there an application that I can use so when I send email from my iPhone I can attach pdf file with the email?
TuanMany in the app store. PDF expert is one.
Maybe you are looking for
-
Windows 7 crash after attempt to download Reader XI; cannot uninstall or reinstall Reader now
Hi I am new on this forum. I attempted to download Reader XI but my laptop (Windows 7) crashed at next reboot (blue screen before logon). Got Windows working again but now cannot uninstall Reader ("path cannot be found"). Attempted to install Reader
-
Cant install itunes on windows 7 64bit
Title says it all really, after I download the file I double click to open and nothing happens at all, no box asking me to give access just nothing. If I download 32bit this works but when I opened it it told me to install 64bit instead, so I just ca
-
Date & Time in Item Master Creation
Dear All, Is there any option to identify the created time and date of Item master data in SAP item master form itself ? Thanks, Bhoopathi.K
-
Radio station playlist not showing up in Playlist folder
Hello, I am using iTunes 10.2.1.1 I have a Playlist Folder titled Night. In this folder i have a Smart Playlist containing any podcasts where plays = 0. This allows me to listen to all of my new podcasts for each day. Also in the Folder is a playlist
-
HT4972 I installed a new display screen and now im having trouble restoring my ipad
I am having trouble restoring my IPad after changing the display. Is there a trick to it.