How to display blob as text in APEX

hi All,
I am developing an apex application using the apex cloud (apex.oraclecorp.com). I am using the DB link to show the data on APEX UI. I have a blob data which is stored in the remote DB, and I want to display the BLOB data as text on a popup or a new page or a download link.
I tried using display only item but APEX throws an error saying that remote DB is not supported. Also, It would be great if I can just show a download link on the UI for the BLOB data, again when I try to select the format as BLOB in the column attributes, When I give the table@dblink as BLOB table I get an error saying that "table@DBLINK not found".
Is there any way to display the BLOB data as text or download it which is present in my local DB?
Please help me out.
Thanks

2f75c9f8-5675-4cdb-9224-e5c4b5f19bd1 wrote:
hi All,
I am developing an apex application using the apex cloud (apex.oraclecorp.com). I am using the DB link to show the data on APEX UI. I have a blob data which is stored in the remote DB, and I want to display the BLOB data as text on a popup or a new page or a download link.
I tried using display only item but APEX throws an error saying that remote DB is not supported. Also, It would be great if I can just show a download link on the UI for the BLOB data, again when I try to select the format as BLOB in the column attributes, When I give the table@dblink as BLOB table I get an error saying that "table@DBLINK not found".
Is there any way to display the BLOB data as text or download it which is present in my local DB?
I don't think your question is clear enough. can you be more specific about what you are trying to achieve and also provide proper information about your apex & database version.
What you mean by displaying blob as text?? What is stored in your blob columns?
read 17.10 About BLOB Support in Forms and Reports

Similar Messages

  • How can i remove JUNK TEXT from APEX

    Hi ,
    In our project Apex has integrated with oracle apps,every time we will open apex front end from oracle application(EBS).so we have two kinds of instances 1) development and other is production
    every time we export the apex application from developement instance and import in production instance . after imported into production * we got JUNK TEXT like "TEXT:TEXT" in apex front end* so how can i remove JUNK TEXT from APEX
    Apex 4.0.0.00.46 version
    please somebody help on this issue
    Help would be appreciated
    Regards
    Narender B

    Hi,
    It is not clear what you are seeing here. Also we don't know how you have integrated Apex with EBS. My guess is you have linked an Apex page to the EBS menu and when you click on the menu link you see the additional text on the Apex page.
    You need to give details of how you have integrated Apex with EBS and where and when this additional text is being displayed for me to give you any help on this issue.
    Rod West

  • How to Display  'purchase order text' in MM03 using report program

    Hi Friends,
    Can anybody suggest me how to display 'purchase order text' in MM03 using report program.
    'Purchase order text' tab displays purchase long text of particular material .
    I coded as:
          SET PARAMETER ID 'MXX' FIELD 'E'.
          SET PARAMETER ID 'MAT' FIELD k_final-matnr.
          SET PARAMETER ID 'WRK' FIELD k_final-werks.
          CALL TRANSACTION 'MM03' AND SKIP FIRST SCREEN.
    It displays Purchasing tab other than Purchase Order Text tab of MM03.
    Please suggest me how can i solve this.
    Is there any parameter id to set values for Purchase Order text tab

    >
    Madhu Mano Chitra wrote:
    > I want how to navigate to MM03 'Purchase Order text'  tab/ view using ABAP code.
    > could any suggest me
    You can call a transaction and pass it a BDC table that tells it where you want it to go.  You have to work out for yourself what to put into the BDC table.  The code below works for tcode CATSSHOW.
    DATA: bdcdata_wa  TYPE bdcdata,
          bdcdata_tab TYPE TABLE OF bdcdata.
    DATA opt TYPE ctu_params.
       CLEAR bdcdata_wa.
        bdcdata_wa-program  = 'CATSSHOW'.
        bdcdata_wa-dynpro   = '1000'.
        bdcdata_wa-dynbegin = 'X'.
        APPEND bdcdata_wa TO bdcdata_tab.
        CLEAR bdcdata_wa.
        bdcdata_wa-fnam = 'SO_STATU-LOW'.
        bdcdata_wa-fval = '20'.
        APPEND bdcdata_wa TO bdcdata_tab.
        CLEAR bdcdata_wa.
        bdcdata_wa-fnam = 'ANDZEIT'.
        bdcdata_wa-fval = SPACE.
        APPEND bdcdata_wa TO bdcdata_tab.
        CLEAR bdcdata_wa.
        bdcdata_wa-fnam = 'PAST'.
        bdcdata_wa-fval = 'X'.
        APPEND bdcdata_wa TO bdcdata_tab.
        IF p_selscr = SPACE.
           CLEAR bdcdata_wa.
           bdcdata_wa-fnam = 'BDC_OKCODE'.
           bdcdata_wa-fval = '=ONLI'.
           APPEND bdcdata_wa TO bdcdata_tab.
        ENDIF.
        opt-dismode = 'E'.
        opt-defsize = 'X'.
    CALL TRANSACTION 'CAPP' USING bdcdata_tab OPTIONS FROM opt.

  • Smartforms,How to display different standard Text in a Text element.

    In smartform,if I want to according to the different conditions,display one of the serveral different standard Text objects which all  maintained in SO10 in a same text element,how to do it?
    if i put them in serval text elements, each condition only display the corresponding text element,but the text content can not display in the same position.
    Is there anyone can tell me?
    thanks.

    use Alternative to control it no problem
    for example you want to display the different SO10 to same position TEMPLATE's row 1 col2
    TEMPLATE1
    Alternative case1
    YES
    INCLUDE TEXT1(display SO10) [set output option line1 column2]
    NO
    Alternative case2
    YES
    INCLUDE TEXT2(display SO10) [set output option line1 column2]
    NO
    Alternative case3
    every case your SO10's text is always display at line2 column2
    just try to test it ,you can know

  • How to display HTML formatted text in the field with Item Style: Raw Text

    How can I display HTML formatted text in the field with Item Style: Raw Text.
    Currently the Item Style is Raw Text, but the text is being displayed along with HTML tags without formatting.
    Regards

    Hi,
    Use Item Style formattedText.
    Regards,
    Gyan

  • How to create a moving text in APEX forms?

    Hi
    Can anyone help me with the procedure and the code for creating a moving text in APEX.
    Thanks in advance.

    marquee was introduced with IE (Internet Explorer) and certain versions of Firefox, Opera, Chrome and Safari web browsers support it.
    tell me how do you want the text to work. the easiest way will be to create an HTML region and put the marquee tag code in it
    if you fear about the compatibility of marquee with browsers or have a browser version with which marquee does not work then use JQuery
    check the following
    http://plugins.jquery.com/marquee/
    let me know if this answers your query in the current thread
    Regards,
    Vishal
    Oracle APEX 4.2 Reporting | Packt Publishing
    Vishal's blog

  • How to display BLOB image column with WEB application, JSF, ADF BC

    I looking for a way to display the content from a blob column on a WEB application, JSF, ADF BC
    The blob column contains a JPEG image.
    About the application
    The model contains a viewobject where the blob column attribute (photoimg) type is of type : BlobDomain
    Now I have to create the view to display the content of photoimg inside a JSF-JSP page.
    Any advice ?

    Search is your friend
    How to display the content of a BLOB column in a ADF/BC pages ?
    John

  • BB Bold 9000 How to display Arabic SMS text

    I'm new to these forums so sorry if I'm posting this in the wrong spot .. please redirect me if so.
    Recently bought BB bold 9000 from Vodafone Aust. Need to know how to display msgs or emails received in ARABIC text .. any help would be appreciated.
    Solved!
    Go to Solution.

    Hi,
    Download the OS for the carrier and use Application loader inside the Desktop manager software (that came with the Box)  and select Arabic with the language options (if that is an option).
    Alternatively you could install the OS from an Arabic carrier (involves deleting the vendor.xml file), but its not recommended....
    This is the instructions from my website (the short version):
     Get an OS from here:http://na.blackberry.com/eng/support/downloads/download_sites.jsp
    The Operating system software downloaded from the Blackberry website contains all the files required to reload the O/S.
    The Desktop Manager software is NOT required!
    Once downloaded and installed, follow these directions:
    Download the OS file from your carrier website to the PC then install it to the PC by running (double clicking) the file you downloaded.
    Go to c:\program files\common files\research in motion\apploader and delete the file named "vendor.xml."
    Plug in BB and double click on "Loader.exe." It's located in the same place as the above vendor.xml file.
    The process takes about 45 minutes to an hour depending on how much data you have to backup and restore during the process. Once it's done loading the new OS it will reboot (it may do this twice during the entire process.) You will see a white screen with an hourglass for up to 20 minutes at a time while the DM says "waiting for initialization." If, for some reason, you end up with a white screen with small icons and the number 507, simply connect to the PC again and run Loader.exe again and it should load the OS to the device.
    Checked out my Blackberry FAQ's and Links to Needed Articles here
    http://darkeen.homelinux.com/index.php/Blackberryfaq

  • How to display multple line text in a single cell in ALV?

    Hi all,
    I have 'Material Detailed Description' field in my ALV report, and it's taken from a multiple line text table. Is there any way so I can get this whole text to fit in a single ALV cell (not in single, but multiple line, as in original text data)?
    Thank you.

    Hi
    If you want you can display this long text field in ALV but the allignment of the ALV not looks good. so generally we won't display them in the output,
    instead, in the interactive list write the code to call that MM03 transaction, and the user can see that text in the transaction when ever double clicked on that MATERIAL field.
    Reward points for useful Answers
    Regards
    Anji

  • How to display the dynamic text in the selection screen

    Hi All,
    I want to display the dynamic text in the selection screen .... ( I searched in forums , didnt get the any answer fot this sort of qustion ).....
    EX: If i have the date of today 31st  it has to show message like " today date is 31 like some thing "  when i execute the report .
    Could any one face this sort of requirment, Please let me know.
    Thanks in advance.
    Reagrds,
    Bharani

    Where would you like this dynamic text being displayed? As an "message" or in some parameter field?
    If first
    parameters date type d.
    data: text type string.
    at selection-screen.
       concatenate 'Today is' date into text.
       message text type 'I'.
    If second
    parameters pa_text type c length 50.
    at selection-screen on date.
      if date is not initial.
        concatenate 'Today is' date into  pa_text.
      enidf.
    at selection-screen output.
       "show it as read only
       loop at screen.
        if screen-name = 'PA_TEXT'.
               screen-input = abap_false.
              modify screen.
        endif.
       endloop.
    Regards
    Marcin

  • How to display regular expression text

    I cannot seem to get the text of a regular expression to display in a text input.  The regex is defined as:
    Bindable]  
    private var myRegExp:RegExp=/^.*(?=.{10,32})(?=.*\d)(?=.*[a-z])(?=.*[A-Z])(?=.*[.!@#$%*^&()+]).*$/;
    In my form, I want to display the actual expression.  The code I am using to do so is:
    <mx:FormItem label="regExpLabel">  
         <mx:TextInput id="regExpTextInput" text="{myRegExp}" />  
    </mx:FormItem>
    When I run the app, the data displayed in the regExpTextInput filed is /^.*(?=.{10,32})(?=.*\d)(?=.*[a-z])(?=.*[A-Z])(?=.*[.!@#$%*^&()+]).*$/
    What I want to display is only the regular expression, not including the slashes required by Flex at the beginning and end of the string.  The data I want displayed is ^.*(?=.{10,32})(?=.*\d)(?=.*[a-z])(?=.*[A-Z])(?=.*[.!@#$%*^&()+]).*$
    I tried changing my variable type to String and leaving out the beginning and ending slashes, but that did not work either.  Any thoughts?
    Thanks!

    Hi, I am unable to understand your requirement properly but here is one demo of the using regular expression. In this application I am allowing only those character to be enter in the Textbox which are taken as the valid filename. Hope this will help you.
    I think In your requirement first of all you have to take it as string type. And the second is that use \\ before every special character if you are writing it in the script. As I have done. Pls let me know if you
    Have any issue with the code below.
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
    <mx:Script>
          <![CDATA[
          [Bindable]
          private var regExpForFile : String
          = "0-9A-Za-z\\&\\`\\~\\!\\@\\#\\$\\%\\^\\(\\)\\-\\_\\=\\+\\]\\}\[\\'\\;\\,\\.\\{ ";
          ]]>
    </mx:Script>
          <mx:VBox horizontalAlign="center" width="350">
                <mx:Label text="Enter File Name"/>
                <mx:TextInput id="fileName" width="170" height="20"  restrict="{regExpForFile}"/>
          </mx:VBox>
    </mx:Application>
    with Regards,
    Shardul Singh Bartwal

  • How to customize blob column text displayed in a report

    Hi All,
    I have a table with column File_name (varchar2) and file_content (blob).
    Report generated by the APEX allows me to show report with two different column
    File Name || File Content
    aaaa Download (link)
    bbbb Download (link)
    I would like to show the report in such a way the File name column is hyperlinked to download the blob content.
    I tried to change the link using the BLOB format mask, but seems it only takes up text value and not column name as #FIELD_NAME#
    Any idea how to achieve this ?
    I am using Application Express 3.1.2.00.02
    Thanks
    bala
    Edited by: Balamurugan Natarajan on Jun 3, 2009 2:16 AM

    I got this online:
    create or replace PROCEDURE  download_my_file_sp(p_file in number) AS
            v_mime  VARCHAR2(48);
            v_length  NUMBER;
            v_file_name VARCHAR2(2000);
            Lob_loc  BLOB;
    BEGIN
    -- Assuming your application's numeric ID is 100, set g_flow_id to
    --     that value, otherwise change the value as required.
    --***APEX_APPLICATION.G_FLOW_ID := 100;
    --***IF NOT wwv_flow_custom_auth_std.is_session_valid then
        -- display this message or a custom message.
    --***htp.p('Unauthorized access - file will not be retrieved.');
        -- You can do whatever else you need to here to log the
        --     unauthorized access attempt, get the requestor's
        --     IP address, send email, etc.
      --***  RETURN;
    --***END IF;
            SELECT MIME_TYPE, BLOB_CONTENT, name,DBMS_LOB.GETLENGTH(blob_content)
                    INTO v_mime,lob_loc,v_file_name,v_length
                    FROM document_tb
                    WHERE id = p_file;
                  -- set up HTTP header
                        -- use an NVL around the mime type and
                        -- if it is a null set it to application/octect
                        -- application/octect may launch a download window from windows
                        owa_util.mime_header( nvl(v_mime,'application/octet'), FALSE );
                    -- set the size so the browser knows how much to download
                    htp.p('Content-length: ' || v_length);
                    -- the filename will be used by the browser if the users does a save as
                    htp.p('Content-Disposition:  attachment; filename="'||replace(replace(substr(v_file_name,instr(v_file_name,'/')+1),chr(10),null),chr(13),null)|| '"');
                    -- close the headers           
                    owa_util.http_header_close;
                    -- download the BLOB
                    wpg_docload.download_file( Lob_loc );
    end download_my_file_sp;Change the link of the PK: Page 3, Item 1: P3_ID, Value: #ID#
    create a branch on a different page: Branch to PL/SQL Procedure, Onload Before Header, and Branch Action: download_my_file_sp(:P3_ID)

  • How to display data in text file in column format

    hi
    i am acquiring data from an oscilloscope.
    wen i save the data in a text file using wite to speadsheet string, all the voltage values r displayed first and then the time values... besides its tab delimited
    how can i display it such that the time values r in one column and the voltyage values r in the other column
    thanx
    Solved!
    Go to Solution.

    Hi,
    I think you are collecting data at the same time and as aeastet told building an array will help. the example attached will give you an idea.. Though i am not sure whether this will solve your problem or not.
    Regards,
    Nitzz
    (Kudos are always Welcome, Mark as a solution if it is the One)
    Attachments:
    Untitled 1.vi ‏7 KB

  • How to display in a Text Box.

    This is my scenario.
    I am receiving two numbers as inputs from and html page and displaying the Sum in another jsp page.My problem is logic problem,
    How to convert or display back the sum inside the text box.
    Here I am forwarding my code.
    <%@ page import="java.io.*,
    java.util.*,
    java.lang.*,
    java.lang.String,
    java.text.DateFormat,
    java.text.ParseException,
    java.sql.*,
    java.net.URLEncoder"
    %>
    <%
    int Firstdigit = Integer.parseInt(request.getParameter("Firstdigit"));
    int Seconddigit = Integer.parseInt(request.getParameter("Seconddigit"));
    %>
    <BR>
    <CENTER>
    <P>
    The Addition Result Of The Two Numbers
    <%
    int Sum=Firstdigit + Seconddigit;
    out.println("Sum");
    %>
    <BR>
    <INPUT Type="text" name="Resultdigit" size="40"value=<=%Sum%>
    <BR>
    <P>
    </CENTER>
    Here the output which I get is %Sum% inside the text box.but what I need is the value as integers. Thanks in advance.
    Varghese Job.

    what i can see is the problem with this line
    <INPUT Type="text" name="Resultdigit" size="40"value=<=%Sum%>
    mus be like
    <INPUT Type="text" name="Resultdigit" size="40"value=<%=Sum%>

  • How to display a long text with several in multiple lines in template cell

    Hi,
       here i have one string such as 'Power MOS_TestTestTest'. But it will display in the template cell as
       'Power
       MOS_TestTestTest'.
       And what i want is 'Power MOS_TestTes
                                   tTest'.
      How to achieve this ? ths

    Hi,
    If the Width of the Templete in not sufficient to display whole text then from the next word it is dislpayed in the next line. As in your case ..
    'Power
    MOS_TestTestTest'.
    If you want to have this like
    'Power MOS_TestTes
    tTest'.
    You need to write the logic to split the string as per your rquirement and print them.

Maybe you are looking for

  • How to create a multi column item like the one in LOV's

    Hi, We have a big problem while building our application. We want to create an item where a user can select a line with multiple columns in it. Does anyone know how to build this???? Thanks, Eduard Haaijer

  • SelectBooleanCheckbox in adf did not display

    Hi all, I am have a problem in af:selectBooleanCheckbox with selected state value : 1 and unselected : 0. And the attribute in database, data type is Number(1,0), Nullable : No, Data Default : 0. But if i create new row, af:selectBooleanCheckbox didn

  • How to attach the T.CODE to a report created through REPORT PAINTER

    Hi all, Please tell me "<b>How to attach the T.CODE to a report created through REPORT PAINTER".</b>. Please show me the way how to do it as its getting too firing issue !! Awaiting for the early responses !! M.Soni

  • Business Role assignment now working as Expected

    Hi All, We have a User A, B and C , all these users have Business Role X, when these users were logging in they were gettings screens as per the configuration. However now all of sudden Only User A ,though still has same Business Role X , is getting

  • Delegate dataset to zone without reboot.

    Hi. Doc: http://download.oracle.com/docs/cd/E19253-01/819-5461/gbbst/index.html describe how add dataset to zone. # zonecfg -z zion zonecfg:zion> add dataset zonecfg:zion:dataset> set name=tank/zone/zion zonecfg:zion:dataset> endBut i should restart