BLOB limited to PDF only

Is there an easy (or not easy) way to limit a BLOB file browse to be PDF only?
I tried putting an item level validation on both the Browse object and on the filename (it doesn't work).
I tried attaching a javascript onChange entry to the file browse item but the javascript isn't being triggered.
Does anyone have any idea how to limit the browse to PDF only or trap the filename after the user selected the item?
Thank you in advance.
--Seattle                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Never mind. Poorly formed javascript was preventing me from trapping the "onChange" event. This function seems to work correctly:
function CheckBulletinExtension(filenameStr){
if (filenameStr.value.length == 0) {
alert("File name is required");
return false;
if (filenameStr.value.indexOf("pdf") == -1) {
alert("File type must be PDF");
return false;
return true;
}

Similar Messages

  • How do I change the format of my workspace it is limited to vertical only?

    how do I change the format of my workspace it is limited to vertical only?

    You really need to be more specific and use terminology from the program. There is no panel called the "edit window." And I can't begin to guess what you mean by "the complete window needed for full video screen." As Steven suggested, a screenshot could really help.
    If you're basically asking how to rearrange the layout of the panels, you can do that by mousing over the divider between any two panels and then clicking and dragging side-to-side or up-and-down.
    See the Workspaces sections of this help document: http://helpx.adobe.com/pdf/premiere_pro_reference.pdf

  • On my macbook pro when opening a page i can not save it as a pdf only give me the option of saving it as a web page can any body help me on this I have tryed so many times without success

    on my macbook pro when opening a page on safaryi can not save it as a pdf only give me the option of saving it as a web page can any body help me on this I have tryed so many times without success?

    Just select Print in Safari and then, in the bottom left-hand corner, select PDF and you can save it to whichever flavor pdf file you like.
    Clinton

  • Does any one know the pdf only scenario?

    Hi
    we came across an 'undocumented feature' of interactive form usage in WDA, that's the so called  pdf only scenario.
    This is how it works:
    1. for the form form UI element , only the pdfsource is bound to a context node , datasource and template source are empty;
    2. the pdfsource is generated from a DDIC  based interactive form ,by calling   FUNCTION 'FP_JOB_OPEN' and FP_JOB_CLOSE;
    3. user input data will be stored and send back to the pdfsource as a document(xstring);
    the advantages are :
    1. DDIC based forms will be available interactively online(which is more friendly to abap developers and more powerful), no need to set to the legacy mode to make it work; (according to SAP LIBRARY, function module based forms are only available for printing);
    2.  the context of WDA application is simple, you can switch between forms without complex binding,there is only one binding between the forms and wda context: the pdfsource;
    3. using ADS method , you can easily to extract xml data out of the pdfsource, and using ST or DOM you can manipulate it easily and send to user again;
    4. ZCI DDIC forms work, no need to use ACF;
    we have tested this on SP16 successfully.
    Imagine you are building a  WDA application,that will deal with different forms with different interfaces,you will realized the power of the pdf only scenario.
    unfortunately, this funcitonality is not officially supported by sap, for ddic forms we have to  follow
    http://help.sap.com/saphelp_nw70/helpdata/en/42/c247dc6227311ce10000000a1553f7/frameset.htm
    , which i think it's confusing.
    i 'd like to know does anyone work with this scenari before, and i hope SAP can hear my voice and to notice the power of this scenario and make it officially a new feature.
    best regards
    jun
    Edited by: Jun Zhang on Oct 7, 2008 11:42 AM

    Hi Jun,
    I'm currently working on, a such scenario . My forms is based on a DDIC interface and should be used with e-mail flow ( off-line ) and into a webdynpro Abap .
    In my form i got dropdownlist box populated by DDIC value , also dynamic text and information such as user name, number of holidays etc...
    I'll do all the code describe in the help, unfortunately when i set my forms as enable in the WD4A , all value pre-populated in the forms ( dropdown list box, user name etc... disapears ...
    If i set the same forms as not enable , all value appears correctly .
    I'll debug the code to see where is the problem, it's in a method where the forms is generated twice and all value disapears. I'll send a message to OSS for this, the answer was first it's because you use dynamic text then the answer was it's because you used DDIC interface please used XML .
    I look at sample web dynpro given by sap but none of them are populated when it's appears (perhaps my ides value are not set ) .
    So i'm currently trying to redevelop my forms based on a XML Interface and will try it . I let you know if it's works ....
    Regards

  • Limitations of read-only JE Environments

    Hello all,
    I realized recently that our documentation on the limitations of read-only Environments is lacking. So for the next JE release I updated the javadoc for EnvironmentConfig.setReadOnly. The new text is pasted below. If you're using, or thinking of using, a read-only environment, be sure to take a look. I apologize for the lack of documentation in the current release, especially if you've used a read-only environment without understanding these limitations and this has caused problems for you.
    --mark
    setReadOnly
    public EnvironmentConfig setReadOnly(boolean readOnly)
    Configures the database environment to be read-only, and any attempt to modify a database will fail.
    A read-only environment has several limitations and is recommended only in special circumstances. Note that there is no performance advantage to opening an environment read-only.
    The primary reason for opening an environment read-only is to open a single environment in multiple JVM processes. Only one JVM process at a time may open the environment read-write. See EnvironmentLockedException.
    When the environment is open read-only, the following limitations apply.
    . In the read-only environment no writes may be performed, as expected, and databases must be opened read-only using DatabaseConfig.setReadOnly(boolean).
    . The read-only environment receives a snapshot of the data that is effectively frozen at the time the environment is opened. If the application has the environment open read-write in another JVM process and modifies the environment's databases in any way, the read-only version of the data will not be updated until the read-only JVM process closes and reopens the environment (and by extension all databases in that environment).
    . If the read-only environment is opened while the environment is in use by another JVM process in read-write mode, opening the environment read-only (recovery) is likely to take longer than it does after a clean shutdown. This is due to the fact that the read-write JVM process is writing and checkpoints are occurring that are not coordinated with the read-only JVM process. The effect is similar to opening an environment after a crash.
    . In a read-only environment, the JE cache will contain information that cannot be evicted because it was reconstructed by recovery and cannot be flushed to disk. This means that the read-only environment may not be suitable for operations that use large amounts of memory, and poor performance may result if this is attempted.
    . In a read-write environment, the log cleaner will be prohibited from deleting log files for as long as the environment is open read-only in another JVM process. This may cause disk usage to rise, and for this reason it is not recommended that an environment is kept open read-only in this manner for long periods.
    For these reasons, it is recommended that a read-only environment be used only for short periods and for operations that are not performance critical or memory intensive. With few exceptions, all application functions that require access to a JE environment should be built into a single application so that they can be performed in the JVM process where the environment is open read-write.
    In most applications, opening an environment read-only can and should be avoided.
    -----

    You've asked an interesting question! I'm afraid that the answer is that it's not possible in BDB JE today.
    What you'd really like for your second case is part of the type of functionality provided by MVCC (Multi-Version Concurrency Control). In case you're not familiar with that term, MVCC is the database feature which guarantees that all reads made in a transaction will see a consistent snapshot of the database and that the transaction will successfully commit only if no updates it has made conflict with any concurrent updates made since that snapshot. Unfortunately, while our sister product, BDB (C) has that feature, we do not yet support it.
    I think your alternatives are to do achieve your point in time snapshot from the file copy based backup, from the second process, or from an application level mechanism that locks out other updates.
    Regards,
    Linda

  • PDF only opens in one install of Std 7.1.0, nothing else at all

    The business I work for has received a PDF from a customer, that is a version 1.3 file created using PDF-Xchange, and the PDF only opens on one computer in the whole of the business which is running Acrobat Standard 7.1.0.
    On all other computers it will not open and Acrobat states that it is damaged. I've attempted to open it on other computers also running Std 7.1.0 with no success, and on my own which is running Pro 9.3.2.
    How on earth is the PDF able to open on just this single computer and no others, no matter what software they are running ?.
    Thanks.

    Thank you both for the replies.   The install had gone well up to step 29 of the process.  I made sure I read the notes closely and applied everything that was needed for the install on V6R1.
    Like Luis stated, I realized what was happening with the password because we did find that message in the system history log.   To make a long story short, we have '/usr/sap/trans' on a separate LPAR on our 570 and needed to create the <SID> profiles on that LPAR and grant them authority to the needed transport directories.   What happened though is once I did that I changed the passwords on both systems to match and didn't take into account the install process had the password we installed in the preliminary steps of the install stored somewhere.   So after changing both LPAR's <sid>adm password to the install defined password, all went well.
    Again thank you so very much.  Much karma to both of you.
    Doug

  • Can a drum pattern created in Ultrabeat be limited to playing only once? Basically creating a single bar.

    Can a drum pattern created in Ultrabeat be limited to playing only once? Basically creating a single bar.

    Found it. The key is shutting down the sequencer in Ultrabeat once you have dragged the pattern to the arrange window.

  • 'PDF only scenario' in WDA application

    Hi , experts,
    does anyone have any experience with the so called 'PDF only scenario' mentioned in note:
    0000992492  Termination when using the PDF-only scenario 
    0000992493  Error in PDF-only scenario after importing Support Pkg 10 
    The note enables the so called "pdf-only" Szenario. This means that onlythe pdfSource is bound and that the application developer extracts the
    data from the pdf within his/her own coding by calling the ADS. Between
    server and client pdf is exchanged all the time.
    We want this feature very much, because it will give programer the ability to extract xml directly from pdf, bypass the static binding.
    BUT, the scenario does not work at our site, we are on SP10.
    i am wondering that anyone work with scenario before?
    thanks and best regards.
    jun

    And ...... I must be terribly stupid because I swear this didn't work ages ago but in depseration I opened the file on my iPad Foxit app and then chose to open it in GoodReader who fixed the corrupted file and now everything is fine.

  • OS X print driver problem with PDF (only)

    Why is it that I cannot print a PDF (only – all other documents print fine) from my MacPro 5,1 OS X 10.7.5 to my HP LaserJet 4050N using the latest HP driver, but I have no problem whatsoever printing the same PDF to the same printer using the Gutenprint CUPS driver? With the HP driver I get spooling file 10% for an hour before I give up.
    I have tried printing from Adobe Reader, Acrobat and Preview (all latest versions) with the same result.

    Nuthin? Not even finger pointing?

  • Cannot open PDF , only perview Q. 0x914d6b73 , but can't find this no.

    pls help us
    Thanks

    My computer is use Window 8.1
    Reader 11
    open pdf ,  only snow 0x914d6b73
    thanks your help
    Chester Pooon

  • Is iMessage limited to iOS only?

    Is iMessage limited to iOS only? Any way to send a text message through internet on iPad/

    iMessage allows you to send unlimited text, photos, videos, locations, and contacts using Wi-Fi or 3G* from your iPhone, iPad, or iPod touch to other iOS 5 users.

  • Printing PDFs only saving as first page

    Hi
    When I save a Word 2004 file as a PDF, only the first page is saved/printed.
    This is a 2 page document.
    Would you be able to help me with adjusting the settings?
    Thanks
    AS

    Hello AS,
    I don't have Word, but recall reading some strannge Word/PDF effects caused by Page Breaks or such in a Word Doc, might look at that angle.
    Also, instead of saving as PDF, might try... Print>PDF>Save as PDF...

  • Merging .psd's and .pdf's into single pdf, only showing 1st page of pdfs :(

    I am merging .psd's and multi-page pdf's into a single pdf. When I import the other .pdfs and then save, it is only saving the first page. How can I fix this? I very much appreciate the help.
    Brock

    I am merging .psd's and multi-page pdf's into a single pdf. When I import the
    other .pdfs and then save, it is only saving the first page. How can I fix
    this? I very much appreciate the help.
    To my knowledge you can't use Bridge for merging multi PDF files to one. You
    can do so in Acrobat Pro. Also Apple Preview has limited options to merge
    PDF, I believe you can merge a multi page PDF to a single page one with Drag
    and option key pressed.
    You should first create also PDF sheets for the PSD files. Remember that
    huge file size creates also huge PDF files.

  • Print to PDF only saves to the desktop

    When I try to "Print to PDF" it gives be the dialogue box to tell the program where to save the file.  I can pick any location I wish but when I click save; the file is not there...unless I tell it to save to the desktop.  I have tried adjusting the properties but nothing I can find will allow it to save the file anywhere but the desktop.  This only started happening after installing one of the latest Adobe software upgrades.  Is there anything I can do to fix this?  It's incredibly inconvenient to save everything to my desktop, then go move the file where it's supposed to go later.

    I have just tried Print to PDF from Word 2010 (on Windows 7 with Acrobat XI), and I had no problem whatsoever to place the result into my Documents folder.
    Could it be a permission problem on your target folders?
    P.S. does Save as PDF have the same problem?

  • Export Crystal Report to PDF only

    Hi,
    I'm new to Crystal Report(CR) for VS2010, so please bear with me. How do i make CR to export to PDF file only. When i try to click on the export icon, it gives me so many options to export the file but i only need the user to export to PDF file. Any help is greatly appreciated.

    Hello,
    CR for VS 2010 now gives you the options through an API to allow which types will show up in the export options.
    In your viewer click event add this :
    private void ViewReport_Click(object sender, EventArgs e)
        rptClientDoc = rpt.ReportClientDocument;
        crystalReportViewer1.ReportSource = rpt;
        // set up the format export types:
        // to set each type allowed
        //int myFOpts = (int)(CrystalDecisions.Shared.ViewerExportFormats.RptFormat | CrystalDecisions.Shared.ViewerExportFormats.PdfFormat | CrystalDecisions.Shared.ViewerExportFormats.RptrFormat | CrystalDecisions.Shared.ViewerExportFormats.XLSXFormat );
        // to set all types allowed
        int myFOpts = (int)(CrystalDecisions.Shared.ViewerExportFormats.AllFormats);
        crystalReportViewer1.AllowedExportFormats = myFOpts;
    Thank you
    Don

Maybe you are looking for