Open hyperlinks from database

Hi,
I have a table in database that has files uploaded from front-end like XLS, DOC, PDF,TXt etc.
I need to create a report that shows the filename as hyperlink and when user clicks the link, it should open the attachment in Excel if .XLS, Adobe if .PDF ..
Ex: Filename
Test.xls
plan.Pdf
roadmap.doc
Where all entries under "Filename" column is hyperlink and when user clicks hyperlink, it opens the appropriate document
Can we get this done in BI Publisher out of the box or do we need any custom code?
Advance thanks to everyone for their valuable feedback.
Edited by: S00000 on Sep 14, 2012 12:15 PM

ok
>
I have a table in database that has files uploaded from front-end like XLS, DOC, PDF,TXt etc.
>
in my humble opinion it's not good solution
why in table? why not use bfile?
if you want select blob from your table you must always download it to some directory on server in sql/plsql way
or if you use, as example, c#client then you can download it as byte stream to client side
if you use bfile then your file stored on some server directory and you can work with by ftp, http as for ebs sample
so in this case you can't have problem with attachment, you can use url+filename in your report
--add
>
Iam looking for a solution where I can show attachments in BIP report from Database directly.
>
i not sure as it looks like
one big report with embedded many other files?
or how?
Edited by: AlexAnd on Sep 19, 2012 11:21 PM

Similar Messages

  • SQL query or view used internally by Discoverer Open Workbook from Database

    Hi Experts,
    I am involved in developing a web application wherein I have to display the 'All Workbooks' similiar functionality in the 'Open Workbook from Database' dialog box of Discoverer. Can anybody provide me with the background query or view that Discoverer uses to retrieve this data for workbook listing? Please let me know if my question is confusing and requires more details.
    Thanks
    Thomas

    Hi,
    If you just need the list of workbooks then you need to use the EUL_DOCUMENT table:
    SELECT u.User_Name          Owner_Name
    *,Doc.Doc_Name Workbook_Name*
    *,Doc.Doc_Updated_Date Last_Update_Date*
    FROM   Eul_Us.Eul5_Documents Doc
    *,Eul_Us.Eul5_Eul_Users Own_Usr*
    *,Fnd_User u*
    WHERE  Own_Usr.Eu_Id = Doc.Doc_Eu_Id AND
    To_Char(u.User_Id(+)) = Substr(Own_Usr.Eu_Username
    *,2*
    *,10);*
    If you want the exact same list then you need to do the above along with the sharing :
    SELECT DISTINCT
    case when instr(disco_docs.doc_created_by,'#')=0 then disco_docs.doc_created_by
    when instr(disco_docs.doc_created_by,'#')>0 and instr(disco_docs.doc_created_by,'#',2)=0 then (select fu.user_name from fnd_user fu where fu.user_id=substr(disco_docs.doc_created_by,2,5))
    else NULL
    end "Workbook Owner/Creator",
    disco_docs.doc_name "Workbook Name",
    disco_docs.Doc_Updated_Date  "Last Update Date",
    case when instr(disco_users.eu_username,'#')=0 then disco_users.eu_username
    when instr(disco_users.eu_username,'#')>0 and instr(disco_users.eu_username,'#',2)=0 then (select fu.user_name from fnd_user fu where fu.user_id=substr(disco_users.eu_username,2,5))
    else (select resp.responsibility_name from fnd_responsibility_tl resp where resp.responsibility_id=substr(disco_users.eu_username,2,5))
    end as "Shared Name / Responsibility"
    FROM
    eul_us.eul5_documents disco_docs,
    eul_us.eul5_access_privs disco_shares,
    eul_us.eul5_eul_users disco_users
    WHERE
    disco_docs.doc_id = disco_shares.gd_doc_id (+)
    and disco_users.eu_username(+) NOT IN ('EUL5', 'PUBLIC')
    AND disco_users.eu_id(+) = disco_shares.ap_eu_id;
    * Change the EUL_US to your discoverer schema...
    Then you will need to compare the current user with the sharing list or creator
    Good luck
    Tamir

  • Problem in Open Workbook from Database dialogue

    Hi,
    at my customer we migrated to 'OracleBI Discoverer 10.1.2' and it works fine with one exception.
    In the item 'View' of the 'Open Workbook from Database' dialogue there i am able to choose one of four values. If i move with the mouse over the wanted value, the value is cleared - but it is choosable. Is this a bug or how can i change that mystic behavior?
    Regards,
    Martin

    Hi,
    i use the Java version 1.6.0_22.
    Following versions of Discoverer are installed:
    OracleBI Discoverer 10g (10.1.2.1)
    Oracle Business Intelligence Discoverer Plus 10g (10.1.2.48.18)
    Discoverer Model - 10.1.2.48.18
    Discoverer Server - 10.1.2.48.18
    End User Layer - 5.1.1.0.0.0
    End User Layer Library - 10.1.2.48.18
    Regards,
    Martin

  • Parsing hyperlink from Database in PHP

    Hi,
    I need to populate the hyperlink from database. The rule is
    if the hyperlink equal to "-", then it returns "-". Otherwise, it
    will returns the hyperlink from database. Attached herewith is the
    code.
    However, whenever I click on the hyperlink, the link will
    becomes
    http://www.domain.com/www.LinkFromDatabase.com.
    Why it always append the web site's address?? Do I miss
    something?

    edwin@aw wrote:
    > However, whenever I click on the hyperlink, the link
    will becomes
    >
    http://www.domain.com/www.LinkFromDatabase.com.
    Why it always append the web
    > site's address?? Do I miss something?
    This is happening because your link doesn't begin with
    http://.
    > echo "<a href='$link' target='_blank'> $link
    </a>";
    This should be echo "<a href='
    http://$link' target='_blank'> $link
    </a>";
    David Powers, Adobe Community Expert
    Author, "The Essential Guide to Dreamweaver CS3" (friends of
    ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

  • Cannot open hyperlink from an email in Outlook

    Until today I was able to open all hyperlinks from emails in Outlook. Now I cannot.

    Open your computers control panel to the Default Program page.
    Win 7; Control Panel\All Control Panel Items\Default Programs
    Set Firefox as default Internet Browser.
    Some programs have their own setting option as to the browser.

  • Cannot open hyperlinks from Microsoft Office programs

    I have several hyperlinks saved in Excel and Word. When I click on them with Internet Explorer set as my default, they open. When I click on them with Firefox set as my default nothing happens.

    Hello,
    '''Try Firefox Safe Mode''' to see if the problem goes away. [[Troubleshoot Firefox issues using Safe Mode|Firefox Safe Mode]] is a troubleshooting mode that turns off some settings and disables most add-ons (extensions and themes).
    ''(If you're using an added theme, switch to the Default theme.)''
    If Firefox is open, you can restart in Firefox Safe Mode from the Help menu by clicking on the '''Restart with Add-ons Disabled...''' menu item:<br>
    [[Image:FirefoxSafeMode|width=520]]<br><br>
    If Firefox is not running, you can start Firefox in Safe Mode as follows:
    * On Windows: Hold the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    * On Mac: Hold the '''option''' key while starting Firefox.
    * On Linux: Quit Firefox, go to your Terminal and run ''firefox -safe-mode'' <br>(you may need to specify the Firefox installation path e.g. /usr/lib/firefox)
    ''Once you get the pop-up, just select "'Start in Safe Mode"''
    [[Image:Safe Mode Fx 15 - Win]]
    '''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one. Please follow the [[Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems]] article to find the cause.
    ''To exit Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
    When you figure out what's causing your issues, please let us know. It might help others with the same problem.
    Thank you.

  • Open PDF from database in a browser and run Javascript within PDF

    What we're trying to accomplish is to query a PDF in the database and open the PDF in the browse. Once opened if a user click on a link to open another PDF, it launchs a URL to Coldfusion, that queries the database and opens the PDF link. This all works but we also want to have the open PDF goto a section or bookmark within the PDF. We currently have JavaScripts within the PDF links that do that but only if the PDF is in the file system. We're using the app.openDoc to get a reference to the opened PDF. But when opening the PDF from the database we pass the control to Coldfusion using app.launchURL or app.getURL. These do not pass back a reference to the opened PDF and the JavaScripts fails.
    I'm looking for different methods or ideas.
    Is there another way to do this, I'm new to acrobat JavaScripting?
    Thanks, Rob

    I tried tapping and holding the attachment icon, it just shows "Open / Bookmark/ Copy"...
    Also i tried opening the attachement first and then tapping on it, it just shows "open in Safari"
    Is there any settings to be done to add the options of Opening in Adobe Reader/or any other Docu Sign app . the exhibition booth systems one would work i think
    Appreciate if someone could help

  • Java to create hyperlinks from database-specified paths

    Hi, I�m using Tomcat 5.5/Java 5.0. and Windows 2000 and Internet Explorer 6
    I have a network path specified in a MySQL database table (e.g. one path might be: \\Rpfs01\Department\Finance\Public\Requisitions 4000+\req 4005 Sigma.xls)
    I�d like to query this database table and display the results in an HTML table with the above path to be used as a hyperlink (i.e. the user clicks on the hyperlink and up pops a 2nd page containing the xls file specified by the path).
    the problem is that web-page is viewing the path as containing escape characters. (i.e. if I click on the link as specified above, I get a file not found error. But if I add extra backslashes directly to the html code, the link works fine [e.g. \\\\Rpfs01\\Department\\Finance\\Public\\Requisitions 4000+\\req 4005 Sigma.xls]).
    Is there a way to have java automatically add the required back-slashes to make this work? I tried replaceAll (i.e. myPathString.replaceAll(�\\�, �\\\\�) ) but this is giving me a PatternSyntaxException.
    Any suggestions on how to fix?
    Thanks!

    Have you tried the URLEncoder class? Something like:
    String urlPath = java.net.URLEncoder.encode(networkPath, "UTF-8");

  • Opening Hyperlinks from PDF in a new browser Window

    We have a web based (ASP.NET) tool to author HTML content. Authors can create/edit HTML content, preview, and save the file as PDF. A 3rd party component- abcpdf is used to convert HTML into PDF. The converted PDF form will be distributed to consumers.
    The PDF typically contains Hyperlinks, text boxes and submit button.
    Clicking the hyper link in PDF should open the HTML in a new browser instance. It should not hijack (overwrite or reuse) existing browser instance that may be active in users computer irrespective of browser setting. Changing the browser setting IE: Internet Option > Advanced > Reuse windows for launching shortcuts is not acceptable by users.
    Please let us know the solution if any

    Hi Sarah ,
    You can right click on the link and choose properties and then in the actions tab you can select the desired action you want .
    You will get a list of various actions specifying how and where do you want to open that link.
    Try this and let us know how it goes.
    Regards
    Sukrit Dhingra

  • Dynamic hyperlink from database table

    hi,
    I have requirement to create left hand menu on a page. Menu label and hyperlink is stored in database. What is the best way to achieve this. Basically when user logs based on his user name query will fetch the labels and hyperlink source. How to achieve this in ADF? I could not find anything out of the box. I have view object which stores that information but i dont know how to convert that information into hyperlinks.

    Assuming the UrlInfo is the name of the View Object that has the attributes label & link, you can use the af:iterator to show the labels & links as follows:
    1) Drag & Drop the UrlInfo into the page as a table. Delete the table in the .JSPX page and keeping the pageDef as it is.
    2) Instead of the af:table, use af:iterator to show the same.
    .JSPX page sample:
    <af:iterator value="#{bindings.UrlInfo.collectionModel}" var="row"
    rows="#{bindings.UrlInfo.rangeSize}" id="t1">
    <af:goLink id="g1" text="#{row.label}"
    destination="#{row.link}"/>
    <af:spacer height="1px" id="sp1"/>
    </af:iterator>
    PageDef sample:
    <executables>
    <variableIterator id="variables"/>
    <iterator Binds="Employees" RangeSize="25"
    DataControl="AppModuleDataControl" id="UrlInfoIterator"/>
    </executables>
    <bindings>
    <tree IterBinding="UrlInfoIterator" id="UrlInfo">
    <nodeDefinition DefName="model.UrlInfoVO">
    <AttrNames>
    <Item Value="label"/>
    <Item Value="link"/>
    </AttrNames>
    </nodeDefinition>
    </tree>
    </bindings>
    Thanks,
    Navaneeth

  • How to Open Hyperlink from helpset files in new Browser .

    Hi,
    I am using JavaHelp2.0_5, and i have created all the help-set files and its working fine with my application. When i click on an hyperlink of my help documents that is rendered in help editorpane it opened on the same editor pane. But now i need to open that hyperlink new web browser. i have done lot of research but no solution found yet. Can anybody help me to solve this problem. its very urgent....................
    Thanks a lot in advance

    I had the same problem and I found this yesterday:
    [http://forum.java.sun.com/thread.jspa?threadID=728061&tstart=30|http://forum.java.sun.com/thread.jspa?threadID=728061&tstart=30]
    It worked for me.

  • Can't open workflow from database using Oracle Workflow Builder

    I get the error "1004: Language is not enabled, please refers to Workflow documentation for steps on enabling a language"
    Any idea

    Kostas,
    You need to ensure that your 'NLS_LANG' setting on the PC on which you are using WF Builder matches the database NLS_LANG
    setting.
    This is set to <LANGUAGE>_<TERRITORY>.<CHARACTER SET>
    e.g. AMERICAN_AMERICA.WE8ISO8859P1

  • How do I adjust settings to open hyperlinks from my phone?

    For awhile now I have not been able to open any links in emails using my iPhone....... I've searched my settings & have kept things updated too.......any suggestions?

    Try sending an email to yourself with a link in it and see what happens when you open it.  Your problem might be to do with how the emails are sent to you

  • Is a Windows registry error responsible for Firefox opening two browser windows whenever I use a hyperlink from a Word file?

    Whenever I use a hyperlink from an MS Word document, Firefox opens two windows instead of one. The first window is the one I need. The second contains a message that the page could not be found and the address bar contains the URL appended with "Firefoxhtml/shell/open/command".
    This problem is similar but NOT identical to one in MozillaZine headed "Windows error opening internet shortcut or local HTML file - Firefox". But none of the solutions in that article work for my problem: I've disabled all extensions but that hasn't helped. I've tried editing file types so that the DDE is removed (I'm not a teccie so have no idea what that means), but after following the instructions to the letter it doesn't seem to remove the DDE. Also I read that removing the DDE is not a good idea for people like me who need to open numerous firefox browser windows at one time. Furthermore, the MozzilaZine article refers only to problems opening a URL link in a MS Outlook email when Firefox is NOT running. My problem concerns the opening of URL links in MS Word when Firefox IS running!
    I've run countless different virus programmes, rootkit checkers etc but they all come up blank. However, I did come across guidance on this website: http://antivirus.about.com/od/windowsbasics/a/shellopen.htm which suggests that something may have altered the shell open command for two registry keys used by Firefox.
    # HKEY_CLASSES_ROOT\htafile\shell\open\command
    # HKEY_CLASSES_ROOT\htfile\shell\open\command
    The default value for each of these should be "%1" %*. But on my user, the default value reads:
    (for htafile) c:\windows\system32\mshta.exe "%1"%*
    (for htfile) c:\programfiles\windowsNT\hypertrm.exe"%1
    What should the value be for these two files?
    Can anyone sort this for me please? Bear in mind I'm not a teccie!

    Do a malware check with a few malware scan programs.<br />
    You need to use all programs because each detects different malware.<br />
    Make sure that you update each program to get the latest version of the database.
    *http://www.malwarebytes.org/mbam.php - Malwarebytes' Anti-Malware
    *http://www.superantispyware.com/ - SuperAntispyware
    *http://www.safer-networking.org/en/index.html - Spybot Search & Destroy
    *http://www.lavasoft.com/products/ad_aware_free.php - Ad-Aware Free
    *http://www.microsoft.com/windows/products/winfamily/defender/default.mspx - Windows Defender: Home Page
    See also "Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked and [[Searches are redirected to another site]]

  • Hyperlinks from Numbers open incorrectly

    In Numbers' document I define a hyperlink to a csv file. That link opens in Safari (my default browser) as a text web page. So I have to save it as a file, then go and open that file manually in Numbers (and still later manually delete that file to avoid the disk clutter) . This is unacceptable, Firefox for example gives me an option of directly opening that link in Numbers (saves it in temp directory, and tells Numbers to open it).
    So how do i get the Safari to do that?
    Here is the link generated by Numbers:
    http://download.finance.yahoo.com/d/quotes.csv?s=FNMIX,FCNTX,FNORX,FIREX,FCYIX,F BALX,FSLBX,FIEUX,MINDX,&f=sl1d1t1c1ohgv&e=.csv
    The idea here is this. My Numbers' document contains some stock symbols and the hyperlink to Yahoo to download a csv file with the latest prices. The idea was, click on the hyperlink which will open in a browser which will in turn download the file and automatically open it in Numbers so I can paste the most recent numbers back into my original worksheet. This is how Firefox works but not Safari.

    ok
    >
    I have a table in database that has files uploaded from front-end like XLS, DOC, PDF,TXt etc.
    >
    in my humble opinion it's not good solution
    why in table? why not use bfile?
    if you want select blob from your table you must always download it to some directory on server in sql/plsql way
    or if you use, as example, c#client then you can download it as byte stream to client side
    if you use bfile then your file stored on some server directory and you can work with by ftp, http as for ebs sample
    so in this case you can't have problem with attachment, you can use url+filename in your report
    --add
    >
    Iam looking for a solution where I can show attachments in BIP report from Database directly.
    >
    i not sure as it looks like
    one big report with embedded many other files?
    or how?
    Edited by: AlexAnd on Sep 19, 2012 11:21 PM

Maybe you are looking for

  • How to access images in my localmachine without deploying them

    Hi I am trying to access images in my localmachine from an ADF Application (11.1.2.4). If the source of the images is an url address it works fine. However, if they are in my local machine I don't know how to make it work. I don't want to deploy them

  • How to use the calendar to add events and reminders?

    Since updating to the most current software, I am unable to add events or reminders to my iphone calendar.  Does anyone know how to use it now?  I really miss my calendar! Thanks in advance

  • Using video created on iDVD on video projector

    I burned a video in iDVD that I had created in Final Cut Express. It played on my computer and on the TV. However, when I went to show it on a video projector there was no sound. SOmeone who was a sound engineer checked the set up and couldn't unders

  • Z10 SMS and Email Issue

    After I upgraded to 10.2, my phone kept telling me that my SMS is full and that I can't receive messages. I read in one of the discussions that this is an ongoing issue. My other problem is this: Google mail is being rejected by the phone. It keeps t

  • Do favorites in the Favorites pane persist in different versions of Help?

    A simple question here, but I couldn't find it in Help. When users use a new version of a Help file and click the Favorites tab, will their favorites from the previous version of Help display? Or will they have to re-add those topics to the Favorites