How to embed word docs
I have created an application using coldfusion that takes a bunch of inputs to produce an HTML page which gets emailed to the user. In this app the user can upload files to be attached to the html page. The problem I am having is the users don't have access to the location of the uploaded files so they can't access the files in the emailed page. How can I attach the actual uploaded file to the HTML page so that anyone that gets that page has access to the documents with in it? The users can't have access to the file location, based on that is there a better way of doing this?
Usine CF7 and IE7
Any input would be helpful to me.
Thank you
Chris
cr6137 wrote:
Daniel,
Thanks for taking the time to respond. I want the documents to be part of the emailed doc that the user would get. Are you saying that I can capture the text of the file to be attached via the cfcontent and stream that into my doc to be emailed?
Thanks
Chris
I'm saying you can use the cfmailparam tag to actually attach the physical file to the email, just as you would if you were sending the email via Outlook or Apple Mail, or any other mail client. Check the link I sent for the CF livedocs and examples of how to attach a file to an email.
Dan
Similar Messages
-
How to convert word doc into pdf - which product of adobe i need to use- what upgrades - am a newbie
How to convert word doc into pdf - which product of adobe i need to use- what upgrades - am a newbie - simple answers please - Thanks in advance.
@Pipeline2007 - which version of Microsoft Office have you got? Older versions of Acrobat aren't compatible with the latest versions of Office, see this link for info:
http://helpx.adobe.com/acrobat/kb/compatible-web-browsers-pdfmaker-applications.html -
How to setup word docs, converted to PDF on local drive with links to a second file at a page
how to setup word docs, converted to PDF on local drive with links to a second file at a page
Need to setup a set of word documents, converted to PDF that has links from one file to a second file at a given page.
I would like to setup a set of pdf documents, on the hard disk of a PC or Mac, that can be open with acrobat pro running on the same computer and have the link jump to, and open in a new window, in acrobat pro, to a given page of a second document in the set.
Is there a way to setup a link in word and the conversion to pdf that will result in a link that is equivalent to the acrobat link type you get when you add a link of the type Go to a page in another document?
Tools-Advanced Editing-Link tool, make a box
Check: Go to page view, Next (Create go to view dialog opens)
Open second document and go to page
Click “Create go to view dialog” to set up link
Result is a link, when view by link properties, with an action of
Go to a page in another document
File: C:\My Documents\second file.pdf
Page: 43
Zoom level: Custom
I got close but did not solve the problem:
I have a version that uses links to a website, using #page=43 at the end of the hyperlink.
That works but will only open to the page if is through the web browser, opening the acrobat reader plugin.
I need to open from a folder on the local harddisk (with relative links), in acrobat pro to the given page of the pdf, on a PC or a Mac.
I could bookmark each page “pagenumberxxx” and jump to the bookmark/page if that would get around some problem
Current Systems in use to create documents with links and view them:
Windows XP SP3
Word 2003 SP3
Acrobat 9 pro version 9.4.4
Or just to view them:
Mac OS 10 Lion version 10.7.4
Acrobat 9 pro version 9.5.1
(note I have limited understanding of Mac’s)
JohnNo. There seems to be no automated way to do it. You can of course go into the PDF and manually add links after you have converted to PDF, but that is what we want to avoid having to do. We want it to be automatic from the Word doc.
-
How to Store word doc in oracle using java
hi
toall
can any one tell me how to store word doc in oracle9i using java
byePlease refer to
http://www.databasejournal.com/features/oracle/article.php/3305771 -
How to secure word docs, access only via username and password?
I have created a CMS (Content Management System) where
residents can access publicly made available word documents
uploaded via the web by authourised members of a residents
association. (no password needed)
password only needed to upload
I have also created a section for excecutive members only
where documents for coming meetings are kept, but are not yet
available to general residents. (password is needed to view these)
All works fine apart from the executive section, all the
documents seem to get 'spidered' no matter what is in the robot.txt
file.
this i know as i have been tracking visitors to it.
the pages are not yet live or in use as i want to be sure
that these 'not for public viewing' file are not viewed until they
are in the public folder.
each section will have their own folder, but google has
'spidered' all pages! it seems that google and other sites are not
taking notice of the robot.txt, i have read on some sites that this
is common. how they do this is beyond me, i though that you could
only spider a site that had a home page and that you follow all
links contained within this initial page.? seems that this is not
the case.
what other methods can i try out that will protect these
files.
(please do not reply with, do not put them on the site!) i
have had this with other forums in the past.
only sesible answers please.
and thank you in advance for your time.i have been busy looking around but not finding anything.
My PHP scripts at present accept the word docs and store them
in folders, lets say, www.site.com/secretfolder/...
One suggestion is to have them in a database, this is not
idea, but is going to be the last resort.
the idea i like most is to have the outside the root www
folder.
what i am not sure of is how i allow access to them if normal
access can not be used. i.e. www.site.com/myfolder/file.doc
one way that has been suggested is streaming but this
completely eludes me, i first thought streaming was for sound and
video, but that aside, please can someone provide some links to
sites that show some examples or more information on how i do this.
i do not need the file to be uploaded as i can change my
scripts to upload to the new folder that is outside the root www
folder, what i do not understand is how i get the file back from
this outside root folder to the user that is wanting to view it.
my way of thinking is to create a temp folder inside the www
folder but this means that the files will then be available to the
robots again and if i was to have the folder cleaned after the file
is taken what happens if the server or the persons pc was to crash
or something, then the script will not complete and the file will
still be available to view by the robots.
or is their another way -
How to Store word doc in java using oracle
hi my name is jagapathi raju i am working in Niit LTD
can any one tell me how to store A word doc in oracle using javaHi Jagapathi
You can store text/doc files in Database using CLOB/BLOB columns. Let me check if there are any samples...
Thanks
Srinivas -
Re: How to open Word Doc in e-mail attachment
I use iworks '09. I received an e-mail with a MS Word attachment that I was unable to open-stated "this document was created with an unsupported version of Word. Must I buy MS Office for Mac. Or will NeoOffice or Open Office open the file?
I ditched MS Office over two years ago for NeoOffice and it has been able to open every word doc's or pps that have come my way.
Dennis -
How to load word .doc-files into java applications?
Hi,
I want to load a word .doc-file (or any other type of document) into a java application, as part of the application.
Is there any java special library to do it?
Any solution or hint?
Thank you.No, there is no existing Java library to do it that I am aware of. You could write your own, however, as the Word 97 binary file format is published. I am not sure that the Word 2000, or XP formats are as well, but since they put out the 97 presumably they'd do the same with the rest -- although I am suprised that Micro$$$oft even published the 97 format.
A library such as this would take quite some time write, due to the extensive format, but here's a link to a copy of it just so you can see what it'd take: http://www.redbrick.dcu.ie/~bob/Tech/wword8.html
Also keep in mind that Micro$$$oft has never remained binary compatable between versions. In short, this means that you'd have to parse each version's documents differently. Not a fun task.
If a Java library to read Micro$$$oft file formats already does exist, I'm willing to bet that it costs $$$ mucho dinero $$$.
Hey, aren't proprietary file formats just wonderful? -
How to Store word doc in java using oracle9i
hi
my name is jagapathi raju i whant a pice of code that will help me to store word doc in oracle9i please do this for me
byei whant a pice of code that will help me to store word doc in oracle9i please do > this for me Nope, imagine we are consultants who just provide you with a direction to your
investigation.
There's a few approachs...
1. You store the entire word document ( or any arbitrary binary file ) in a BLOB
field. ( binary large object ).
Have a search for Oracle, JDBC and BLOB.
2. You somehow extract the text from the Word document, losing all formating,
and store the text in a database field. ( CLOB ) Character large object.
regards,
Owen -
How to open word doc. from forms 10g
hi all
i am trying to open word doc. from forms 10g using ole2.
but it is not working.
basiccaly this command is not working
app := CLIENT_OLE2.CREATE_OBJ('Word.Application');
can anybody help
thanxI found this searching this forum and it works..however, my issue is to open up Microsoft Word passing in data from a query.
I am working on Forms 10g
DECLARE AppID PLS_INTEGER;
BEGIN
AppID := DDE.App_Begin('C:\Program Files\Microsoft Office\OFFICE11\winword.exe C:\test.doc',
DDE.APP_MODE_NORMAL);
END; -
How to prevent Word doc created in OS X from zipping up when emailed?
Recently upgraded to G5 iSight running Tiger 10.4.11.
I frequently email Word docs to co-worker who runs Windows XP on a PC.
When he gets the Word files, they have been zipped and he is annoyed b/c it takes 11 clicks to get to the point where he can save the Word doc to his desktop.
I've tried both Office 2004 and Office:Mac Word OSX. Compatibility checks out ok. Tried saving Word as .rtf and it still zipped it up. I am using the Mail program on my iSight. I select "send windows friendly attachment".
Is there a way for him to receive Word.doc that he can open up easily and then save without having to unzip, etc.Recently upgraded to G5 iSight
There is no Apple computer called a G5 iSight. Please clarify what you have.
I select "send windows friendly attachment".
Try and Deselect/uncheck that.
If you have further questions regarding the Mail app, you should probably post htem in the Mail and Address Book forums:
http://discussions.apple.com/forum.jspa?forumID=753 -
How to edit word doc converted from PDF
I converted a PDF to a Word docx, and need to edit the doc. How do I do this?
As you would any other document. The problem is likely that you had scanned to PDF and never ran OCR. Thus the DOC file is a collection of pictures and no text. You either have to edit the graphic to fix the text or go back to the PDF and do OCR first. Use Searchable PDF to enable useful fonts for the DOC file.
-
How to open Word doc stored in BDS?
I faced the problem using BDS. I have table with stored object_keys of Word documents stored in BDS. I can retrieve url for this docs using METHOD CL_BDS_DOCUMENT_SET=>GET_WITH_URL. But how can i open this document using url or something else?
For example, 'WS_EXECUTE' don't understand BDS-URL as a doc adress.
Thanks to all who will try to help me.Using BDS_OBJECT_DISPLAY i get runtime exception CX_SY_DYN_CALL_ILLEGAL_TYPE. I use BDS in this way. May be I don't create BDS doc in a proper way?
*& Form SAVE_FILE_RETRIVE_ID
* Locate File in BDS Repository Retrive ID
FORM SAVE_FILE_RETRIVE_ID CHANGING OBJ_KEY TYPE SBDST_OBJECT_KEY.
DATA: LV_COMPON TYPE BAPICOMPON,
LV_SIGNAT TYPE BAPISIGNAT.
LV_COMPON-DOC_COUNT = '1'.
* lv_compon-comp_count = '1'.
* lv_compon-comp_id = 'Employee Image'.
lv_compon-mimetype ='application/x-oleobject'.
* lv_compon-comp_size = '1024'.
APPEND LV_COMPON TO GV_COMPON.
LV_SIGNAT-DOC_COUNT = '1'.
* LV_SIGNAT-DOC_ID = 'IMAGE'.
* LV_SIGNAT-DOC_VER_NO = '1'.
* LV_SIGNAT-DOC_VAR_ID = '1'.
* LV_SIGNAT-DOC_VAR_TG = 'ORIGINAL'.
* LV_SIGNAT-COMP_COUNT = '1'.
* LV_SIGNAT-PROP_NAME = 'IMAGE'.
* LV_SIGNAT-PROP_VALUE ='IMAGE'.
APPEND LV_SIGNAT TO GV_SIGNAT.
CALL METHOD CL_BDS_DOCUMENT_SET=>CREATE_WITH_TABLE
EXPORTING
* LOGICAL_SYSTEM =
CLASSNAME = 'DOC'
CLASSTYPE = 'BO'
* CLIENT =
COMPONENTS = GV_COMPON
CONTENT = GV_T_FILE
CHANGING
OBJECT_KEY = OBJ_KEY
SIGNATURE = GV_SIGNAT
EXCEPTIONS
INTERNAL_ERROR = 1
ERROR_KPRO = 2
PARAMETER_ERROR = 3
NOT_AUTHORIZED = 4
NOT_ALLOWED = 5
NOTHING_FOUND = 6
OTHERS = 7
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. " SAVE_FILE_RETRIVE_ID
*& Form OPEN_TASK_DOC
FORM OPEN_TASK_DOC USING OBJ_KEY TYPE SBDST_OBJECT_KEY.
DATA: LV_T_FURLS TYPE BAPIURI OCCURS 1,
LV_URL TYPE BAPIURI,
FILE_URL TYPE URL.
CALL METHOD CL_BDS_DOCUMENT_SET=>GET_WITH_URL
EXPORTING
* LOGICAL_SYSTEM =
CLASSNAME = 'DOC'
CLASSTYPE = 'BO'
* CLIENT =
OBJECT_KEY = OBJ_KEY
* URL_LIFETIME =
CHANGING
URIS = LV_T_FURLS
* SIGNATURE =
* COMPONENTS =
EXCEPTIONS
NOTHING_FOUND = 1
ERROR_KPRO = 2
INTERNAL_ERROR = 3
PARAMETER_ERROR = 4
NOT_AUTHORIZED = 5
NOT_ALLOWED = 6
OTHERS = 7
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
READ TABLE LV_T_FURLS INDEX 1 INTO LV_URL.
* LV_URL - url to the doc we need to display
FILE_URL = LV_URL.
CALL FUNCTION 'BDS_OBJECT_DISPLAY'
EXPORTING
URL = LV_URL
MIMETYPE = 'application/x-oleobject'
* DOC_TYPE =
* DOCUCLASS =
* FILESIZE =
* TABLES
* CONTENT =
* ASCII_CONTENT =
* EXCEPTIONS
* DP_ERROR = 1
* FILE_ERROR = 2
* INTERNAL_ERROR = 3
* EAI_ERROR = 4
* OTHERS = 5
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. " OPEN_TASK_DOC -
How to view Word DOC using Word Viewer
I am a new administrator for a SharePoint 2010 farm with 10s of GB of Microsoft Word documents, most of which are in Word 97-2003 DOC format. I have recently configured the Word Viewing service and can of course view Word 2010 documents saved
to the farm, but how to get the legacy archive of DOCs viewable using Word Viewing as well?
From all that I have read, OWA only works for Office 2010 documents. Is there any tweak available to get it to be able to view older formatted Word documents also in the browser?
Baring this, are there batch conversion utilities available? I have searched and found some
here and here, but am seeking more robust solutions.
I would be interested in learning about what other administrators have done to resolve similar problems.
Sincerely,
SteveHi Steve,
I understand that the error occurred when you open the word files.
I recommend to delete the cache files for the corresponding web aaplication using PowerShell.
Go to Central Administration > Application Management > View all site collections > select the web application and then check for site collection with URL /sites/Office_Viewing_Service_Cache and make sure it is there. Then open http://{webapp url}/sites/Office_Viewing_Service_Cache
and you will see the cached
files of this web application.
You can also add the entry below in web.config to see if the issue still occurs:
<compilation optimizeCompilations="true">
More information:
http://kancharla-sharepoint.blogspot.in/2013/08/sharepoint-word-web-app-cannot-open.html
I also recommend to check the event log and ULS log to see if anything unexpected occurred.
To check event log, click the Start button and type “Event Viewer” in the Search box.
For SharePoint 2010, by default, ULS log is at C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\LOGS.
Best regards.
Thanks
Victoria Xia
TechNet Community Support -
How to Embed InDesign doc into a MFC Program?
Hi everyone,
I am working with a distributed editing system. It requires to deal with several documents from several layout design software, such as InDesign, Word,Quark,and so on.
Now, my problem is: Can InDesign doc, (.indd files), be embeded into a MFC software or Windowns Form software? Is there any plug-in or component to do it?
PS: the "embed" should not be the static form,like JPEG,or PDF..., It should not lost the text format information!
thanks a lot!Is there any ActiveX control?
Maybe you are looking for
-
Lost audio files after saving.
I lost my audio files after saving in Logic X and now my project file has the extension .logicx on it and my audio files are nowhere to be seen. I made some changes to the project, moved the file to another folder, then they asked if I wanted to repl
-
HI Experts, I am working on BPM scenarios.Anybody plz explain about how end condition works in FORK step. Please provide examples for that end condition in FORK step. Regards, Bhuvan.
-
I cant get my new NEC display to register on the displays menu on system preferences. Ive tried sleeping it, ive tried restarting it, nothing has worked. the displays menu automatically lists the old sanyo with no way to search for other displays. im
-
Why is the text so small in the log in screen?
I am visually-impaired. Why is the text so small in the log in screen?
-
Cannot find a community forum for Email
Is the 'other BB quesries' the right place to open a question on email configuration and setup in Outlook? thanks