Uploading files only in PDF format

Hi Friends,
    I have requirment in my application that i need to upload file in the content Managment
The File should be of type PDF only.
The issue is like this when i get a dialog box for selecting the file,
I should be able to select files only with the extension of PDF.
if some other file is being selected i should get popup specifying illegal format of file.
Any replies will be thanked in advance.
Regards
Nawal Kishore

The tag for file upload [ <thtmlb:fileUpload> ] has an attribute onUpload to which you can assign a event name. This event will be triggered when a file is uploaded. You can code you validation for the required mime type within this event.
Please refer the view FileUploadTag in the component CRM_THTMLB_COMP for sample code.
Regards
Kathirvel

Similar Messages

  • I am trying DWF files to a PDF format but only half of my drawing is converting.  Can anyone help?  Is it a setting?  The original file is an autocad file.

    How do you convert AutoCAD DWF files to a PDF format.  These are blue prints and I was told by Adobe to use the Acrobat DC program so that's what I did but now I am only getting half of a drawing on a page.  Is this as simple as a setting?

    Hi subscription question,
    I've checked your account; it looks like you tried to place two separate orders this morning, but it doesn't appear that either went through. However, it does sound as though you've been able to convert a file successfully. What happens when you log in to your account at https://cloud.acrobat.com/files? Do you see your converted file there? All converted files are automatically stored in your online account, even when you convert from within Reader.
    Best,
    Sara

  • Shipping legacy MSDS uploaded which are in pdf format

    Hi Friends,
    Do not get mislead by Questiom Here is the requirement.
    In our project, We have imported legacy MSDS in PDF format. For this we created a program to upload legacy MSDS in PDF format.
    The generation variants are of type "MSDS" and not "IBD_MSDS" type.
    So all imported PDF MSDS are visible in CG54 as released MSDS. So here is the requirement.
    Immediately after go-live there will be no MSDS generated in SAP EHS system by WWI server.
    So if I want to ship the MSDS which is stored in PDF format, how to achive this.
    Standard scenarion of shippping is working. but this issue we need to resolve. Kindly help if I need to do any configuration or Developement.
    Note:- I am getting error as "File not found".
    Thanks.
    WIth Warm Regards
    Mangesh Pande

    Dear Mangesh
    in regards of:
    I am able to ship reports which are generated through WWI with generation variant of report category "MSDS".
    Congratulation. One process is up and running. Now you need to "establish simply" a "similar" customizing in context of "IBD_MSDS". This is not easy. I know. BUt it is possible. But first, as I have tried to explain, you need to have a super perfect very good blueprint. (considering your current and future situation in which you may be would like to dispatch normal WWI reports)
    It is nearly  not possible to explain to you the "millions" of pitfalls in your situation (but you can prepare such a set up as your situation is quite common, normal and "standard"; especsially if you have the need to migrate data (but other options exists as well to do the job)). In most cases (according to my experience in your situation) you will need at least a project running for 6 months to establish a robust process to support both document types in the "same" disptach process.
    PDF format is a quite normal format for such "business scenarios" you have. The issues is youre "wording":
    "After go-live for some days there would not be generation of MSDS in CG54 as new versions of MSDS would not be generated in CG54." => this leads to the "interpretation" that at later point in time normal WWI reports might be used and this is the "trick" (if you really have a very very good picture about how SAP has designed the SDS dispatch process). => coming to the main point: you will use a lot of SAP EHS standard customizing but you must develop of lots of customer specific function moduls to get a solution
    C.B.

  • I have tried a lot to find an app or some way in email to attach multiple of pdf files in one email. I could not find anything that sends multiple pdf file in one email and still keeping the file in simple pdf format for the recipient.

    I have tried a lot to find an app or some way in email to attach multiple of pdf files in one email. I could not find anything that sends multiple pdf file in one email and still keeping the file in simple pdf format for the recipient.

    I am not aware of a way except for photos that allows you to select multiple files in an email. I even checked settings in the Adobe Reader app, and it does not show that ability.

  • Opening bank data files in a PDF format not working, the file defaults to Quicktime and only displays one page.

    Opening bank data files, while logged into the bank or brokerage sites, by clicking on the PDF or file name icon, is supposed to open in PDF format but instead opens only a single page in Quicktime. This also happened several years ago in Leopard and required the removal of Quicktimeplugin.plugin. I have tried doing that in Lion with no success. Any thoughts?

    Gerry Brown wrote:
    "from that page" does not make sense.
    The file exists in a folder on your machine, correct?
    If not, you need to download the file from your bank. Or use "Save as" in the browser.
    No the file is on the Webpage he is visiting.
    @ OP Right click on it and select Save File As. then save it to your HDD. Then open it.

  • Need to upload a bill in pdf format to be viewed in biller direct screen

    Well requirement is to view a bill(invoice) from the given format to pdf format on biller direct screen(UCES SCREEN), a web portal.
    Now ,first i have to change the invoice from its current format to pdf ,and
    Secondly,I have to send it to the web portal...so which FM makes a pdf file go to a remote server
    Thirdly,I need a suggestion too..ie. whether the bill should be called from the database only?If so how to save the bill in pdf format in database server.
    Any help will be appreciated and duely rewarded.
    Thank you,
    Pranab

    well thanks for your reply.
    But what about calling the pdf from the web portal or uploading the pdf view in web portal?
    Means that when I click on pdf icon on that portal........it calls a bill in pdf format from SAP r/3.

  • How to upload files (.doc./.pdf) to the database?

    Hello,
    I know this question was raised several times before but the answers don't really make me happy.
    I have a table with a BLOB-column for the documents (different mime-types) and a varchar2(100)-column for the mime type.
    I edited the form in navigator an told the blob-field to store mime-information in the mime-type-field.
    Now, do i have to tell portal the mime-type or does it retrieve it itself?
    if i have to tell, how do i do so?
    How can i fill in the value for the mime-type-field with javascript, when the fieldname is something like abc.def.ghi?
    Javascript then will tell me that document.forms.fieldname is not an object.
    Wouldn't it be a good idea to write a howto on this subject (and other subjects too, of course)? I'll do the work if you share your knowledge with me.
    And, by the way, can you share your wisdom about retrieving the blobs from tha database for displaying and download, too?
    thank you very much,
    Ralf Schmitt

    Hi Ralf,
    see in the design time if you are
    1)Interested in only one type of content in the blob column then just mention that mime-type in the
    for eg.there will be text field "or type in fixed mime type" where you can mention the default type which you are interested in uploading.
    2)If you intent to upload files of diffrent type of mime-types then you will have to associate a column for storing the mime types for that file and for this there will be a text field.
    for eg. you will have options for "Select a column to store mime information" which will be having list of all the remaining fields in the LOV , you select which field of the table you wish to make for storing mime-type and do not set any default mime-type in the text "or type in fixed mime type" in this case.
    more explaination:
    =================
    for this case create a table like this :
    create table for_blob(id number(4),file_name blob,mime_type_of_file varchar2(400));
    when you select file_name field while designing the form you will have following option.
    "Select a column to store mime information" ---> select mime_type_of_file
    "or type in fixed mime type" ---> delete the content of this text field.
    Now when you will actually run the form you have to insert mime-types in the text "mime_type_of_file " for eg
    for PDF files: Application/pdf
    for msword :Application/msword
    for the first case just input the mime-type which you wish to upload.
    "or type in fixed mime type" ---> delete the content of this text field say for eg for PDF files:Application/pdf
    so that at run time you do not have to input any mime-type info and in this case even the field need not have the column for the mime-type.
    hope this help.
    rahul

  • View .rpt files(reports) in pdf format

    Hello
    I'm working with reports generated in CrystalReports and i want to view them in pdf format (in browser using a servlet) but not generating a .pdf file on disk(work with ByteArrayOutputStream).
    But i can't get to a result.
    Can you sugest a certain way to do this?
    Thank you.

    Hello
    I have found a solution using iText library,(with Document() ) , it does open Adobe view but is showing a formated :
    " ��; &#305;
    &#305;Root Entry&#305;&#711;SummaryInformation(&#711;&#305;�&#305;QE
    Session&#711;&#305;ReportInfo&#711;&#305;&#711;&#305;&:Contents&#711;&#305;'
    &#711;&#711;&#711;�Oh��+'&#305;�Oh��+'0�&#305;&#305;&#711; ���� �
    &#305;&#305;
    &#305;(&#305;4&#305;<&#305;D&#305;L&#305;x&#305;&#711;��&#305;&#305;&#305;&#305;&#305;&#305;&#305;&#711;2@0�Z&#711;@@rY^3�&#305;@
    ��A�3�&#305;&#305;Crystal Reports&#305;QENG&#305;&/&#305;&#305;
    7#��WCa�y SJ(�C5��.��F6q�x�q
    T� dus���/��m�81=&#711;WJ�Ir�sd�^l��
    ,zY���T�:cd�Y�y�9-
    B��\�0e��� Y���M9Rx��>�5�~��
    m�c}l�d��G x$� E�Bv2
    &�S[e �P���a�����$ �9l�E&#956;���
    �rH�..........."
    Don't understand why is transforming like this.
    I've tried with ie and Mozilla
    Thank you.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Uploading file to adobe PDF online

    I selected a file to convert from PDF to Word and it just keeps uploading with no results  how do I get this to convert?

    Hi there,
    Sorry to hear about your trouble.  Are you still having trouble uploading files to the ExportPDF service?
    -David

  • Drop down menu to select a signature graphic file is only in pdf format

    Help. . .Acrobat Xi will not let me select any other than a .pdf file for my graphic signature.  My signature is in a JPEG file format. But when I am in the "Configure The Signature Appearance" screen and I go down to the bottom. . . it only has the .pdf option in the dropdown.  In the past other file formats were there.  What happened to them?

    I am sure this is possible. There is a calendar object on the Forms and Demos CD but I have created my own calendar just using a single form that is called from every date field.
    Create your calendar using a single date item that is populated by a parameter - this will be either the date from the field or sysdate. Create the other elements of the calendar as calculated items based on the first item +1, +2 etc. Use a when-mouse-click trigger to get the user's selection and pass it back to the date field via a global variable or a shared PL/SQL library.
    To make it more like the Outlook calendar you will have to add a button next to every date field and add code to position the calendar according to the field position. You may prefer not to bother to do that - I just open the calendar centrally on screen and activate it using key-listval and/or a pop-up menu.
    Hope this gives you an idea.
    Regards
    Nigel Simpson

  • Acrobat not opening files in "adobe pdf format"????

    I just got the message (The document “7/11Diverticulitis.pdf” could not be opened. Acrobat cannot open files in the “Adobe PDF document” format.) after trying to create a pdf file on my new computer. Recently upgraded to MacPro On Snow Leopard oper. system.  I had all my old stuff transfered to new computer. It all worked fine before. I am using a HPPhotosmart C7250 all-in-one printer/scanner. I needed to upgrade the scanner/printer software driver, did that already. Why doesnt' this work correctly. Steps for creating a pdf file are also different than before but I was able to create on, but can't open it with the new computer . Any ideas?

    You say that you transferred everything from another computer -- did you use Migration Assistant, or just copy things over?
    Either way, it is probably best to reinstall Acrobat from the disk, as it looks like some components have not been copied over.
    (Nothing wrong with having / in a filename on OS X. The only banned character is a semicolon. If you plan on transferring files to Windows, there is a host of chars that they can't use, though.)

  • Upload File - STAR OFFICE (.ods format)

    Dear All,
    In our organization, we are using STAR OFFICE (product of SUN), instade of MS Office.
    Now I wants to upload "StarOffice Calc" (like Excel) file.
    Its extension is ".ods".
    So, Plz suggest using wich Function module or any other way to upload these file data into SAP.
    Regards,
    Dharmesh

    Hi,
    Why dont you try downloading this file into a .txt tab separated notepad file and then upload it to the system using the FM
    'GUI_UPLOAD.
    Regards,
    Pramod

  • I am not able to convert a pdf file to a xml format using adobe reader 11. please tell me how to do the same!!!

    I have to upload a form in xml format. The file is in pdf format. I am using adobe reader 11. Please tell me how to export to xml format. There is no option for xml.

    Please give us a link to the instructions you are trying to follow.

  • Acsm File to pdf format

    How can I pass an Adobe Digital Editions 2 acsm-file in a pdf format so that I can sent it to iPad2 an read it in iBooks?

    This forums is only for discussions on the forums themselves. I suggest that you try in the Digigtal Editions forum
    http://forums.adobe.com/community/adobe_digital_editions
    or in the Acrobat one,
    http://forums.adobe.com/community/acrobat

  • Saving spool request  in PDF format  using background job

    Hi,
    We have some important jobs which create spool requests. My requirement is to save those spool requests either on front end  or on application server in pdf format. I tried with  program RSTXPDF4 but i can save those files only when pdf conversion is done online and I want it to run in background  as some of the spool request have more then 3000 pages and also i'm not looking for ABAP development.
    It is fine with me to save it in text format but some of the spool request have around 3000 pages and  i cannot save the whole request in one shot using option system->list->save->local file
    It is appreciated if someone has any alternative for the above one.
    Regards,
    Chaitanya

    Hi,
    Just check Is it solve your purpose... When you are creating background jobs mention your email / user id as spool list recipient...
    I think you will recv. the spool output in the mailbox in pdf
    Edited by: Mrinal Das on Jan 3, 2011 2:37 PM

Maybe you are looking for

  • Is there any fix for the flashplayer installer not working on a windows 7, 64-bit, using firefox?

    I Hit the download link, get the permission windows, and the flashplayer installer window comes up, but doesn't do anything. i left it up all day when i went to work, come home 12 hours later and it was still just sitting there not installing. Is the

  • When i click a bookmark, it wont load and freezes

    after clicking on a bookmark, it indicates waiting for down load and freezes, every time now but only in the last 18 hours as of about 9:00 pm Pacific time.

  • Logic for Expand/compress icons

    Hi all, iam creating a custom transaction in which if you click on partner row in Partner tab an address dialog box pops up... (similar to sales order/header/partner tab) now, i want my window have the same func as the SAp window has but iam having p

  • ML currencies missing in the MLBECR for the EKBE-1

    Hi Gurus, I have a problem during MIRO transaction, the system returns the message: "ML currencies missing in the MLBECR for the EKBE-1". We have already implemented several notes oss, but not solved. I not understand the problem. Please, can you hel

  • Add caption to MS Word image using activex

    I used LabVIEW to add an image at a bookmark in a Word document. Now I'm trying to add a caption to that image, but having no luck. I keep getting errors on my InsertCaption method--either "Error -2146824090 occurred at Exception occured in Microsoft