How to filter Documents attached in PDF format?

Hello people,

I wonder if we can restrict some documents attached to a PDF file or not. For example, I can add only Microsoft Word documents to PDF format and ignore the reset of all other documents. Please let me know how can I generate this type of functionality.

Thanks in advance

Rajesh

Hi Renon,

If you use a button for the user to add an attachment, then you can use JavaScript code like this in the event click;

var attachmentName = "SupportDocument."

var validTypes = 'doc, docx, xls, xlsx.

var PDF = event.target;

If (pdf.importDataObject (attachmentName))

{

attachment var = pdf.getDataObject (attachmentName);

var attachment.path.replace = filetype (/(.*)-.) () [a-zA-Z] +) $/, « $2')

If (validTypes.split(',').indexOf (filetype) = - 1).

{

pdf.removeDataObject (attachmentName);

App.Alert ("' invalid file type");

}

}

You should always check when they argue that they have not added an attachment via the builtin Adobe attachment Panel.  Something like;

var PDF = event.target;

If (pdf.dataObjects! == null)

{

for (var i = 0; i)< pdf.dataobjects.length;="">

{

If (pdf.dataObjects [i] .name = pdf.dataObjects [i] .path)

{

App.Alert ("you have an invalid attachment");

break;

}

}

}

It is based on the property name is set to the path using the attachment Panel or the argument of the function importDataObject if using the code.  You can keep you own attachments via the script record has added that this behavior can be changed by Adobe in a future release.

I don't want to make it sound like I know what Adobe can do, just that the name property is used to be on without a title when you use the attachment pane.

Concerning

Bruce

Tags: Adobe LiveCycle

Similar Questions

  • How can I convert an email outlook with an attachment in pdf format

    How can I convert an email outlook with an attachment in pdf format? I want a pdf with enamel and fasteners. Not a portfolio

    Hello

    Please go to the Adobe PDF option in the Outlook Ribbon. Choose Change Conversion settings and uncheck "output Adobe PDF portfolio when creating a new PDF file" to create a normal PDF. Attached snapshot.

    Kind regards

    Basma

  • How to convert my document scan to pdf format?

    How to convert my document scan to pdf format?

    Hi davidp33429376,

    When parsing the document, you will also be able to save it as a PDF file, it is the feature of your application to scan.

    Later, you can view the PDF in reader Adobe - Adobe Acrobat Reader DC Distribution

    Kind regards

    Nicos

  • How to write to Adobe Acrobat pdf format

    I recently bought Adobe Acrobat. When I go to print a document in pdf format, one of my printers is Adobe PDF. Who is the Adobe Acrobat printer or does it move? If this is the case, how can I add Adobe Acrobat pdf printer to my list of available printers?

    The Adobe PDF printer is installed when you install Acrobat. Go ahead and try to print to it. When you install Acrobat, it also normally install PDFMaker in some applications, such as MS Office. This allows more options when generating a PDF file of the source document, so familiarize yourself with him at the well.

  • HP Envy 5540: How to stop printing only in pdf format

    I have a HP Envy 5540. I use window 10. Until yesterday, my printer was working fine. Yesterday, he decided to only print in pdf format. I have read the forums and there is a thread with a similar problem, the person was running windows 8 however. I ran the scan thing dr. He did create a second thing of photo creations! my readers are up to date depending on the printer and scanner thing dr.  Work around duty make a new account on my computer is really not an option based on the fact that) it could happen here and that would amount to several account which exceeds the ridicule and b) this product should work for its stated purpose, such as a printer.

    Is there a permanent solution for this? my printer is only around the age of 3 months.

    When you mentioned the windows updates I took it to mean the updates of windows via the Control Panel on the computer. I knew not had here a separate section. So, everything simply because I was absolutely hopeless, I downloaded the updates for windows 10 available on this site. My baby now works correctly. That you for your time and your help.

    Linda

  • Convert from iMail and attachment in PDF format

    Is there an easy way of converting iMail with attachments in PDF format as when I could convert E-mails with attachments in Windows using Acrobat?

    N °

  • How to generate a letter in PDF format... (APEX 4.0)

    Hi all

    I want to generate a report in the format of the letter... the output format is PDF.

    For example, consider table EMP... of this im going to query and display the columns of

    EMP_NAME, ADDRESS, SALARY, APPOINTMENT

    And in this report, I'll be having a box for each line... If I check it for 5 employee gave the report... I have to generate a letters for employees who checked in PDF format.

    Output should be like:
                                                                    Date:
    EMPNAME:: employee1
    ADDRESS::xyz
    
    dear sir ,
      content .. xyz
    thanking you
                                                                    Date:
    EMPNAME:: employee2
    ADDRESS::xyz
    
    dear sir ,
      content .. xyz
    thanking you
                                                                    Date:
    EMPNAME:: employee3
    ADDRESS::xyz
    
    dear sir ,
      content .. xyz
    thanking you
    .
    .
                                                                    Date:
    EMPNAME:: employee5
    ADDRESS::xyz
    
    dear sir ,
      content .. xyz
    thanking you
    THANKS IN ADVANCE FOR YOUR HELP

    Kind regards
    Arumugam

    You may need to do this with Jasper, BI Publisher, or PL/PDF reports. Jasper is the free option. For details see http://www.opal-consulting.de/apex/f?p=20090928:4:2283604491057775:NO:

    Habib

  • saving a document scanned in pdf format

    I have a desktop F4272 printer / scanner.

    It is used to be connected to a PC running Windows XP.  The pdf option was not available on the menu drop down, but after contacting e-mail Support Team in 2009, I ran OCR software and the pdf option has been made available

    The F4272 is connected to a computer to laptop Toshiba Satellite Pro under Wndows 8.1.  The F4272 set up the disc is not compatible with windows 8, it's why I can't launch the OCR software.  Windows 8 'automatically' configured the F4272 but file scanner options do not include the pdf - how to include this? Thank you

    Greetings @moreno1 ,

    Welcome to the forums

    Perhaps the installation disc is not compatible with Windows 8/8.1, and that's okay. You are able to download and install the software to print from a download. Below is the direct link for your driver. I hope that helps!

    HP Deskjet F4200/F4224 all-in-One Printer series Full Feature Software and Driver

    Best wishes

  • How to reorder the pages in pdf format

    I have a pdf file that is 16 pages long, and I want the first page to the last!

    How can I achieve this using Acrobat?

    Thank you

    Open the palette pages left. Drag the page thumbnails to rearrange.

  • How do I add text in pdf format

    How can I add additonal text in a saved pdf file?

    Hi remax13

    You need Adobe Acrobat to add text to your PDf files. Two ways to do it.

    1 convert your PDf to a native file such as word, Excel

    2 changes in the output file

    3 convert it back to PDF

    Or

    See the link below to add text and Text Edit tool in Acrobat.

    http://help.Adobe.com/en_US/Acrobat/X/pro/using/WS2DE764BD-5706-4e3a-9360-5F2F968223AC.w.h tml

  • How to activate his comments in PDF format?

    With the help of RH9. Generate a PDF for review of WebHelp. HR shows me the dialog box create a PDF for review , but the option enable comments in Adobe Reader is dimmed. How can I enable this feature?

    Marked answer as being correct is actually incorrect as it was then perhaps when you read this you will be stand out there and this as the correct answer.

    To use PDF review should not have Acrobat Pro installed (Version 9 or 10), but it doesn't have to be a part of the TCS. Competitive, if you buy both RoboHelp and Acrobat, the rest is not much, but it is another matter.

    If you have Acrobat X Pro, then the button that you referred to be activated. If you have only 9, he will not be enabled, but you can open the PDF file created by RoboHelp and allowing to comment.

    I hope that clears up things and am sorry to mislead you.

    See www.grainge.org for creating tips and RoboHelp

    @petergrainge

  • When I try to scan the 'file type' doesn't include pdf, I have windows 7, how can I get to the pdf format

    It shows the bitmap, jpg, etc.    PDF are not

    Probably you use win fax & scan not scanning software provided by your manufacturer to scan, assuming that you have installed the device according to the instructions of the manufacturers and not just plug

    Fax & phone does not save to PDF

  • How to make a form in pdf format?

    I would like to make a contract of pdf that customers can easily fill out and send to me. Is this possible in Photoshop?

    I recommend to try Acrobat.

    http://forums.Adobe.com/community/Acrobat

  • How to save a scanned as PDF document?

    How can I save a document scanned in PDF format.  I use a Photosmart C6280.

    If you still have the re-scan using the Solution Center document save as pdf format.

  • How to print a bunch of MBOX files in PDF format?

    I have number of MBOX files exported from Thunderbird mailbox. Of these some MBOX files have critical evidence. I have to present that evidence to the Court in a PDF format. So need a solution on how to change the format of MBOX files? How can I print MBOX in PDF format?

    You can also make use of MBOX to PDF Converter. I found this site software - http://download.cnet.com/MBOX-to-PDF-Converter/3000-2369_4-76284538.html

    Its a tool that facilitates the process and saves a lot of time.

Maybe you are looking for

  • Satellite Pro 6100: System\Drivers\Nfts.sys is damaged or corupt

    Hello I have a problem since yesterday, when I turn on my laptop, I get the following message' System\Drivers\Nfts.sys is damaged or altered or not it I tried everyting and I'm lost.Here's what I've tried so farformatted the drive throug another pc,

  • Tecra M10 cannot install OS using disc SSD Kingston

    Hi all. I am a computer tech and can usually find a way to fix something myself, (rock Google!). But recently I had a Kingston SSDNOW 64 GB drive and decided to install in my Tecra M10 age of 12 months. 4 weeks ago I had a full head of hair, now I am

  • duplicated on two drives iTunes library HELP

    I have an iTunes library on an external drive, the titles are listed on iTunes, but you must have the USB device to listen to music... I copied the contents of an another USB so that if one fails, it can play each other, file structure is exactly the

  • MSXML4.dll error in Age Of Empires 3

    Hello.I have age of empires 3. When I go to play it says: MSXML4.dll is not installed correctly. I use windows 7 64-bit. I went into C:/windows/system32, and I discovered that I didn't have the msxml4.dll at all. What can I do?

  • LOSE INTERNET INTERMITTENTLY DUE TO COMPUTER PROBLEM

    After a full close and sometimes in-use my internet is de-energized and when I 'view available wireless networks' in the Advanced section, the check box for "USE WINDOWS TO CONFIGURE YOUR WIRELESS NETWORKS" has allowed himself, can I lock it or set a