Show Default Image when actual Image is not available

Hi,
The Customer is using BI Publisher to generate a Report with the Inventory Item Details. This report also shows an Image of the Item. These Image files are stored in a different server.
We are able to dynamically show the Image based on the Item Numbers using the URL{} tag.
We are facing an issue when there is an Item when there exists an Item with no corresponding Image File. The PDF is generated without any image. In such cases, the requirement is need to display a Default Image showing "NO IMAGE".
During XML Extraction, we do not know whether the Image file is available in the server.
How do we handle this specific requirement.
Any assistance is highly appreciated.
Thanks and Regards,
Balachander.

Having raised a service request with Oracle, it would seem that this is not possible -
"Unfortunately, In the BIP core, there is no functionality to test that a file ( containing an image ) exists or not ."
The problem I have is that the URL referencing the image is concatenated and includes the XML item for a reference number. That reference number, and therefore the XML item, is always available but the image that corresponds to it is not - so I can't test for a null or false return because BI Publisher does not recognise the concatenated string of the url as having a returned value.
This would be a problem if the layout options in Word were more flexible (better) - being able to add an image to the background of a table or cell would have solved my problem but, sadly, that is not possible in the version of Word I'm using (2003). I'm not sure whether it's possible in newer versions though?

Similar Messages

  • Recently i updated my software to 7.0.4 after that my mails automatically increased to more than 600 when actually i had not even 100. and i cant even see my mails there is no option to view them??

    recently i updated my software to 7.0.4 after that my mails automatically increased to more than 600 when actually i had not even 100. and i cant even see my mails there is no option to view them??

    Illaas,
    I tried the manual method.  I was able to set the music/video to manual and then restarted the entire system.  After restart, I re-attached the ipod touch to the computer.  The sync automatically ran for everything that wasn't set to manual and it completed without a problem.  I then reset the music/video to automatically sync and restarted the entire coputer/ipod set again.  This time when I re-attached the ipod, EVERYTHING synced and there were no problems reported.  I've never had to do this before, but I will keep it in mind if something like this happens again.  Thank you for pointing me to the manual sync.

  • Why does this site have online chat when you can never actually chat - always "not available"?  I was trying to get a simple question answered without calling and being on hold for 10 minutes?

    Why does this site have online chat when you can never actually chat - always "not available"?  I was trying to get a simple question answered without calling and being on hold for 10 minutes?

        Hello flabucki,
    Help is just a post away for you my friend! I can help with your questions right here. May I ask what question do you have? Both myself and the community would love to assist in any way that we can.
    Thank you…
    ArnettH_VZW
    Follow us on Twitter @VZWSupport

  • There are a few tv shows that played this week that are not available on itunes from tnt. Why are they not available for download.

    There are a few tv shows that played this week that are not available on itunes from tnt. Why are they not available for download. We watch these each week, and I have checked to be sure that there was actually an episode this week, and there was.

    Under other "sync-able" players, there's usually the "Sync only checked items" radio button. Not for the 2.0 Apple TV. There's no option, but acts as though that option ("sync only, etc...") has been selected. Figured it out after an hour of walking back and forth from my Mac to the TV. Argh.
    Try it. De-select the shows, sync the AppleTV and look under the "TV Shows" and the one's you've unchecked will not be there.
    R,
    the wedge

  • HT204266 I live in China, have Dutch nationality, and no US address or Credit Card; how can I have access to products from the US iTunes store, in particular music, when such items are not available from the China iTunes store? In general, what are the di

    I live in China, have Dutch nationality, and no US address or Credit Card; how can I have access to products from the US iTunes store, in particular music, when such items are not available from the China iTunes store? In general, what are the differences between countries' iTunes offerings? Does one really need an address and a credit card for any country to be able to access that countries iTunes store? Why these restrictions?

    You cannot.
    You cannot use another countrys itunes store.
    You must be physically locates inside the borders of a country to use that countrys itunes store and a credit card issued in that country with a valid billing address in that country.
    The owners of the distribution rights of movies/music/etc differ by country.  These distributors decide who can sell their content in that country.
    Buy from another source if your countrys itunes store does not carry somehting that you want.

  • Design Studio - Display a dummy image when searched photo does not exist

    hello,
    I would like to display an employee photo, which should be searched on the server folder with URL.
    Each photo name in my folder is : "employeeId.png".
    But some employees do not have a photo, and in this case I try to display a dummy photo, which I have in the same folder with employee id 00000000.
    My variables are :
    - URLlink variable is global variable type URL, which gives a path to my folder with employees photos
    - empnb variable is filled with employee id through getSelectedMember on cross table
    - filename variable to search a photo on the server
    - filename0 variable for those employees for which photo does not existe
    I tried to test the existence of an employee photo with getHeigh() method or getImage() method, to check if a photo filename set in Image1 is a real
    one. Cause if a photo does not exist, the Design studio put by default a small black cube inside Image.
    Unfortunatelly these tests are not working .
    My script:
    var filename =  URLlink + empnb + ".png";    // existing employee photo
    var filename0 = URLlink + "00000000" + ".png";  // dummy profile photo
    IMAGE_1.setImage(filename); //Try to put a photo found on the server 
    var height = IMAGE_1.getHeight(); 
    if (height == -1)
    { IMAGE_1.setImage(filename0);   }
    else   {IMAGE_1.setImage(filename);}
    Does anyone have other idea how to test if a photo exist or not in my folder.
    Many thanks!
    Bea

    I do not think it is possible today (at least not via checking of the image size). Such function would require
    * code extension in image component -> boolean IMAGE.exists()
    or
    * could be made by custom image implementation via design studio SDK. This custom image would send a request via Ajax and check response status. in case not existing some dummy images would be placed.
    for both options there are no plans as of today.
    the only option I see today is to generate in the folder "dummy" images for all employes who do not have any real image.

  • Redirect user/show default page when using entitlements

    Hello,
    We have created a few entitlements and placed these are a number of books and pages. The entitlements check and compare a specific set of attributes in the session object.
    Currently, if a user accesses a page with one of these entitlements all they see is the header and footer defined in the desktop shell. The backing file and portlets in the page do not look to be invoked or rendered, which is what I expected.
    Is there a way such that if a customer accesses a page of this type, to redirect them or possibly show default content in the page so it is more meaningful?
    Regards,
    Jonathan

    Hi...
    Thanks for asking....
    As I put in my post before, I include template0 in my template1, as seen in template1 (AHM001):
    <af:pageTemplateDef var="attrs">
    *<af:pageTemplate viewId="/template/AHM000.jspx">*
    I use AHM000 inside AHM001. I use this approach to build many template based on one basic design.
    Actually, I don't think the problem is in page template usage because as I submitted paralel to Metalink, I've already not called template0 in template1 but I copy template0's contents to template1.
    Unfortunately, page designer show small view and below error messages still occured.
    *Jun 7, 2009 10:25:20 PM ComponentMetadataHandler _error*
    WARNING: error parsing component tag in file: /AhmTestTemplate-ViewController1-context-root/template/AHM001.jspx/tag:xmlContent/id:null
    org.xml.sax.SAXParseException: <Line 115, Column 51>: XML-20100: (Fatal Error) Expected 'EOF'.
    Fortunately my application can be run already altough the error message still logged.
    Many thanks,
    Dominic C.

  • How can I use find coordsys(p​attern)2 to locate for template in an image when the image is threshold-​ed?

    I'm trying to locate for a template in an image, and the image is threshold-ed. I tried to threshold both the template and the image to try if it can locate the template, but there was an error, it said that the template has not enough contrast or something like that? Please help me, thank you.

    Here is what I tried to do, I used a AutoBthreshold2 and I didn't set a value to it. The image is attached below and the template. Thank you.
    Here is the error.
    Attachments:
    pattern.vi ‏51 KB
    template.jpg ‏1 KB
    bb.jpg ‏350 KB

  • Disk Utility: after creating the .DMG (compressed image) When "scan image for restore" finishes it displays "unable to scan (internal error)". Since the process was scanning for about 1 hr is this a fake warning?

    External 500GB drive is partitioned with 400GB for Mac OS extended (journalling) and 2nd partition formatted today as "ExFAT".
    Yesterday I tried to create a disk image of my HD to no avail - this was compressed on a FAT partition. I got a warning after running the <scan image for restore> saying "unable to scan (internal error)"
    I rang Apple support who suggested formatting a partition as MAC OS extended (journalling) and choose to save the image as "read/write'. The image process stopped writing at about 200GB and then the file size jumped to 499GB (ie the size of the HD). But the process did nothing for about an hour so I foce quit disk utility (as suggested by apple support)
    My current attempt was to format the external drive again; this time with a 400GB Mac OS extended (journal) format; plus a 100GB ExFAT format partition. The new image was created after about 2.5hrs with a compressed size of 149GB. However, after running the "scan image for restore" facility I got the warning message "unable to scan filename " (internal error). The process was scanning the image file according to the progress bar - this took about hour - thus the warning is a puzzle.
    If anyone can say more about this error I would really appreciate knowing tips for using disk utility. The screen grab is below.
    "unable to scan filename " (internal error)
    thanks

    Thanks for a quick reply <baltwo>. You’ve answered that it is not a fake message!
    fyi: I thought that I would use my external Buffalo for two purposes; namely the smaller ExFAT partition for copying stuff to my win7 netbook. The larger partition was to be used as my imac image of SL. So this was my first attempt at using disk utility - the idea being to hold an image backup at another location. Plus I now have the Lion thumbdrive ready to upgrade from SL and so being cautious wanted to have a SL image backup
    Anyway I followed the apple instructions using my mac 10.6.3 install DVD but it would appear from other discussions that <unable to scan (internal error)> is not unique to me.
    I’ll get back to apple telephone support for further advice.
    I would though be grateful for an “idiots’ guide to making an image backup of my internal HD that runs SL 10.6.8
    eg should I have just one partition on the external USB drive? format it as Mac OS extended? create the image as compressed or read/write? Basically I’ll do whatever will work!!
    thanks again

  • IPhone 4 GSM Updated to iOS 6.0 and the Maps isn't showing the 3D button? Is it not available in Canada? How do I enable it? Pleas help!

    I just updated my iPhone 4 to 6.0, and when I launch maps, the 3D button and compass arrow are there in the corner, but when the App actually loads, it disappears... Is it not available in Canada? Is there any way I can enable it???

    I would wager the 3GS and 4 don't have the CPU to handle the rendering they were showing on the keynote.  Must be one of the reasons 6 won't support the original iPad either, which has the same CPU as the 4.

  • Time Machine - using multiple drives when the first is not available

    Hello I have been succussfully using Time Machine with my USB external drive. I have been connecting it to my MacBook Air from time to time. Manual backups as well as the hourly backups when the drive has been connected worked without any problem.
    Recently, I connected Synology DiskStation (NAS) to my network and I have added it to the list of drives in my Time Machine setup. When my original external drive (first in the list) is not connected to my MacBook  the hourly backup is not initiated by the Time Machine at all. Manually started backup is runnign fine without any problem.
    The external drive is annotated with exclamation mark in Time Machines list with "not available" error - and it seems that this is causing the interruption of automatic hourly backup to any drive.
    Is there any way how to debug Time Machine? Or to get some logs of Time Machine?
    Any similar experience with multiple drive backup when the first of them is disconnected most of the time...?
    Thanks a lot for any help
    Petr

    Perhaps you should address this to Synology's tech support. Apple doesn't provide any support for third-party NAS, so your best bet is with Synology.

  • When Parameter id  is not available how to.....

    Hi Folks,
    I have an requirement to move to the MIRO when the user presses the AWKEY in the report.But AWKEY is not having any parameter id,then in such a case how can I set this.Can I take the first three char say AWK and call transaction MIRO?
    SET PARAMETER ID 'AWK' FIELD itfinal-AWKEY.
    CALL TRANSACTION 'MIRO' AND SKIP FIRST SCREEN.
    Will this work?
    Please let me know.
    Thanks,
    K.Kiran.

    Hi,
    you can take the first three characters of AWKEY  and double click on that if it is not available then the it is created as a Repository object and in which the value is stored...
    <b>SET PARAMETER ID pid FIELD f.</b>
    This statement saves the contents of field f under the ID pid in the SAP memory. The ID pid can be up to 20 characters long. If there was already a value stored under pid, this statement overwrites it. If you double-click pid in the ABAP Editor, parameters that do not exist can be created as a Repository object.
    regards,
    Ashok Reddy

  • How can I purchase even just the one month plan when the survey is NOT available in my country?

    The product is not available in my country, and I really need it for a study I'm conducting...
    Can you make this available in my country? or just me?
    Any ideas where I can post surveys for free?

    What country are you in?
    This is the list of supported countries:
    http://forums.adobe.com/docs/DOC-1375
    In order to purchase you need a credit card with a billing address in one of these countries.
    Randy

  • How can i fix my data connection on iPhone 4s when it tells me "not available" under carrier??

    for some reason, my iphone says "not available" under carrier in settings. Anyone know why??

    please tell me what u think can be the problem and the solution

  • Can I show a spinner when the images are loading

    I am now using flash builder 4.5.1 to create a mobile application. there will be multiple images in the view. I want to use  a spinner to indicate the image is loading, and once the image loaded,  the content of each image be replaced by the original mobimage.
    1) For IconItemRenderer, how to show the spinner?
    2) For the Image control, how to show the spinner?
    Thanks and hope you can understand my question and also hope some people can answer me.

    Is working on FCE projects while all the video files are saved on an external drive a bad idea?
    Not at all. This is the correct way to work with a laptop.

Maybe you are looking for

  • HT5569 hi my question is about my iphone 5 is not working properly i have installed iso 7 latest version but dont know what is wrong with it?

    my starts siri by it self and when i desable siri so voice control starts talking even i didn't touch my fone its operating by its self in the middle of talking on fone or not using it. sometimes the home key is not working at all. it stuck and i hav

  • Lockup and messed display with intel 2.7 driver

    my 865 G box xorg 1.5 + intel = crash and i am thrown to the console xorg 1.6 + intel legacy = working (bad performance) xorg 1.6 + intel 2.6 = crash and i am thrown to the console xorg 1.6 + intel 2.7 = no more console but this i have kde 4 themed m

  • Storage Space - Inaccessible, reconnect drives

    Hi My 2 HDD Mirror Storage Space is no longer accessible. I cannot see it in explorer, and under Storage Space Manager it says Inaccessible, Reconnect drives. Both disks under Physical Disks are displaying as OK, so I'm really scratching my head. The

  • Cant upload book from iphoto

    Set up book. The program then started the process. When it got to upload part it froze my computer. No progress on the progress bar. I have a cable modem and great upload and download speed. When I tried to exit program my iMac froze and wouldnt allo

  • Display form view title dynamically..

    Hi Experts, I have a requirement could u plz give me some inputs.. i am fetching account details based on account name. it is displaying both business partner and contact person details. when i select CP on the result then CP details is displayed in