Streaming PDF With Search Option

Hi All,
I want to open the Streamed PDF with Search Option.
My PDF is searchable so if i use the URL like http://servername/abc.pdf#search=test then its working fine
but when I stream the PDF then i m not able to pass the path like \\Servername\abc.pdf#search=test as it says that the file not found.
Here is the code
  Response.Clear()
        Response.ContentType = "application/pdf"
        Response.AddHeader("Content-Disposition", "inline; filename=abc.pdf")
        Dim myStream As System.IO.Stream
        Dim buffer() As Byte
        Dim BytesRead As Integer
        myStream = New System.IO.FileStream("\\servername\new\abc.pdf", System.IO.FileMode.Open, _
                                            IO.FileAccess.Read, IO.FileShare.Read)
        BuffSize = 102400
        Response.AddHeader("Content-Length", myStream.Length)
        ReDim buffer(BuffSize)
        BytesRead = myStream.Read(Buffer, 0, BuffSize)
        Do While (BytesRead > 0)
            Response.OutputStream.Write(Buffer, 0, BytesRead)
            Response.Flush()
            BytesRead = myStream.Read(Buffer, 0, BuffSize)
        Loop
        Response.End()
I want abc.pdf to be opened w/ search option but when i pass the seach option with the file name its not working.
Is there any other way to Stream PDF with Search option?
Regards
JD

Hello, (please tell us your first name)
As you didn't mention how exactly you are using your search field in your report, I'm assuming it is part of a where clause. If this is the case, you need to understand that APEX is running your report query each time you are changing your search string value.
"I added a search item and a go button…if I enter a value in the search that will take me 5 or 6 pages deep …It is not like you have a master result set, and you are browsing it with your search string. The go button actually submit your page. The report engine build a new result set, based on your query where clause, and reset the pagination, as it is a new report.
Regards,
Arie.

Similar Messages

  • Saving PDF with different option

    Does anyone have a VBscript that opens a PDF and saving it with the option of  "Reduce file size" 

    Adobe Reader does not allow saving filled-in forms, either with Save, or Print to PDF. Some forms don't fill properly with Preview (at least they didn't in Tiger), and Preview doesn't have many features (such as field descriptors), so Adobe Reader is sometimes the only option. The virtual printer lets you save filled-in form with Adobe Reader. If the form works with Preview, then the built-in Print to PDF can be used.

  • Sub folder vanished with emails. Emails still can be found with search option but won't display text

    A bunch of my subfolders for sorting my email vanished, which was brought to my attention when TB tried to sort my mail and said that the subfolder did not exist. I re-created the subfolders with the same name as before and when I went into the new subfolder I was surprised to see that all the past email were in it. However, when I opened the e-mails the body of the emails were empty. (I even tried highlighting for white text as suggested on line, but nothing)
    I used the "search emails "options to try and find them, using the title of the emails as the search parameter ie "Receipt for your PalPay payments" and the search results provided me with the results of all the missing emails with the full text of each e-mail. However, when I went into individual emails (or the open emails as list option) the text was still not there. It must be there somewhere since the search option is finding it.
    I tried deleting the Profile (global-messages-db.sqlite) hoping that it would bring the text back but it didn't work. Most of the emails that are blank are of the financial nature and I would really like them back.
    HELP!!!!!
    Thank You, John Jaeger

    in he middle of the search results screen at the top is a show list option. (
    hidden in plain sight) click it. in the list. right click the headings and select location. That will not find you mail as such. but it will give the folder the search is finding it in. If that name is what you expect, you have perhaps dragged the folder or folders to another location so they are a sub folder of another unrelated folder.
    View Menu (Alt+V) > folders > all to ensure only real physical folders are visible, now you will need to expand each and every folder in the tree to locate your folders.

  • Reading Adobe pdf (with search feature)

    Is there a way for me to read adobe pdf's on the iPhone? Anybody mind explaining the best way to do this?
    And if so, is there a way for me to use the Acrobat search feature that allows you to type in a word and cycle through them in the text?
    Thanks

    Hi thanks very much.
    Does anyone know if one of the apps in particular would allow for an acrobat-type ability to search (and enter a page number).
    I tried downloading a 19 MB file from my ftp (came down fine) but there does not appear to be an ability to store this file which means you have to re-download it every time you want to view it. It also seems like the OS gets stuck when you try to scroll over many pages.
    Anyone got suggestions as well as perhaps another support/news site that deals with this type of functionality?
    Thanks for any help.
    - Jonathan

  • Search Option in UI Map

    The requirement is to have a search Service Agreement option inside UI Map, Basically it is similar to the Search option of Base. I am not able to find base UI Map with Search option part of it. Help will be appreciated.

    Hi Hari,
    This might not be the appropriate channel to contact you but situation necessitated this medium. However, I am sorry for any inconveniency this may bring your way.
    I am looking for CC&B consultants for one of the top 5 Inadia IT co. Pls Contact me for more details. [email protected]
    Thanks
    Ben

  • Screenshots for Search option using Enity  object(donot want session bean)

    I want to create Entity object(donot want session bean and Enity diagram) with search option. so any one help me. i could not find (b13895_oracle10g) PDF

    Can you elaborate a little more?
    Do you mean ADF Entity objects or EJB entities from tables?
    For ADF Entities -
    You can create Business components from tables wizard from the New gallery and follow the steps. This creates your entites which are xml files and also view objects for which data controls get created, which you can then use in your jspx.
    For EJB entities though you need to create a session bean or a service facade.
    Thanks.

  • Print PDF with special print options of Canon IR printer

    Hi,
    We have a collection (db driven) of PDF documents that we want to send to our network printers. Some document need a hole punch of some other specific printeroptions of a Canon IR printer.
    The ideal solutions is a windows application where i could define virtual printers with their print options (pdf and printer specific).
    Eg:
    A user creates in a the windows app a virtual printer with name and print options
    - FastPunch: Printer IR5570 with hole punch
    - Fast: Printer IR5570
    - Color: IR C4080
    - ColorBooklet: IR C4080 with booklet options
    When the app starts its batch it will look at de db and find rows with an PDF and the name of a virtual printer. The documents are printed with specific printer preferences.
    Does someone has experience with such an solution? Tips?
    Someone wants to make this in vb.net (or c#)? What cost?
    gtx, Pierre

    I have downloaded the Acrobat SDK but I haven't really waded through the documentation or samples yet. I've only been working on this project for about 3 days now and not full time. This isn't the highest priority at work. I've worked a bit with the adobe reader control and that looks like it has some promise.
    I have two significant problems:
    1) I don't want the user to see any windows appear other than my console application. That way I have it working right now, Acrobat is required and appears minimized while the file is spooled and then is closed after spooling completes. Not so horrible but I'd like to get away from it if possible. To print the file right now I'm using the startprocess module or something (new version of shell I think). I'm starting the pdf with the verb "Printto" and that tells Acrobat to print to a printer that I specify.
    2)Biggest problem. I have no reliable way to change the number of copies or any other print settings. I am not willing to write a program that spools a single copy multiple times just to get multiple copies. Currently my program uses rundll to open a printer preferences dialog, and SendKeys to modify the print settings. This means that the computer cannot be used while automated printing is occurring.
    Right now the program's only saving grace is that it allows the user to be ignorant of the job settings so that all the user has to do is indicate an item number and quantity and walk away (hoping nothing changes the focus and derails SendKeys - but we know that kind of thing never happens in XP :P )

  • Issues with Display PDF in Browser option

    We've recently hit a problem with our application that used to successfully display PDFs in a web browser control. In Adobe Reader 9.x it worked no problem. In Adobe Reader 10.1.3, it stopped working. I'm working along the line that it is something to do with the interaction between the ActiveX viewer and Internet Explorer when in a Citrix environment. (IE is version 8, OS is Windows 2003 Server). To help determine it was the Citrix element that was the cause, with the 'Display PDF in Browser' option active and using Adobe Reader 10.1.3 I launched IE from a command window passing the pdf file name as an argument and the PDF was successfully displayed in the IE browser. Now Adobe Reader 10.1.4 the latter is no longer working; the PDF is always displayed in the Adober viewer.
    Has Display PDF in Browser been effectively disabled in 10.1.4?
    If it should work as before, what can I do to restore the situation?
    TIA
    Craig

    Hi Ben,
    I manually added the registry setting but it made no difference.
    I uninstalled 10.1.4 and reinstalled 10.1.3 and with 10.1.3 I am able to view a PDF in IE when launched from the command line.
    I re-downloaded and reinstalled 10.1.4 and retried and now I can view a PDF in IE when launched from the command line.
    Strange.
    Regards
    Craig

  • Export to PDF with Options

    Hi,
    I would like to export the active document to PDF with options [Standard options] using vbscript.
    Is there any sample or references for this?
    Thanks,
    Shailesh

    A quick copy to help you getting started.
    myInDesign.ActiveDocument.Export "Adobe PDF", TargetPDFfilepath, False, IDPDFPresetName
    The command can be found in VB reference guide (and scripting guide I believe)

  • Please add the option to be able to upload/link new pdfs with the in-browser editing. I have a restaurant client who is constantly updating their menu! Please help so they can do this themselves!

    Please add the option to be able to upload/link new pdfs with the in-browser editing. I have a restaurant client who is constantly updating their menu! Please help so they can do this themselves!

    Thank you so much for your help! I am so relieved. I will have explain how to do this to my client, but a big weight is off my back!
    A long learning process and actually such an easy fix. So glad you responded. Again thank you...

  • Binary search option with Read statement

    Hi,
    There are any chances that the Read statement with Binary search option to fail, even though the key exists??
    Here the itab is sorted in descending order. and then some duplicates are removed using the delete adjacent statement.
    Regards,
    Sandhip.

    Hi,
    Here is an example:
    sort itab1 by a b c.
    loop at itab2 into wa_itab2.
      read table itab1 into wa_itab1
                       with key a = wa_itab2-a
                                b = wa_itab2-b
                       c = wa_itab2-c
                           binary search.
      if sy-subrc = 0.
        wa_output-a = wa_itab1-a.
      endif.
    endloop.
    Another alternative is to use sorted tables.
    Hope it helps...
    P.S. Please award points if it helps...

  • What are the best options for creating a PDF with bookmarks and a hyperlinked TOC?

    What I'm interested in is whether or not there is an alternate process I could follow that would side step Word 2011's inability to export to PDF with bookmarks and hyperlinked TOCs. How do you create PDF documents with bookmarks and hyperlinked TOCs in your documents?
    Some background:
    In Word 2010 and 2013 for Windows (and I'm sure this applies to older versions as well), you can export documents to a PDF file format where the exported file will carry over the bookmarks and hyperlinked table of contents. Specifically, by making specific text headers, will appear in the final PDF file as bookmarks on the side (see image taken from Adobe's website).
    Regarding the table of contents, using Word's built in Table of Contents feature successfully ports the ability to navigate to a specific section by clicking on its chapter in the table of contents to the finished PDF file.
    I've read several forum discussions that say it's not possible to do this from Word 2011, so my current solution is to just finish all documents on a Windows machine (either with parallels or a separate computer). The alternate process flow of creating a word document, exporting it to PDF, then rehyperlinking everything in Acrobat is just too time consuming to consider.

    Hi, beejasaurus
    I found a possible kluge from this discussion here
    https://forums.adobe.com/thread/1008480
    Create the hyperlinks in Word, save the file
    Open that file with Pages, export as PDF.
    The links work from that PDF.
    Note, I did not try this with TOC but it worked with hyperlinks embedded in the Word document

  • Best option for PDFs with limited interactivity

    We've recently published a fully interactive folio into a multi-folio app for a client using DPS, but they've asked if some of their weekly/fortnightly print publications could be added to their app as folios without interactivity.
    In other words, these are "specials" publications which have a very short shelf-life and don't require any interactivity (other than perhaps tappable links to their ordering websites etc).
    Can PDFs be turned into folios through InDesign/DPS, and published to an existing app so that my customer's clients can view all my client's publications this way?
    We would continue to publish interactive folios for the app, which have a longer shelf-life (say quarterly or yearly), but these quick turnaround "specials" publications don't have enough lead time (and we don't have enough staffing resources) to produce useful overlays and interactivity for each of them.
    Cheers,
    Eoghan.

    Thanks Andrea,
    I haven't been able to find any links to information about the "trick" of reading a PDF directly into an app on the link you provided. Maybe it's hidden, or not applicable any more.
    Out of curiosity, if we created a PDF with some limited links to websites etc, then read that into an app, will those links still work?
    Ideally, our customer wants some folios in their app to be interactive, and some to be basic pdf-style publications, but all of them housed within the one app.
    Cheers,
    Eoghan.

  • Cannot generate PDF with RH10

    I have searched the forum and Peter Grainge's site and not found a solution to this problem that worked.
    I have a new installation of RH10 on Windows 7 sp1. It was installed as a trial and then licensed. I do not have the complete Adobe Acrobat -- only the add-on that was installed with RH.
    I used RoboHelp HTML to create a simple webhelp project and attempted to generate a PDF from it with the single source layout for Printed Documentation. The following error occurred:
    Starting to build Printed Documentation...
    Printed Documentation processor 10.0.0.287
    Building C:\RoboHelp experiments\merged help webhelp\Child projects\comcare_human_resources_modul\!SSL!\Printed_Documentation\Printed_Documentation. doc ...
    Preparing to create Printed Documentation...
    Clearing output folder...
    Preparing files for Print Document...
    Copying files...
    Updating files...
    Finished preparing in 1 second.
    Preparing environment...
    Printed Document Generator Environment: Word 14.0.6129,  OS 6.1.7601, RAM 4009 M Bytes
    Building Printed Documentation 'Printed Documentation'...
    Building Single Document 'Printed_Documentation.doc'...
    Building 'Title Page'...
    Building 'Table of Contents'...
    Preparing to build chapters...
    Building 'Human Resources Module'...
    Building 'First Topic of the Human Resources Module'...
    Processing 'First Topic of the Human Resources Module'...
    Processing 'How it works'...
    Processing 'Splash'...
    Processing 'Welcome'...
    Processing 'The Information Screen'...
    Processing 'About'...
    Processing 'Starting the application'...
    Building 'Error Messages'...
    Processing 'Error Messages'...
    Completed building chapters...
    Building 'Glossary'...
    Building 'Index'...
    Updating list paragraphs...
    Updating images...
    Updating page numbers...
    Updating page headers...
    Updating Table of Contents...
    Updating Index...
    Saving 'Printed_Documentation.doc'...
    Generating 'Printed_Documentation.pdf'...
    Failed the generate PDF file 'C:\RoboHelp experiments\merged help webhelp\Child projects\comcare_human_resources_modul\!SSL!\Printed_Documentation\Printed_Documentation. pdf'...
    Failed to save 'Printed_Documentation.doc'...
    Cleaning up temporary files...
    Internal error encountered,  Failed to generate Printed Documentation.
    RoboHelp can successfully create a PDF of a single topic. It can create a PDF with Review > Create PDF for Review.  It can successfully create a doc from this project, and Word is able to save that doc as a pdf.
    RH can open the projects that it created but cannot open the sample projects. The sample directories are read-only and I cannot reset them. I do not know why.
    I uninstalled RH and reinstalled it. The problem is still occurring.
    I am baffled. I am an inexperienced RH user so the problem might be a simple one. I would be grateful for any advice.
    Best wishes,
    Juliette Curtis

    I was also facing this issue and got the same error.  After much trial and error I found the following solution. So sharing that here. ( I am not sure whether this works for all the use cases. But in my case it worked. I am using Windows 7, RH11, and MS Office 2010.)
    Open any Office application. (I opened Word)
    Open File > Options > Add-Ins. (You will be able to manage your add-ins from this tab. When I browsed through the list I found the "Acrobat PDFMaker Office COM" Addin was with the list of  "Disabled Application Add-Ins")
    Select "Disabled items" from the Manage list. (This list is available at the bottom of the Add-Ins tab)
    Click Go. The Disable Items window is displayed.
    Select "Acrobat PDFMaker Office COM Addin" from the list.
    Click Enable.
    Click Close. The  "Acrobat PDFMaker Office COM Addin" is moved to the list of "Active Application Addins".
    Close MS word.
    Now when you generate the Printed Documentation output from RH11, the error mentioned in the query is not appearing and a PDF output is generated.
    Hope this solution will help.

  • Placed PDF with Layers - can layers be maintained and exported in a new PDF?

    Can a layered PDF placed in InDesign include these layers in the InDesign Layers Panel? I have a layered PDF created in Illustrator CS4. I'm placing it in InDesign CS4 6.0.4 and want to export a PDF with the layers in tact from Illy. I use the Show Import Options dialog box and can see all of the layers in the layers tab. I tried both options for update links so that choice seems unimportant. I only see one layer, Layer 1, in the InDesign layers panel after placing the PDF. I was expecting to see all of the layers from the placed PDF. I exported as Acrobat 6 with Create Acrobat Layers checked but the only layer in the exported PDF is Layer 1. I searched and read for quite some time and can’t figure it out. Maybe I’m expecting something that isn’t possible but it sounds like it should be. I tried placing it as a native AI file with the same results. Where am I going wrong?
    Thanks,
    Glenn

    Thanks to Bob and Peter. I understand what you said. It seems as though the ability to place a file with layers should allow you to take advantage of it better. This is a map that will allow users to turn on or off various points of interest, hotels, etc. Now I realize I can at least control them from the place dialog box so, other than having to place the same map multiple times I end up with what I wanted. Thanks for the soultions.
    Glenn

Maybe you are looking for