Single item having content type property set for both GIF and JPEGs

Is it possible to have a single blob column in the database that stores either jpegs or gif files and then the ability to display either type through a hyperdrill on a Discoverer item? If so, how can the content type property on an blob item be set to two options?
regards
Paul P

Hi,
Discoverer will use the content_type property to set the MIME type used when opening the blob. So if your blob contains more than one type of file and you want to use different programs to view the files then there are 2 options you can use:
Option 1: Create a EUL item for each content type. For example, you create a item called gif_content, set the content type to gif, and use decode(type, 'GIF', blob) to populate the item only if the content is gif. Then the user will see multiple hyperlink columns, but only one of the columns will contain a link in each row.
Option 2: Create a mod_plsql procedure to download the blob. Rather than include the blob in your EUL, instead include a URL that runs your mod_plsql procedure to download the blob. Set the content type for the URL to be FILE and in the procedure set the MIME type using OWA_UTIL.mime_header and download the blob using WPG_DOCLOAD.download_file. Then the user will see one URL hyperlink that will download all file types.
Hope that helps,
Rod West

Similar Messages

  • Can a single Sun IDM gateway agent be used for both Dev and QA machine

    We have three different machines - one for IDM QA, one for IDM DEV and one remote machine where Sun IDM gateway is installed.
    If we run the Dev and QA gateway on the same server, we won't be able to test any updates in an isolated environment before rolling out to QA..right?
    Is it possible to have a Sun IDM gateway agent instance on the same remote machine? or do we have to install gateway separately on DEV and QA? Any ideas??

    Hello Manidhar,
    You have three different machines -
    QA,DEV and IDM Remote gateway.
    If we run the Dev and QA gateway on the same server,
    we won't be able to test any updates in an isolated
    environment before rolling out to QA..right?
    you are right. you won't have an isolated environment for testing. it creates interdependancy between DEV/QA environments.
    on the other hand, if DEV or QA server goes down, you end up loosing both the enviroments Gateway. it creates a SPF ( Single Point Failure) and it's not a best practice to do so from archicture point of view if you indend to maintain HA ( High Availability) 99.99% up-time.
    Is it possible to have a Sun IDM gateway agent
    instance on the same remote machine for DEV/QA?
    this also creates a SPF situation.
    or do we have to
    install gateway separately on DEV and QA?
    Since you have 3 different machines for 2 +1 Environments,
    it is best practice to have
    1. Seperate Gateway(s) for each Environment
    1. For Dev, 1 For QA
    so you have two isolated enviroments for testing, but also gives you the flexibility of keeping the QA Environment closer to Production possible without disturbing Dev
    let me know if you have any questions.
    Thank you,
    Sam
    We have three different machines - one for IDM QA,
    one for IDM DEV and one remote machine where Sun IDM
    gateway is installed.
    If we run the Dev and QA gateway on the same server,
    we won't be able to test any updates in an isolated
    environment before rolling out to QA..right?
    Is it possible to have a Sun IDM gateway agent
    instance on the same remote machine? or do we have to
    install gateway separately on DEV and QA? Any
    ideas??

  • Setting for both, Motion and Final Cut - Anamorphic?

    Hi there
    The settings dialogue in final cut somewhat differs from the one in motion regarding the pixel format. In FCP the pixel format can be 'square' AND anamorphic 16:9. In Motion when a pixel ratio other than one is entered (1.77 for 16:9) the pixel format box changed to 'eigene' - that reads probably other in english.
    Now: only when I use square and anamorphic 16:9 in FCP and square | 1 in Motion, the aspect ration is preserved in FCP, but on the right and left side of the Motion Clip there is some space left. When I deactivate the anamorphic Setting in FCP, the clip fills the canvas but is distorted.
    My resolution is 1920 x 1080.
    Help is much apprechiated.
    J.

    If your resolution is truly 1920x1080 (that is to say, you're not working with HDV for another format that really uses 1440x1080), then you want square pixels all the way. Uncheck FCP's anamorphic setting.

  • More than one property set for UUP

    Hi,
    We are using Weblogic Workshop 8.1 SP3 for our application development.
    I have developed a Unified User Profile with my custom EntityPropertyManager EJB, that handles a set of user properties for one type of users. Now, I have a requirement of a different property set for another type of users for the same application. These two property sets are different (defined in say, customerType1.usr and customerType2.usr files under /data/userprofiles folder of the application in workshop.
    Should I be using the same custom EntityPropertyManager to get both the property sets from the database? Or do I need to develop another custom EntityPropertyManager EJB? Please advise.
    Thanks,
    mxa1097

    Hi,
         You can have Maintenance Planning Plant & Maintenance Plant in any of the follwing ratios, i.e., 1:1 / 1:n / n:1. Actually in Maintenance, there can be electrical & mechanical maintenance.
              In the case of 1:1 relation, all the maintenance activities (Electrical & Mechanical) will be planned by single Maintenance Planning Plant for single Maintenance Plant.
            In case of 1:n, single maintenance planning plant will do the plaaning of maintenance activities for all the maintenance plants.
          In case of n:1, electrical activity will be planned by one Maintenance planning plant & mechanical activities by another planning plant for a single Maintenance plant.
          Defining Maintenance planning plant & maintenance plant in different relations will help us in generating different kind of reports.
    I am looking forward your reply.
    Regards,
    Maheswaran.

  • Content type "Link to a Document" to content type Document SET

    Hello,
    Could you please assist.
    I have a customized document sets.
    I added the content type "Link to a Document” to content type Document SET.
    I uploaded several documents to each document set.  There are several identical documents in different document sets.
    How can I arrange for uploading just a link to the documents, but not the additional documents?
    In other words, how to arrange for convenience for users to download a link?
    I mean them not to enter
    http://server/files ,
    but a certain “dropdown” appeared, a kind of menu with a choice of downloaded documents.
    Suppose, I added to each file its own attribute link and this link. I want to present  in form of creation “Link to a Document”
    There are 2 forms of creation. The first one is where we point a link. The second one is where we point the attributes.
    For example:
    I have two document sets: Project 1 and Project 2.
    There are 2 documents “instruction.doc” and “invoice.xls” uploaded to Project 1.  Each document has a field – link (a link to this very document).
    I want to add a link to “invoice.xls” in Project 2.
    I want to do it in that way a user could choose a list of links from a dropdown menu.
    Thanks

    Lookup column is the attribute of file. Attribute can not be upload! . Did you try to use the content type of link to document? If yes, you can understand my question. I want to change uploaded.aspx ( link of document) and add lookup column to this form.
    Standart scenario: User create link to docunent. 1. Prees button start. 2. Input text link to upload.aspx form 3. Set attributes new. Aspx I want: 1. Press button. 2. User press dropdawn menu and choise neddeng link. 3. Set attributes Plese read my question
    again. Sorry for my not good english

  • I have everything set for Arabic fonts and the keyboard as well. When I type in WORD or EXCEL I just get individual Arabic letters, but they never connect, they should be for example like this   الس    but they always appear like that ا ل س

    I have everything set for Arabic fonts and the keyboard as well. When I type in WORD or EXCEL I just get individual Arabic letters, but they never connect, they should be for example like this   الس    but they always appear like that ا ل س

    MS Word for Mac has never supported Arabic.  You have to use other apps.  Mellel is best, but Pages 5, TextEdit, Nisus Writer, or Open/LibreOffice should work OK.
    Sometimes you can make Word for Mac do connected Arabic if you are editing a document created with Windows Word.

  • How to create external content type in sharepoint for salesforce account

    Can anybody help me on How to create external content type in sharepoint for salesforce account.
    I wanto upload documents to a document library which should sync with accounts in saleforce.
    thanks in advance

    Hi,
    The following materials would be helpful:
    Tutorial: Access Salesforce Leads in SharePoint through an External List
    http://geekswithblogs.net/dataintegration/archive/2014/02/03/tutorial-access-salesforce-leads-in-sharepoint-through-an-external-list.aspx
    Salesforce SharePoint Integration – Best Practices
    http://rainforce.walkme.com/salesforce-sharepoint-integration-best-practices/#.VFxra3mKAeE
    If you want to upload documents to SharePoint document library from the Saleforce, we can also customize your own web service using SharePont .Net Client Object Model or REST to achieve it.
    Best Regards 
    Dennis Guo
    TechNet Community Support

  • PGI for both main and sub items (Sales BOM)

    Hello SD friends,
    I'm trying to map some BOM scenario.
    Only main item should be relevant for princing.
    Here's what I've done :
    1. Create sales BOM via CS01
    2. Maintain item category group ERLA for main item and NORM for sub item MM01
    3. Maintain item category TAQ for main item and TAE for sub item VOV4
    When I wanna do PGI, system creates material document only for main item.
    Which means that PGI has not been done for sub items.
    Is there any way to make PGI possible for both main and sub items ??
    Regards,
    Bahia.

    Can you clear, that why you want to issue both Main item/Sub Item, where your pricing is @ main item level.
    in Main item level Pricing, Main item itself includes components. Once you issue the main item. from Inventory this main item wil be reduced.
    Eg:  In Case of Main Item- Computer (Assume Components - Monitor , Keyboard , CPU & Mouse)
    Price for Computer - $1200.   Component prices individually- $300 , $100, $700, $100 - These prices applicable only when you sell as BOM at Subitem level Pricing Or Seperately )-
    In SO: - Order Computer (System explodes Components to verify,which are the subitems consists in Main Item)
      DEL:-  Components will be copied in Delivery , but not for dispatch (Sch Line Cat:CT has these controls)
    Inv: Only Main item will be displayed for print.
    NOTE:  for your requirement, you can change the Schline Category from CT - CN- which is relevant for delivery with movement type i601 -in SO. Then you can dispatch components & these components will not copied into Invoice ,as they are not relevant for billing.
    If you want CN has to determined automatically, maintain Schline Category determination accordingly.
    Hope it helps,
    Any info, please revert

  • After upgrade my Iphone 4 to iso5, I can't add contact and I can't access the settings for mail,contacts and calender. The moment I select the setting for Mails, Contact and Calender it will jump back to home. Can someone advice what's wrong with it?

    After upgrade my Iphone 4 to iso5, I can't add contact and I can't access the settings for mail,contacts and calender. The moment I select the setting for Mails, Contact and Calender it will jump back to home. Can someone advice what's wrong with it?Problr

    Dear All
    i have done the same activity ( buy a new iphone 4 -> upgrade to ios5 - > configure email) with success-
    than when i start to move the contacts from old mobile to iphone (using the microsim) i receive the same crash
    in disgnosis e use i saw 2 dump with this title 'latestCrash-Preferences.plist and LatestCrash.plist. in each file the date is the same and i read:
    Exception Tyle: EXC_CRASH (SIGABRT)
    Exception code: 0x00000000, 0x00000000
    Chrashed Thread: 6
    in thread 6: name: Dispatch queue:
    com.apple.addressBookUI.ContactsSettingPlugin
    and thaan a lot of data.
    Have you any idea?
    thank in advance
    Fabio

  • How do I set up a POP account that links to my business email account for both receiving and sending

    How do I set up a POP account that links my icloud email to my business email account for both receiving and sending?

    Can you post your Troubleshooting Information?
    Help (Alt-H) - Troubleshooting Information

  • Oracle 10G support for both Cyrillic and Western European Character Sets

    Dear all,
    Our DB currently supports western EU characters sets but we need to also support Russian Characters.
    Is there a common character set for both? or some trick that does the job?
    Thanks.
    DB: Oracle 10G R2
    OS: Linux
    Current Char Set:
    NLS_CHARACTERSET     WE8ISO8859P1
    NLS_CALENDAR     GREGORIAN
    NLS_NCHAR_CHARACTERSET     AL16UTF16

    AL32UTF8 will always do the job.
    CL8ISO8859P5
    CL8MSWIN1251
    could to the job according to http://download.oracle.com/docs/cd/B19306_01/server.102/b14225/applocaledata.htm#sthref1960.
    Edited by: P. Forstmann on 9 août 2011 17:41

  • Why such sorry sound quality on iTunes? On some of my purchases the sound level is suppressed on the audio. On others the volume is so low that if I have it set for another song and a new one starts I have to increase the volume to hear it.

    Why such sorry sound quality on iTunes? On some of my purchases the sound level is suppressed on the audio. On others the volume is so low that if I have it set for another song and a new one starts I have to increase the volume to hear it.
    There is so much distortion on some of the music I have to play it with QuickTime to get a "clean" track.
    What can be done to get a consistent volume level or is this another typical Apple product that you have to take what you get and be happy because it's not a Microsoft product?

    If that's the best you can do why don't you get on another forum?

  • What's the best iTunes import setting for highest quality and universality?

    What's the best iTunes import setting for highest quality and universality?

    Highest quality?
    Apple Lossless. (But the files are way big)
    Universality?
    MP3 (choose the bit rate you think sounds best and doesn't take too much space)

  • When you back up your Iphone/Ipad it backs up for camera roll. but when you take pictures and it uses photo stream, does that mean there are two copy's of your photos on icloud one set for photo stream and one set for backups?

    When you back up your Iphone/Ipad it backs up your camera roll. but when you take pictures and it uses photo stream, does that mean there are two copy's of your photos on icloud one set for photo stream and one set for backups?

    What do you mean by storage quota, does that mean i could be photo streaming about 1gb of photos and it does not get taken away from my free 5bg.

  • My email (sign-in) and password for iTunes is different than my email (sign-in) and password for iCloud. How do I change my sign in and password so they are the same for both iTunes and iCloud without losing my iTunes content?

    My email (sign-in) and password for iTunes is different  than my email (sign-in) and password for iCloud. How do I change my sign in and password so they are the same for both iTunes and iCloud without losing my iTunes content?

    Hey Lakedrive442,
    It sounds like you have changed your Apple ID which you use with iTunes.  If so there are several places you may need to update it as outlined in this article.
    Apple ID: What to do after you change your Apple ID - Apple Support
    Of course some might not apply, but many might.
    Thank you for thinking of Apple Support Communities for your support needs.
    Nubz

Maybe you are looking for

  • Can i transfer data from existing apple ID to my  new apple ID?

    i currently have a Ipad 2 registered under an Apple ID ( with my son 's email address), bought a new Ipad Air,  would like to set up the new iPad Air  under a new Apple ID ( my email address) how can i transfer the data from Ipad 2 ( from existing Ap

  • Scheduling jobs via DBMS_JOB

    Hi, Can anyone please help me to schedule a job via DBMS_JOB. I have to execute a procedure p_upload_data from Tuesday to saturday at 1:00 AM. Please provide me the code that i can use. Thanks

  • Default certificates missing

    I am using Nokia 5300 Xpress music. I have recently formatted my firmware v5.51 due to frequent hanging of mobile though i tried to upgrade /reinstall the firmware. Now the mobile is working fine. But when i tried installing using Opera mini browser

  • 24-inch Mid 2007 as external display for Macbook Pro Retina?

    I'm a video editor looking for a new laptop. Tough decisions, but these facts may help my decision... Can I use my 24-inch Mid 2007 as external display for Macbook Pro Retina? And if so, would the Macbook be able to access the external hard drives th

  • DV6-701nr cannot connect any mobile device by USB

    I have a Samsung Galaxy Note 4 and am experiencing a new issue: without having installed anything new on the laptop, I can no longer see my Note 4 as a USB mass storage device on the laptop. Thinking it may be the phone and not the laptop, I tried co