Create Downloadlink with custom blob to start other Application

Greetings!
We are using Apex 4.2.1 and another system. For this other system you can use simple files with an id, that start it and open a specific page, same way like e.g. automatically opening ms-word, when downloading a .doc file.
So we would like to have a column in an APEX-report, that has this download functionality. I have read throu How to convert varchar to BLOB in oracle 10g? and took a look at this APEX tutorial and a Blog from Eddie Awad.
But still I cant get it to work.
For testing purposes I have created a table with a blob column, and a procedure, like the one in the APEX tutorial.
When I call the procedure like in that example#OWNER#.download_my_file?p_file=#ID#I get the error message: The requested URL /pls/prod/(our owner).download_my_file?p_file was not found on this server. Maybe it does not work with the server setup we are running, or needs some adjustments?
Also as mentioned by Eddie Awad, that APEX supports BLOB columns in reports, doesnt work for me. The column output (both IR and classic) is "unsupported Datatype".
Can you help me with any advice in this matter?
Thanks very much in advance,
best regards,
tobi

Hi PARS,
thanks for the link.
I followed the example, looks like a nice approach, but I cant get it to work.
I created the procedure, the non-public the Page-0 process(On Load:Before Header), the app-item, and a link with the url as described in that example. But when linking, I get the error ORA-01403: No Data found. The process is not executed.
I think I can solve it with the APEX-buildin BLOB download feature in an IR - i have firuged it our now. But using a procedure would still be a much better solution.
edit:
Hi Mike,
thanks for your hints. I have included a propper filename and mimetype in the table. However, if I use a table to open the blob, that would have to be filled beforehand and joined to the other report. So using a procedure on another page would still be better. I will try later again to get that to work.
So far, thanks for your help,
tobi
Edited by: TobiP on 05.06.2013 07:31

Similar Messages

  • Error when creating MD with a blob on detail

    When I try to make a MD-form, where the base-table for the detail contains a column with a BLOB-datatype. I get following error when I finish creation of the form.
    Error: Exception from wwv_generate_component.build_procedure (WWV-01821)
    Error creating module: ORA-01403: no data found (WWV-16042)
    When I use the table with the BLOB as master or in a form, it works fine.
    Has anyone else experienced this problem? Or knows a way to fix or work around it. Thanks in advance.
    Portal version: 3.0.6.6.5
    null

    I had the same problem too.
    anyone found the solution for this problem?
    thanks
    Bruno Rabino
    When I try to make a MD-form, where the base-table for the detail contains a column with a BLOB-datatype. I get following error when I finish creation of the form.
    Error: Exception from wwv_generate_component.build_procedure (WWV-01821)
    Error creating module: ORA-01403: no data found (WWV-16042)
    When I use the table with the BLOB as master or in a form, it works fine.
    Has anyone else experienced this problem? Or knows a way to fix or work around it. Thanks in advance.
    Portal version: 3.0.6.6.5
    null

  • Profit Center Disabled while Creating Material with Custom Trnx

    Hi all,
    I am trying to extend material to a another Plant with Custom trnx to create material.
    I am able to create / extend material for some plants. But, for few plants, I am getting error to input data for 'Profit' Center' field in 'Sales:General / Plant' view' as 'MARC-PRCTR' is not ready for input. The field is in disable (grayed out) mode. But, for other materials, I am able to extend the material successfully.
    The Profit center value is same which used for previous materials, extended successfully. Except the target Plant , all the details are same.
    Coudl some one can help on this.
    Regards
    SP

    this is most probably because of missing customizing of field selection in OMS9 transaction

  • Create Footprint with custom pad has solder mask issue

    Ultiboard 12 (12.0.653)
    When I create a new footprint with normal pads, everything works fine. When I add a custom pad to the footprint or make the footprint with all custom pads, the solder mask does not work correctly.
    The attached photo of the Footprint edit mode pad 1.jpg shows 16 standard pads along with three custom pads. The solder mask layer is turned on along with the Copper top layer. All pins should be the same light color. The custom pads are purple. (When you first create the footprint they are green instead of purple).
    When a part is placed on the board there is a solder mask shown for all pins like pad2.jpg. If you turn off the solder mask layer the normal pins appear green but the custom pins disappear as shown in pad 3.jpg.
    To get around this problem I edited the part in the data base by turning off the soldermask check box for each custom pad pin, then manually created a mask on the solder mask layer for each custom pin.
    These custom pads are new pads just created and old custom pads known to work in previous ultiboard versions.
    I didn't see any similar messages in the forum. Is this a known issue?
    Michael
    Attachments:
    Pad 1.jpg ‏53 KB
    pad 2.jpg ‏39 KB
    Pad 3.jpg ‏44 KB

    Hi Michael,
    I was able to replicate this problem, Ultiboard doesn't want to place solder mask on the bottom layer and on top solder mask, and you have to play around with the pad settings to turn on the solder mask.  I will let the developers know about this problem. To work around this issue, you can do following:
    1.  Make the solder top or bottom the active layer in the Design Toolbox and then select Place>>Graphics, manually draw the soldermask over your custom pad.
    2.  If your custom pad is an odd shape and you don't want to redraw it, you can create a component with only one custom pad.  Save the component and then place the component on the work area by itself. Next select File>>Export>>DXF, export just the copper top layer.  Now, create your component and before exiting Footprint Edit mode, select File>>Import>>DXF, merge the DXF you generated to the solder mask top and bottom. When you imported the DXF file, there may be several independent objects and you can’t move them together.  In this case, create a window around the DXF data you just imported and then select Edit>>Group Selection to group the DXF data as one object now you can move everything at the same time.  
    Tien P.
    National Instruments

  • Wf-XML with Guided Procedures to start other workflows e.g BusinessWorkflow

    HI!
    Is it possible with Guided Procedures to create a Wf-XML file and send it to an other Workflow engine, to start a process with the parameter defined in the XML file ? This would be required to start an webflow in R/3 Business Workflow. This Webflow accepts 3 different kinds of Wf-XML standards or SOAP. But i cannot find this in GP. Are there callable object that are able to create this XML files and sent it over HTTP or are there any work-around? Thanks a lot.
    Regards,
    Dominik Vogelbacher

    Hi,
    I hope this link will use for SAP Workflows in defferent systems but nothing about connecting Workflow with GP.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/60559952-ff62-2910-49a5-b4fb8e94f167
    Thanks and Regards,
    Prabhakar Dharmala

  • Can't create LOM with Custom Marker

    Is there a way to create a List of Markers with a custom marker? For example, I created a marker named Warning and another one named Caution. I want to create a LOM for each of these. But when I try to add a LOM in the book, those markers are not options, only the system markers.
    I'm using FM 9.
    Thanks,
    Karen

    Karen,
    I use FrameMaker 9. The List of Custom Markers AND the Index of Custom Markers both work for me. The only difference is that I am using structured FrameMaker, but it would think it should work in unstructured FM.
    Maybe others might know what else you need to do to make it work.
    One guess is that your new marker types need to be imported into all the files in the book, possibly the book itself. I do not know how they are stored. Maybe they are variable definitions or maybe document properties, but I am just guessing.
    Van

  • Create Folder with custom FolderClass (string)

    Hi, 
    When creating a new folder, how does one set the FolderClass (IPF.XXXXX) string inside Outlook?
    Similar to following using EWS
    var f = new Folder(_svc);
    f.FolderClass = "IPF.Note.ITQ.Custom";
    The closest to FolderClass string I could find is, DefaultMessageClass property, but its read-only.

    Try to set the PR_CONTAINER_CLASS property (DASL name http://schemas.microsoft.com/mapi/proptag/0x3613001F) using MAPIFolder.PropertyAccessor.SetProperty.
    Dmitry Streblechenko (MVP)
    http://www.dimastr.com/redemption
    Redemption - what the Outlook
    Object Model should have been
    Version 5.5 is now available!

  • Need help with customizing standard reports in Fusion Applications

    Hi,
       I have requirement to customize 'Asset Transfer Report' in Oracle Fusion.
       This report is a BI Publisher report and Data Model lies in folder '/Share Folders/Financials/Fixed Assets/Tracking/Data Model' and report lies in folder '/Share Folders/Financials/Fixed Assets/Tracking'.
        Steps which i have completed
       I am trying to customize this report, i followed the below steps
    Step 1:- 
       Copied Data Model into '/Shared Folder/Custom/Financials/Fixed Assets/Tracking/Data Model' and report into '/Shared Folder/Custom/Financials/Fixed Assets/Tracking/'
    Step 2:-
       Opened task 'Manage Custom Enterprise Scheduler Jobs for Ledger and Related Applications' and created a job with the following details.
    Job Definition
    Field Name
    Value
    Display Name
    XX Asset Transfers Report
    Name
    XX_ASSET_TRANSFERS_REPORT
    Path
    /FA/
    Application
    Financials Common Module
    Description
    XX Asset Transfers Report
    Job Application Name
    FinancialsEss
    Enable Submission from Enterprise Manager
    Job Type
    BIPJobType
    Class Name
    oracle.xdo.service.client.scheduler.BIPJobExecutable
    Default Output Format
    Report ID
    /Custom/Financials/Fixed Assets/Tracking/Asset Transfers Report.xdo
    Priority
    Allow Multiple Pending Submissions
    False
    Enable Submission From Scheduled Processes
    Yes
    User Properties
    Field Name
    Value
    PDF
    .*\.pdf$
    jobDefinitionName
    FAS430
    XML
    .*\.xml$
    jobPackageName
    /oracle/apps/ess/financials/assets/tracking/transfers
    EXT_PortletContainerWebModule
    Ledger
    Since the standard report has the below parameter i have created same set of parameters for the Job which i have created, but i do not know how to assign the list of values to these parameters
    Parameter Prompt
    Data Type
    Page Element
    Default Value
    Required
    Book
    String
    Text box
    Yes
    Currency
    String
    Text box
    Yes
    Period
    String
    Text box
    Yes
    Batch
    String
    Text box
    No
    Step 4:-
       Now when i navigate to schedule process, when i click Schedule New Process Button in the list of values i can see the job which i created. When i submit the job is completing with error.
       When i open the xml file, file is blank and no data is available in the file.
       When i open the log file i see the below error
    dummy file is deleted
    ================ BIPJobExecutable Execution Started ============
    OutputFile : /u01/APPLTOP/instance/ess/rfd/67068/out/67068.xml
    Request ID: 67068 ClassLoader is weblogic.utils.classloaders.GenericClassLoader@1c85c3a finder: weblogic.utils.classloaders.CodeGenClassFinder@1c85cb3 annotation: FinancialsEssApp#V2.0@
    RequestId:67068
    ReportID : /Custom/Financials/Fixed Assets/Tracking/FLY FA Transfers Report.xdo
    Process : BIPDocGen
    The bipJobID : 6252
    bipJobID is updated to ESSRuntimeService
    BIP_STATUS_URL is added to ESSRuntimeService
    ================ BIPJobExecutable is running in async mode. ============
    ================ Please check the ess status for more detail info. ============
        Am i doing anything wrong while creating the job?
    Note :- I created another test data model and report with 'Select SYSDATE from dual' and am able to see the report completing successfully.
    Please kindly help, i am failing to meet my deadlines.
    Regards,
    Prasad R

    Hello Jani Rautiainen,
        Thanks a lot for replying my question.
        This is the first time i am working with the BI Publisher reports and fusion applications.
        My requirement is to add few columns to the standard report with out loosing the functionality.
        I was not aware that there is two ways of doing this, i was always copying data model and report to a new folder and trying to create a new job for the report.
        As mentioned in the document 7.2.1.4 Using the Customize Feature    , i clicked on the more button on my report but i do not see the customize option. Do i need to have any specific role for this to appear in the menu? Please kindly let me know.
        Also i see below limitations while customizing report
    Limitations
    Following are limitations of the Customize report option:
    The Customize option is only available through direct access to the BI Publisher server using the /xmlpserver URL (for example:http://hostname.com:7001/xmlpserver). The Customize option is not available through the /analytics URL used to access Oracle Business Intelligence Enterprise Edition.
    The Customize option is available only for reports. The Customize option is not available for data models, style templates, or sub templates.To customize data models, style templates or sub templates and insulate them from potential changes from patching: Make a copy of the data model, style template, or sub-template and either rename it or place it in a custom folder. Ensure that you update any reports to point to the customized data model, style template, or sub template.
        My requirement is to add few additional columns which needs Data Model to be modified, Can i copy the data model to the custom folder and do my modifications and point this data model in the report(as mentioned in the point 2 in the limitations)? In that case, will the original report submission works?
    Regards,
    Prasad R

  • Flex starts other applications???

    Hi
    I'm wondering... Can Flex AIR or Flex Web App starts some system commands or other .exe applcation? My idea is to start FLEX AIR app as a menu for my shell-executive applications without php as a serwer side. In PHP there are some functions like system() or exec(). Eventually can enybody give me some example?
    Regards

    The sandbox prevents this, but you might be able to do it with Merapi though this may be AIR only:
    http://www.merapiproject.net/
    If this post answers your question or helps, please mark it as such.

  • I am having trouble with custom color settings. It randomly reverts back to North American General Purpose without warning. This is a big problem for me. My customers (professional photographers) expect consist colors in my printing. Help!

    I am having trouble with custom color settings. It randomly reverts back to North American General Purpose without warning. This is a big problem for me. My customers (professional photographers) expect consist colors in my printing. Help!

    Do you even know how to nuke and re-set Photoshop's preferences, colorplak?  Your last post seems to reveal that you don't understand what I'm talking about. Here's a link you can click on:
    Preference file functions, names, locations | Photoshop CC
    To re-create the preferences files for Photoshop, start the application while holding down Ctrl+Alt+Shift (Windows) or Command+Option+Shift (Mac OS). Then, click Yes to the message, "Delete the Adobe Photoshop Settings file?"
    Note: If this process doesn't work for you while you're using a wireless (bluetooth) keyboard, attach a wired keyboard and retry.
    Important: If you re-create the preferences by deleting the Adobe Photoshop CC Settings file, make sure that you only delete that file. If you delete the entire settings folder, you also delete any unsaved actions or presets.
    Reinstalling Photoshop does not remove the preferences file. Before reinstalling Photoshop, re-create your preferences.
    Note for Photoshop 14.1 and later: If you use Generator and reset your Preferences, Generator is disabled. Choose Preferences > Plug-ins to turn it back on.
    Video: Julieanne Kost created a video that takes you through two ways of resetting your Photoshop preferences. The manual preference file removal method is between 0:00 - 5:05. The keyboard shortcut method is between 5:05 - 8:18. The video is located here.
    Mac OS
    Important: Apple made the user library folder hidden by default with the release of Mac OS X 10.7. If you require access to files in the hidden library folder to perform Adobe-related troubleshooting, see How to access hidden user library files.

  • Discoverer Viewer/Plus does not work with Custom EUL owned by APPS user

    I am facing a unique issue with one of my customers. They have a custom EUL named XX_EUL_US and this does not allow connecting through discoverer viewer or discoverer plus.
    I have worked with custom EULS before at other customers and this was never the case. I am being told that this issue is happening as the EUL owner is APPS instead of some other user. Is this the case? Can discoverer viewer not be used with EULs owned by apps user?
    Please not that the Default EUL in ICX profiles is set to this EUL and no other EUL profiles are set.
    Appreciate any thoughts on this.

    Hi,
    I am not sure what you mean when you say you have a "custom EUL named XX_EUL_US". The EUL table should be created in a schema named XX_EUL_US. This will then be the EUL owner. You will then need to connect to Discoverer Administrator as the EUL owner and grant privileges to Apps users and/or responsibilities.
    The user should then be able to connect to Discoverer Plus/View using their apps username, responsibility and password.
    To be able to connect directly from an apps menu you need to have the ICX parameters set correctly. The ICX: Discoverer Default End User Layer Schema Prefix should be set to XX_EUL (without the _US). The ICX: Discoverer End User Layer Language Override should be set to US or not set at all.
    Rod West

  • Problem when creating Database with Database, OS and hardware Configuraiton

    Problem when creating Database:
    There are two problems, which I faced during creation of database. When creating database with Oracle Database Assistant. One when creating pre tuned database from CD. And second when creating customized database giving options your self.
    Problem # 1:
    When creating pre tuned database from CD. The process of creating Database is 90 % complete and is at step # 3 Initializing Database. It gives error ORA-03113: end-of-file on communication channel.
    I searched following oracle help for this problem.
    ORA-03113: end-of-file on communication channel
    Cause: An unexpected end-of-file was processed on the communication channel. The problem could not be handled by the Net8, two-task software. This message could occur if the shadow two-task process associated with a Net8 connect has terminated abnormally, or if there is a physical failure of the interprocess communication vehicle, that is, the network or server machine went down.
    Action: If this message occurs during a connection attempt, check the setup files for the appropriate Net8 driver and confirm Net8 software is correctly installed on the server. If the message occurs after a connection is well established, and the error is not due to a physical failure, check if a trace file was generated on the server at failure time. Existence of a trace file may suggest an Oracle internal error that requires the assistance of customer support.
    Conclusion:
    What I conceive from this problem and the help available is that, I have to install NET8 again. But I am not sure about the solution, please tell me whether I am rite or not.
    Problem # 2:
    When creating database with custom option. The process of creating Database is 2 % complete and is at step # 2 Creating Database Files. It gives error ORA-12571: TNS:packet writer failure.
    I searched following oracle help for this problem.
    ORA-12571: TNS:packet writer failure
    Cause: An error occurred during a data send.
    Action: Not normally visible to the user. For further details, turn on tracing and re-execute the operation. If error persists, contact Worldwide Customer Support.
    Conclusion:
    What I conceive from this problem and the help available is that, I have to install NET8 again. But I am not sure about the solution, please tell me whether I am rite or not.
    Software & Hardware Configuration are as follow:
    Software:
    Database
    Oracle 8.1.7.0.0 (Oracle8i)
    Operating System
    Microsoft Windows 2000
    5.00.2195
    Service Pack 2
    Hardware:
    x86 Family 6 Model 8 stepping
    10
    AT/AT COMPITABLE
    260,400 KB RAM

    user563502 wrote:
    I am working on Solaris 8. What is Alert_SID.log? where can I find it?
    ThanksFor the responsible of the upgrade of Oracle database, not even know what Alert log is?
    to be honest with you, this is not your work.

  • Create tablespace with extend, etc.

    Hi guys,
    I am typing the following commands bellow: (ORACLE_HOME and ORACLE_SID is set up correctly).
    #sqlplus “sys/<sys-password> as sysdba” ==> worked very well, of course !
    SQL> create tablespace imm datafile ‘$ORACLE_HOME/oradata/$ORACLE_SID/imm01.dbf’ size 100M autoextend on next 100M;
    ERROR at line 1:
    ORA-01034: ORACLE not available
    I have the below scripts set up correctly. Any one know how can I solve this problem ?!
    Any help is appreciate !
    # dbstart
    SQL*Plus: Release 9.2.0.1.0 - Production on Fri Apr 7 16:46:24 2006
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    SQL> Connected to an idle instance.
    SQL> ORACLE instance started.
    Total System Global Area 672223892 bytes
    Fixed Size 455316 bytes
    Variable Size 268435456 bytes
    Database Buffers 402653184 bytes
    Redo Buffers 679936 bytes
    Database mounted.
    Database opened.
    SQL> Disconnected from Oracle9i Release 9.2.0.1.0 - Production
    JServer Release 9.2.0.1.0 - Production
    Database "immdb" warm started.
    # lsnrctl start
    LSNRCTL for Solaris: Version 9.2.0.1.0 - Production on 07-APR-2006 16:46:46
    Copyright (c) 1991, 2002, Oracle Corporation. All rights reserved.
    Starting /apps/oracle/OraHome//bin/tnslsnr: please wait...
    TNSLSNR for Solaris: Version 9.2.0.1.0 - Production
    System parameter file is /apps/oracle/OraHome/network/admin/listener.ora
    Log messages written to /apps/oracle/OraHome/network/log/listener.log
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC)))
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=gama2)(PORT=1521)))
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Solaris: Version 9.2.0.1.0 - Production
    Start Date 07-APR-2006 16:46:46
    Uptime 0 days 0 hr. 0 min. 0 sec
    Trace Level off
    Security OFF
    SNMP OFF
    Listener Parameter File /apps/oracle/OraHome/network/admin/listener.ora
    Listener Log File /apps/oracle/OraHome/network/log/listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=gama2)(PORT=1521)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "immdb.gama2" has 1 instance(s).
    Instance "immdb", status UNKNOWN, has 1 handler(s) for this service...
    Service "oradb.gama2" has 1 instance(s).
    Instance "oradb", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    Cheers,
    Murilo

    Can i perhaps add Operating system environment variable to DATAFILE value somehow? I don't want to create tablespace with full file path, starting from drive name and ending with file name.You can use variables in dbca when you create a database (I already can hear you say you don't want that)
    You can also use Oracle Managed Files for the entire database ( I already can hear you say you don't want that)
    You can not use relative paths, which begs the question why you don't want to use an absolute path, assuming you seldomly create a tablespace.
    I don't want to see posts like yours with unjustified 'complaints', yet I do respond to it.
    Sybrand Bakker
    Senior Oracle DBA

  • Using Final Cut Pro, can we create a subtitle which can be used in other applications?

    Can a subtitle file be created using FCP and later use in other application?

    Ian R. Brown wrote:
    You can create a title and export it as a video file to be used in any editing app but you won't be able to alter the words or layout once it has been exported.
    Export as ProRes 4444 if the title has alpha channel otherwise you'll lose the transparency.
    Andy

  • Cann't start Java Application

    Hi, my main class called TemplateUtil. I have created TemplateUtil.jar and try to start my application:
    javaw.exe -cp W:\eclipse\TemplateUtil\bin\de\qv\ec\servlets\util\TemplateUtil.jar;D:\jblibs\classes12.zip -Dfile.encoding=ISO8859_1 de.qv.ec.servlets.util.TemplateUtil.main
    Error: could not find main class.
    Why?

    That's what I was wondering.
    de.qv.ec.servlets.util.TemplateUtil.main
    Isn't this actually saying there is a subclass called "main" inside TemplateUtil.
    Shouldn't it just be:
    de.qv.ec.servlets.util.TemplateUtil ??
    I don't want to confuse the issue, but if someone could explain where de.qv.ec.servlets.util.TemplateUtil.main is valid let me know.

Maybe you are looking for

  • Video Cards in future iMACs

    Hi! I want to buy iMAC 20", but! It's video card really s*cks! (( So, I must set aside the purchase to October'07, until Leopard will be released officially..... Will future iMACs has videocards like 7900GS or 8600GTS and OS - Leopard? I really want

  • Sequences From FCE saved as .mov to FCPX

    I messed up and did not use the same sequence settings when I set up in my FCE project. As a result when I try to join the four sequences the first sequence is sized differently then the other three. The first sequence is setup in Apple Intermediate

  • Volume bar is frozen

    from time to time the volume bar and volume controls on my OSX LION mid2010 13MBP freezes up - Any idea why this is???

  • How can we add components to JPanel so that they can be resizeable

    Is it possible to add components to JPanel so that we can resize them or drag them.

  • Netflix flickers in full screen

    The problem is on a macbook and macbookpro.Works perfectly untill i put it into full screen where it flickers very fast and some times goes black and stays black. Its better or worse depending on browser but i like ff9. I re-installed the silverlight