Mail Merge/ HTP question

Hi,
I'm trying to implement the Mail Merge utility that Scott Spendolini created. I had to make a few changes to my code to enable it handle large files. However, I now find that while it is correctly merging the document it is producing it with a name of "f" - no extension, no nothing.
<p>
My question is this: using the HTP package (to produce an RTF file) how do I specify the name of the file that is created?
<p>
Thank you in advance for your help.
<p>
David.

I've figured this out for myself now. I didn't know that I could use the following syntax:
<p>
htp.p('Content-Disposition: attachment; filename="FILENAME.rtf"');

Similar Messages

  • "Word was unable to open the data source" error message in mail merge

    I am trying to do a mail merge in Word 2008 for Mac and receive this message when I try to open the Excel file for the data.  Can someone please help?  I tried changing the filename to .xls (originally .xlsx) but it didn't work.

    As far as I know, you cannot merge from a  .xlsx data source in Mac Word 2008, and even though there is a KnowledgeBase article at  http://support.microsoft.com/kb/2604725 that suggests
    that all you have to do is "rename" to a .xls, I think what you actually have to do is open the .xlsx in Excel and use Save As to create a .xls.
    Generally speaking, you will be better off researching Mac Word questions in the relevant forum on Microsoft Answers, in this case here: http://answers.microsoft.com/en-us/mac/forum/macoffice2008-macword
    This particular issue was discussed in this conversation: http://answers.microsoft.com/en-us/mac/forum/macoffice2008-macword/cant-open-excel-file-for-mail-merge/90ccfd11-273f-4c2a-aa37-1d859b8e41e2?page=1
    If that does not help, and you cannot find anything else in the Answers group, I suggest that you post a new question in that group, referencing the above conversation and specifying your version of Mac OSX.
    Peter Jamieson

  • Mail merge and print one document at a time?

    Hi all. I'm an Apple revert. I'm currently using the i7 iMac. Previous Apple computer was a //e.
    I print an 8 or 12 page newsletter for my work. I want my printer/copier to fold and staple each document individually. Pages seems to send all documents to the printer in one huge file. How do I mail merge and print one document at a time?
    [In Windows Publisher, there's a registry hack to make Pub print one at a time. Anything similar on a Mac?]
    Mike

    Hello
    As you saw wrongly my first name I'm not too surprised that you missed the beast
    In fact it's not surprising that you missed it.
    I prepared the archive but forgot to upload it
    Download :
    For_iWork:iWork '09:découpe_PDFs.zip
    Yvan KOENIG (VALLAURIS, France) samedi 27 août 2011 11:29:37
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.0
    My iDisk is : <http://public.me.com/koenigyvan>
    Please : Search for questions similar to your own before submitting them to the community
    To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer !

  • How do I add a dynamic hyperlink to an image in a CRM mail Merge?

    We have a mail merge template that is being used by a number of our sales reps.  The sales reps each have a unique URL they use to send out to potential customers.  Their unique URL is saved on their User record in MSCRM.  We want to
    send out marketing pieces to prospects but we need the ability to dynamically add the user's hyperlink to an image on the mail merge (ex: an image saying "Click here") and cannot find a way to do this.  Is this possible?

    Hi,
        This is not possible using OOTB CRM Marketing mail merge features for CRM 2013. However you can use 3rd party tools like Click Dimension for this Alternatively with MDM you are now able to use more advanced design features including what
    you are trying to achieve.
    http://www.microsoft.com/en-us/dynamics/marketing-customer-center/create-or-view-templates-for-email-marketing-messages.aspx
    http://www.microsoft.com/en-us/dynamics/marketing-customer-center/design-message-content-using-the-graphical-editor.aspx
    Hope this helps.
    Minal Dahiya
    blog : http://minaldahiya.blogspot.com.au/
    If this post answers your question, please click "Mark As Answer" on the post and "Vote as Helpful"

  • Is there a way to Automate or Script the Mail Merge Feature in iWorks?

    Hello,
    I've been trying to build a production management system slowly over the last few months, my boss is a bit of a technophobe so I've been trying as hard as i can to keep everything in familiar programs, at its core all the system has to do its take information in from Purchase Orders, this is added to a Numbers File, within that numbers file are our Open Order Book showing All orders and 2 "Merge Sheets" all new Orders are Added to the Merge Sheets then onto the Open Order Sheet, those "merge sheets" are then used as a data source for a Pages file "Job Card" (we have 2 job card files once blue one yellow but the process is the same)
    Up until now I've been manually merging each time we get a new order, but this happens a lot so what I've been trying to do is Automate the procedure.
    Ive created 2 Automator Apps  each runs the same sequence just for the two different Job cards as follows:
    Get finder Item "Job_Card_Blue/Yellow" > Open Finder Item > a "watch me do" of mail merge > Print > Close Application without saving
    The Problem is the Watch me do is a bit of a clunky work around, if I could make it work without the mouse moving over the screen it wouldn't be so bad, even if I could somehow give Mail Merge a Keyboard Short Cut it would also be better.
    So my questions, after a large ammount of waffling:
    1) is there a way i can "see" and then edit the "watch me do" Script?
    2) is there a simpler work around im not seeing?
    3) is there an existing script of program I can use? (obviously i know there is Filemaker etc, if it was up to me I'd use a Database, but the owner of company is adimant i use office or easy programs, becuase it needs to be a system i can leave to him once my contract is up)
    Any Help or suggestions would be greatly appreciated!

    Yes I've created an Automator Application that does the job, but the "watch me do" function that does the Mail Merge is a rather Clunkey work around, as the mouse moves all over the place, thats the part i want to remove and replace with a script, or work out a different way around it that avoids the "watch me do" function.
    Is this Possible? or where/who is there i can ask to write me a script, im not a novice to scripting, but i am a novice to Applescript.

  • How do you change the default size of the print batch size for mail merge in Publisher 2010?

    I appended this question to another thread with the same topic but have not received a reply, so I'll try with a new question. Publisher 2010, when doing mail merge, will only merge and print two records at a time. How do you change the default size of
    the print batch size? This is for a 4 page document, 8 1/2 x 11, printed two sides on 11 x 17. I've tried all the suggestions that were in the other thread. The response that was marked as the answer by the moderator is incorrect and does not work. Nothing
    suggested in that thread works. A registry fix that worked for Publisher 2003 won't work because the print batch size key does not exist in the registry for Pub 2010. At least not that I can find. Printing to an XPS document doesn't work. It asks for a filename,
    prints 2 records, asks for new file name, prints 2 records, asks for new file name, and so on. The same for printing to a PDF document. Merging to a new Pub document doesn't work. When I print that job every other sheet is turned over. I.e., sheet one has
    pages 1 & 3 on top, next sheet has 3 & 4 on top, and so on. This makes it impossible to run them through the folder. The same thing happens when I print that complete merged document to XPS or PDF. I have the latest drivers installed for our printer, a Toshiba
    2500C copier/printer connected via network. What do I need to do to to change the batch size to something reasonable, like 100 records?

    It's been two weeks since I posted this question. What does it take to get an answer? I cannot believe it's being ignored, nor can I believe that someone in MS doesn't have an answer.

  • Mail Merge in Acrobat Pro 9

    Hi, All!
    I have been told that I can perform a mail merge similar to
    MS Word from within Acrobat Pro 9. The main document (with merge
    type fields) needs to be an Acrobat .pdf. The data source can come
    from an external file. The key is that the merge is performed in
    Acrobat, not Word.
    I have searched throughout Acrobat Pro 9 but have found no
    functionality that matches my needs. Can anyone help me with this?
    Thanks for any help on this!
    Bob

    Thank you for your post. These forums are specific to the
    Acrobat.com website and its set of hosted services, and do not
    cover the Acrobat family of desktop products. Please visit the
    following forums for any questions related to the Acrobat family of
    desktop products:
    http://www.adobeforums.com/cgi-bin/webx/.3bbeda8b/

  • Urgent: Mail merge type report

    Hi All,
    Reports version 2.5 on NT
    I'm not a reports expert so pardon me if it is a simple question.
    I'm trying to create a salary certificate for all the employees. This will be a mail merge type of report, where there will be static text embedded with dynamic data from the database.
    Now my problem is that I want to print the static text with normal font and DB text in bold style.
    I can't use fields for DB columns as then my formatting will go for a toss because the data inside the fields is of variable length.
    Please advise on what to do? Any workarounds?
    Regards
    Naveen

    You still need to use a Field object that sources on the corresponding DB column. Set font style of the Field object to "Bold". Set its "Horizontal Elasticity" property to "Expand".
    Regards
    Sripathy

  • Word document/mail merge with values from Reports

    Hi All gurus
    Using apex 4.1.1 , linux , 11gr2
    Basically I have requirement to generate a Word doc (letter to a Word mail merge) from a button/navigation link pressed on Apex page which will gather data from the report and fill in values in appropriate place in Word doc.
    Is this even possible with Apex with/o BI Publisher
    I have Fop installed and tested , PDF works great but excel and RTF is not reading the encoding on attachment download.
    Any help gratefully appreciated as always !
    PS I am aware of new PDF feature in 4.2.2 but upgrade is just not the scope right now.
    Thanks

    Hi, Tony:
    I am working with Hunk09 on this problem. I checked the demos of this PL/SQL lib, it looks powerful, yet we need a short time solution considering our schedule, as our request is just to insert some values into a static RTF document so user can print letters in batch by clicking link and downloading RTF file. I noticed our legacy system is using owa_util.mime_header following with htp.p to produce file, does APEx support this still? Also you have any hint about providing download link in APEX?
    Thanks.
    Sam
    Edited by: lxiscas on May 8, 2013 2:59 PM

  • Word 2007 mail merge : problem with mixed portrait and landscape orientations

    Hi there,
    I have a 3 pages document Word 2007 file
    This is a mail merge I want to export in PDF using Adobe Acrobat Printer,
    then send "big" PDF to printing.
    page 1 is PORTRAIT
    page 2 is PORTRAIT
    page 3 is LANDSCAPE
    In PDF pages 1 and 2 are perfectly fine, inside an A4 format (width=210 height=297mm or something)
    but for page 3, system changed to a "double" sized page (A3 width=297 height=420) and printed my stuff at the 1st top middle of big page.
    So I have a big "double" sheet, oriented PORTRAIT, with my stuff in 1st half, and a blank in 2nd half.
    It seems that system did not rotate the page... and just put the stuff into a bigger sheet to "solve" at best.
    I would like the same size of paper (A4) but in landscape : width=297 height=210
    I have already seen many PDF with mixed portrait and landscape orientations, so what's the thing ?
    With my advanced thanks,
    And greetings from Paris, France !
    Vince

    Some questions:
    Which version of office were you using before? 2003?
    Are the data files on a network, or on your local machine? If they are on a network, can you make a copy of one of them on your local machine and try again?
    Can you open the files directly in Excel? What extension do they have (.xls, or something else?) I am wondering whether access to other file types has been left blocked on your machine but is allowed on your colleague's machine.
    Are you just opening the mail merge main document and seeing this message? If so, do you see the same thing if you start with a new document and try to connect to one of these data sources?
    Can you confirm that the message is about Access even though you are trying to connect to an Excel file?
    (Also, office 2007 has some new stuff - that let's you specify that certain folders are "trusted" . I don't think that ever affected MailMerge but it may be as well to make sure that your documents and data sources are in trusted locations).
    Also worth trying to start Word in "Safe mode" - see, e.g. http://office.microsoft.com/en-gb/word-help/work-with-office-safe-modes-HP010140792.aspx
    Peter Jamieson

  • How do you do a mail merge in ms word?

    Hello,
    I have the form letter created in Word and my list of recipients are in an Excel sheet. How do I do the mail merge so that each letter is addressed to one individual from the excel sheet? Do I have to type each person's info in manually? I have over 200 records.
    Thanks!

    Welcome to the discussions, Tiffany.
    Use Tools/Mail Merge Manager and follow through the steps.
    But that is not an Apple Mail and Address Book question!
    AK

  • Mail Merge in Acrobat 8

    Hi
    I have MS Word 2000 and Acrobat Pro 8. I have created a merge document and have the data in an Excel 2000 worksheet. The merge has been tested in Word and is fine.
    In the Acrobat help it says I can create a Word mail merge, automatically name and save PDFs and have them e-mailed. It says "Choose Adobe PDF > Mail Merge to Adobe PDF" but I can't find this anywhere.
    I'm sorry if this is a newbie question but any help would be appreciated.
    Thanks

    What I am trying to get at is that the merge button in the Adobe menu may only appear if the document has been setup for mail merge. This latter is the WORD setup for mail merge, not Acrobat. Once you set the document up for mail merge in WORD, then the menu item may appear. There is no reason to have the menu item if the document is not set for mail merge. I do not know if this is the case, but it may be the issue you are seeing.
    It is worth a try with a simple setup of a few items. You don't have to do a fancy mail merge to check the concept. In the instructions it said to setup a mail merge document in WORD first and then it talked about the menu item. I suspect that is what is going on, but I can not test it at home.

  • How to create mail merge(feature in word) in adobe pdf and programmatically find and replace these t

    I am very new to adobe.I am required to do the following and am very confused.The scenario is as follows:
    I am required to create a letter template (using adobe designer) where name and few other details will be tags(which needs to be replaced by actual values according to the particular customer later on).We can create such a feature in word using mail merge feature available there.How do we do the same in pdf??Can it be done using adobe designer 7.0???If so,how?
    After I create this template,I am required to write a javascript or a VB program to access this pdf template and find and replace these tags with the actual values and generate a pdf document.Somebody told me that this is to be done using adobe document server(ADS). Can this be done??If so,how?If not what is the alternative product in adobe?
    There are so many adobe products that i am totally at sea and not able to figure out which to use and how.
    Please help me at the very earliest.
    Thanks in advance.
    regards,
    Sowmya

    Let me thank u for a prompt reply but I guess I still need ur help before I accomplish what I set out to do.
    As per your reply I used Forms API in my vb program and it is accessing the fields but I am not able to change the property of the fields.
    I created the pdf form using adobe designer 7.0 and have created a floating field which I want to populate using my code.This is invisible in the pdf template but I when I set the value for it using vb code I need to change its property to visible.
    But when I try to change the "NoViewFlag" property, I get an error as follows:
    Runtime error'-2147220988(80040204)
    Document's Security Settings prohibit the operation being performed
    Please give your suggestions.
    2.Another question is how do I differentiate floating text field and ordinary text field in vb code because the type of both is displayed as text ??
    Thanks again.
    regards,
    Sowmya
    I am putting my code below for ur viewing.

  • Help needed with Custom Web ADI Integrator for Mail Merge

    Hello,
    I've created a custom web adi integrator to generate letters to advise of end of probationary periods.
    The problem is that at the end of the process when the letter is opened in Word 2007, it only displays one record, and does not allow me to "preview results" and cycle through the records (this part is greyed out). It appears that the letter is not merged with the data spreadsheet although it does display one record from it.
    Our EBS version is 12.1.3 and we are using Office 2007.
    These are the steps I have followed so far (in brief):
    - Create a view to provide data (names, addresses etc).
    - Set up a new custom function (similar to seeded function HR Integrator Setup).
    - Add the custom function and other functions to Desktop Integration responsibility.
    - Add the relevant functions to end user's responsibility menu.
    - Add new category "other" to HR_ADI_DOCUMENT_TYPE lookup.
    - Create Download Excel Integrator by choosing Desktop Integration -> HR Integrator Setup. Enter "PER" for application and my view for the View Name. Upload.
    - Create another Excel document by choosing Desktop Integration -> HR Maintain Form Function Associations, and choose the integrator created above. Enter my custom function name in the generated spreadsheet and upload.
    - Define a layout for the new integrator.
    - Run the integrator under the end user responsibility and save the resulting spreadsheet, which is full of data as expected.
    - Create the letter in Word, using the saved spreadsheet as the data source for the merge. At this point the merge is successful.
    - Go to Desktop Integration -> Document Management and upload the Word mail merge document. Associate it with the custom document type created earlier.
    - Link this document to my integrator.
    - Go in as end user responsibility and run the integrator.
    At this point after enabling macros it loads 2 spreadsheets (one full of data) and the Word document, but the Word document only displays one record (approx the 10th in the list - there are about 100 in total). All of the relevant merge-related menu items on the "Mailings" tab are greyed out.
    Can anyone offer any pointers please?
    I did wonder whether it mattered if I changed the names of documents, e.g when I download and save the resulting spreadsheet full of data which I then use to merge to in the Word Doc, is it OK to call the spreadsheet anything or should it be left as the default name?
    Many thanks,
    Hazel

    Hi Nandhakumar.P,
    thanks for your response. Please find the answers below:
    - Set up a new custom function (similar to seeded function HR Integrator Setup).
    System Administrator -> Application -> Function. Query back the seeded User Function Name = "HR Integrator Setup", make a note of the details, then add a custom function entitled "NTC_HR_LETTERS" with the same details.
    - Add the custom function and other functions to Desktop Integration responsibility.
    System Administrator -> Application -> Menu. Query back User Menu Name = "Desktop Integration Menu" and add the following functions:
    WITHOUT PROMPT
    a. HR Integrator Setup
    b. HR Maintain Integrator Form Functions
    c. HR Disable Integrator
    d. HR ADI Document Overwrite Page
    e. HR ADI Document Upload Page
    f. The custom function created in previous step ("NTC_HR_LETTERS")
    WITH PROMPT
    g. HR ADI Document Management Page
    - Add the relevant functions to end user's responsibility menu.
    System Administrator -> Application -> Menu. Query back menu attached to custom responsibility of end user that will perform the action once set up.
    Add the following:
    a. The custom function "NTC_HR_LETTERS" as created previously (without prompt)
    b. Desktop Integration - Create Document (With Prompt. This function will be used to generate letters)
    - Add new category "other" to HR_ADI_DOCUMENT_TYPE lookup.
    SA_Application Developer -> Application -> Lookups -> Common. Query back Type = HR_ADI_DOCUMENT_TYPE and add a new entry entitled "Other". This document type is later assigned to the Word document I upload and link to the integrator.
    I hopoe that answers your questions.
    Regards,
    Hazel

  • Attachments (such as pdf) in a mail merge Outlook 2010

    Along with the problem of having the mail merges sent from the wrong email account, I also need to attach a PDF of a brochure for the recipient's printing.  I don't see a way to do this.  Can someone help?  I did a search and it mentions a
    Visual Basic way to do this but I don't know the first thing about usng Visual Basic.  I am willing to learn if that is the only way these issues can be overcome.
    Thanks.

    OK, well it looks like I have answered this question myself.  It may not be the easiest or the most elegant solution, but my Googling came up with this
    http://omma.sourceforge.net/.  It actually works rather nicely, but you have to set Outlook to work Offline first and then do the full mail merge.  Once the completed and merged emails are in the Outlook
    Outbox, you run the script and it pulls the selected attachment and adds it to the emails one at a time.  It takes several minutes to complete, but it works.
    If anyone else has a more efficient solution, please feel free to chime in.  I DO still need help with the selection of the outgoing email account, so if you have any solution for that, please let me know.
    Thanks.

Maybe you are looking for

  • My company uses Firefox on Server 2008 R2 and need to set up selective mass cookie removal for multiple users at one time.

    Our company just started using Firefox due to some website compatibility issues with IE. We had a 3rd party tool clearing all cookies without any exception options. We are now needing include exceptions for cookie removal due to website security chan

  • My face time is not working on my ipod

    I have just got a new ipod touch for my son and face time isn't working on it. Can anyone help?

  • Cable doesn't fit into back USB ports

    My front USB port isn't working...everytime I plug a cable into it I get a message that reads "Power Surge on Hub Port" and it won't connect. My ports in the back are functioning, but I cannot connect my iPOd into them because the cord doesn't fit. I

  • Document background in Adobe Reader

    Whenever I open a pdf document in Adobe Reader, the background of the document has a 'chessboard' checker effect, making the text difficult to read. Is there a way to get rid of this effect?

  • Mao\pmyindia Navigator issues

    Hi, I purchased a Q10 just a week back and tried downloading mapmyindia navigator service. It installed but when I run the same it gives me a message "Your promo code is expired. Please download application with 7 days free trial. To download, please