Dyanmic display of the Image Link URL

I have a typical report requirement for which I have googled but didnot get the proper solution.
The report contains two columns , OrderId (Datatype Integer) and CustomerName .
OrderId CustomerName
123     xyz
234     abc
345     pqr
456     klm
The requirement is whenever the user clicks on the OrderId it should display its corresponding Invoice image.
The URL is
http://server/ibpmweb/login/soaplogin.asp?SearchName=OrderId&param=ORDERID&ID=XXXXXX
where XXXXXX -----> OrderID
The OrderID should change dynamically in the URL and should display the corresponding Invoice Image for the OrderID.
Please suggest me workaround to achieve this problem.
Your quick reponse is highly appeciated.
Thanks,
Rama

Since you want to display the Order ID and have a hyperlink on it, you could use the following as the formula for the Order ID column.
'<a href= http://server/ibpmweb/login/soaplogin.asp?SearchName=OrderId&param=ORDERID&ID=' || cast(order.order_ID as char(5))||' target="_blank" '||'>'|| order.order_ID||'</a>'
Replace Order. Order_ID with your table and column name. The '_blank' is for the hyperlink to open in new page. Also, note that in the line above, the two single quotes in the end( ' ') should be replaced with single quote, less than sign, forward slash, the alphabet a, and the greater than sign, and single quote. The last part does not display in the forum.
Also, replace char(5) with the appropriate precision as required.
Hope this helps!

Similar Messages

  • Problem in getting the image through URL

    hi all,
    I facing the problem,Inwhich i am unable find the solution...I am using the following code to display the image
    public void doGet(HttpServletRequest request,HttpServletResponse response)
                        throws IOException, ServletException {
                   int data=0;
                   response.setContentType("image/png");
                   ServletOutputStream out = response.getOutputStream();
                   String file = request.getContextPath()+imageNames[0];
                   //String file = "C:/Program Files/Apache Group/Tomcat 4.1/webapps/ImageComm/WEB-INF/images"+imageNames[index];
                   BufferedInputStream in = new BufferedInputStream(new FileInputStream(file));
                   System.out.println("the size of the inputStream is..."+in.available());
                   System.out.println("the context path is..."+request.getContextPath());          
                   while ((data = in.read()) != -1) {
                   out.write(data);
    with the above i am not getting any error at the compile time but it was giving exception like FileNotFoundException.
    but the same thing(URL address) when i am copying on the browser it was displayig the image.
    (what might be the reason)
    one more thing when i commented on the url address and try to use the actual realpath address it was displaying the image with out any problem
    can anybody give me the solution like where to keep my images by which i can able to get the images through url address
    thanks in advance
    lakshman

    hi all,
    I am getting the image from the server.but the problem is i am getting the Exception as ArrayOutOfBound exception.
    It was displaying the Image for the first time.and when ever it was going for the second time in to the paint method it was displaying the IOException in reading the stream from the connection.
    can anybody give me the solution in rectifying that exception.
    thanks in advance
    lakshman

  • Creating an Opaque view for generating the Action Link URL in OBIEE EBS int

    Do we have to Creating an Opaque view for generating the Action Link URL in OBIEE Oracle E-Business Suite integration if we are not using BI Applications(DAC). We built our Repository on Materialized views we were using with Discoverer so I'm not sure if we have to do the part that creates an Opaque view in our integration of EBS 11i with OBIEE.
    Thanks in advance.
    Leo

    Hi Leo,
    This is an example from an standard Oracle repository:
    select header_id , line_id, fnd_run_function.get_run_function_url(
    CAST(fnd_function.get_function_id('ISC_ORDINF_DETAILS_PMV') AS NUMBER),
    CAST( 'VALUEOF(NQ_SESSION.RESP_APPL_ID)' AS NUMBER),
    CAST( 'VALUEOF(NQ_SESSION.RESP_ID)' AS NUMBER),
    CAST( 'VALUEOF(NQ_SESSION.SEC_GROUP_ID)' AS NUMBER),
    'HeaderId=' || header_id ||'&pFunctionName=ISC_ORDINF_DETAILS_PMV&pMode=NO&pageFunctionName=ISC_ORDINF_DETAILS_PMV',
    null ) LINK
    FROM isc_book_sum2_f
    They use it in an opaque view, so you can reference session variables for login based on your responsibility.
    Good Luck,
    Daan Bakboord
    http://www.obi-forumlive.nl/

  • Is there a way to display all the image files(jpeg, png, �) present in the

    Description:
    Currently I am using �Sun Java� Wireless Toolkit 2.5 for CLDC, Beta 2 � toolkit for developing J2ME applications. I am using the �javax.microedition.amms.control.imageeffect� package(JSR 234) for adding effects like red eye, border, etc. I need to display all the images in my /res folder so that the user can select one from the list for further image processing. I used File Connection API for displaying the images from the file system's /root folder. But while trying to apply the image effects I found that I can not access the file system's /root folder through getResourceAsStream(). getResourceAsStream()could only access the /res folder . Is this correct? Is there any other way to give the InputStream to the media processor through setInput()? Is there any other alternative to getResourceAsStream()? Or Is there any direct way to access the /res folder and display all its files for the user to select?
    Here is the code that I am using for providing the input and output streams and applying the image effect to the source file �Duke.jpg� in /res folder.
    MediaProcessor mp = GlobalManager.createMediaProcessor("image/jpeg");
    mp.addMediaProcessorListener(this);
    outputStream = new ByteArrayOutputStream();
    inputStream= getClass().getResourceAsStream(�Duke.jpg�);
    mp.setInput(inputStream, MediaProcessor.UNKNOWN);
    mp.setOutput(outputStream);
    ImageTransformControl itc = ImageTransformControl) mp.getControl ("javax.microedition.amms.control.imageeffect.ImageTransformControl");
    final int border =10;
    itc.setSourceRect(itc.getSourceWidth(), 0, -itc.getSourceWidth() , itc.getSourceHeight() );
    itc.setTargetSize(itc.getSourceWidth(),itc.getSourceHeight(),0);
    itc.setEnabled(true);
    mp.start();
    mp.complete();

    you need to set resource path correct place image file resource folder is correct but there is problem so yu need put the image in resource in this way C:\WTK23\apps\Image\res\example\hello\image.gif this work
    in the code try this InputStream byteInput = getClass().getResourceAsStream("/example/hello/image.gif"); this works if you need any more help contant [email protected]

  • Want textarea to be displayed on the image

    Hello,
    I am stuck up with a problem,
    I have a JPaaplet which displays an image,
    and i want a textarea to appear whereever i click on the image.
    and i dono how to get this.
    it would be kindful if anyone could help me out with this. It is very urgent n i need to do it today itself
    Regards
    Sanam

    Hello,
    once again thanks for ur reply,
    ur code works fine but when i try to implement it in mine it is not working, is it becoz u have used label
    n i am using buffered image.
    iam really stuck up with this. plzzzzzzzzzzzz help . this is the code i have written there is 1 main class (zoominApplet1) it has the main mtd .
    1 more class(AppletZoomPanel) which basically performs zoomin n zoom out operation,
    1 more calss(ZoomAction) which has buutons n operations performed on them.
    now when i click on Auto Fit button i want the image to be resized to screen size.
    could u plz tell what is the mistake n how to do it.
    n i did not understand the 1st line of ur previous mail.
    actually i am new this forum so i dono abt those duke dollars
    import java.awt.*;
    import java.awt.event.*;
    import java.awt.geom.*;
    import java.awt.image.BufferedImage;
    import java.io.*;
    import java.net.*;
    import javax.imageio.ImageIO;
    import javax.swing.*;
    import java.util.Vector;     
    //ZoominApplet1 class
    public class ZoominApplet1 extends JApplet
         public static JFrame f;
         public AppletZoomPanel zoomPanel;
         public static Container cp;
         public BufferedImage image;
         JTextArea textArea;
         public void init()
              zoomPanel = new AppletZoomPanel();
              ZoomAction action = new ZoomAction(zoomPanel);
              cp = getContentPane();
              cp.setLayout(new BorderLayout());
              //cp.setLayout(null);
              cp.add(action, "North");
              cp.add(new JScrollPane(zoomPanel));
              txtArea();
         public void txtArea()
              zoomPanel.addMouseListener(new MouseAdapter()
                   public void mousePressed(MouseEvent e)
                        textArea = new JTextArea();
                        textArea.setBorder(BorderFactory.createLineBorder(Color.BLACK));
                        zoomPanel.add(textArea);
                        textArea.setBounds(e.getX(), e.getY(), 100,50);
              SwingUtilities.invokeLater(new Runnable()
                   public void run()
                        f.pack();
                        f.show();
         public static void main(String[] args)
              JApplet applet = new ZoominApplet1();
              f = new JFrame();
              f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              f.getContentPane().add(applet);
              f.setSize(300,300);
              //f.setLocation(100,100);
              applet.init();
              f.setVisible(true);
    //AppletZoompanel class
    class AppletZoomPanel extends JPanel
         public BufferedImage image;
              double scale, scaleInc;
         public boolean autofit = false;
         public AppletZoomPanel()
              loadImage();
              scale = 1.0;
              scaleInc = 0.01;
              setBackground(Color.white);
              //Set to null
              setLayout(null);
         protected void paintComponent(Graphics g)
              super.paintComponent(g);
              Graphics2D g2 = (Graphics2D)g;
              g2.setRenderingHint(RenderingHints.KEY_INTERPOLATION,
                        RenderingHints.VALUE_INTERPOLATION_BICUBIC);
              int w = getWidth();
              int h = getHeight();
              System.out.println("width : " +w);
              System.out.println("height : " +h);
              double imageWidth = scale * image.getWidth();
              double imageHeight = scale * image.getHeight();
              double x = (w - imageWidth)/2;
              double y = (h - imageHeight)/2;
              AffineTransform xform = AffineTransform.getTranslateInstance(x, y);
              xform.scale(scale, scale);
              g2.drawRenderedImage(image, xform);
         public Dimension getPreferredSize()
              Dimension d = new Dimension();
              d.width = (int)(scale * image.getWidth());
              d.height = (int)(scale * image.getHeight());
              return d;
         public void autoFit()
         public void setScale (int inc)
              scale += inc * scaleInc;
              revalidate();
              repaint();
         private void loadImage()
              String fileName = "sampleimg.jpg";
              try
              URL url = getClass().getResource(fileName);
              image = ImageIO.read(url);
              catch(MalformedURLException mue)
              System.out.println("url: " + mue.getMessage());
              catch(IOException ioe)
              System.out.println("read: " + ioe.getMessage());
    //ZoomAction Class
    class ZoomAction extends JPanel
         static final String[] fontStyleString = new String[] {"Font.PLAIN", "Font.ITALIC", "Font.BOLD", "Font.ITALIC+Font.BOLD"};
         static final int[] fontStyleInt = new int[] { Font.PLAIN ,  Font.ITALIC ,  Font.BOLD ,  Font.ITALIC+Font.BOLD };
         AppletZoomPanel zoomPanel;
         public ZoomAction(AppletZoomPanel azp)
              zoomPanel = azp;
              final JButton zoomIn = new JButton("zoom in"), zoomOut = new JButton("zoom out"), autoFit = new JButton("Auto Fit"), txtButton = new JButton("Text Area");
              JComboBox fontCombo;
              JComboBox styleCombo;
              String[] fontNames = GraphicsEnvironment.getLocalGraphicsEnvironment().getAvailableFontFamilyNames();
              //final JButton autoFit = new JButton("Auto Fit");
              /*add(new JButton(new AbstractAction("Auto Fit")
                   public void actionPerformed(ActionEvent e)
                        System.out.println("autofit");
                        zoomPanel.setBounds(new Rectangle(zoomPanel.getSize()));
                        repaint();
    //                    ResizableImage resizableImage = new ResizableImage();
                        //resizeableImage.autoFit();
                        //resizableImage.setBounds(new Rectangle(zoomPanel.getSize()));
    //                    resizableImage.setBounds(new Rectangle(resizableImage.getPreferredSize()));
    //                    resizableImage.repaint();
         //               repaint();
              Vector visFonts = new Vector(fontNames.length);
              for(int i=0; i<fontNames.length; i++)
                   Font f = new Font(fontNames, Font.PLAIN, 12);
                   if (f.canDisplay('a'))
                        visFonts.add(fontNames[i]);
                   else
                        //System.out.println("No alphabetics in " + fontNames[i]);
              fontCombo = new JComboBox(visFonts);
              styleCombo = new JComboBox(fontStyleString);
              ActionListener l = new ActionListener()
                   int inc;
                   public void actionPerformed(ActionEvent e)
                        JButton button = (JButton)e.getSource();
                        if(button == zoomIn)
                        inc = 5;
                        if(button == zoomOut)
                        inc = -5;
                        zoomPanel.setScale(inc);
              zoomIn.addActionListener(l);
              zoomOut.addActionListener(l);
              ActionListener m = new ActionListener()
                   public void actionPerformed(ActionEvent e)
                        JButton button = (JButton)e.getSource();
                        if(button == autoFit)
                             System.out.println("autofit");
                             //zoomPanel.setBounds(new Rectangle(zoomPanel.getSize()));
                             //repaint();
                             ResizableImage     resizableImage = new ResizableImage();
                             resizableImage.repaint();
                             System.out.println("repaint");
                             //zoomPanel.setBounds(new Rectangle(zoomPanel.getSize()));
         //                    final AppletZoomPanel resizableImage = new ResizableImage(new                               ImageIcon(imageUrl).getImage());
                        if(button == txtButton)
                                  //AppletZoomPanel azp1 = new AppletZoomPanel();
                                  //azp1.setTextArea();
                                  //ZoominApplet1 za1 = new ZoominApplet1();
                             //za1.txtArea();
              autoFit.addActionListener(m);
              txtButton.addActionListener(m);
              add(txtButton);
              add(zoomIn);
              add(zoomOut);
              add(autoFit);
              add(fontCombo);
              add(styleCombo);
         public Dimension getPreferredSize()
              return new Dimension(ap.image.getWidth(null), ap.image.getHeight(null));
         AppletZoomPanel ap = new AppletZoomPanel();
         protected void paintComponent(Graphics g)
              Graphics2D g2D = (Graphics2D)g;
              System.out.println("grahics :" +g2D);
              Dimension dim = getSize();
              System.out.println("dim : " +dim);
              int imageWidth = ap.image.getWidth(null);
              System.out.println("width : " +imageWidth);
              int imageHeight = ap.image.getHeight(null);
              System.out.println("height : " +imageHeight);
              double scaleX = (double)dim.width / (double)imageWidth;
              System.out.println("scalex : " +scaleX);
              double scaleY = (double)dim.height / (double)imageHeight;
              System.out.println("scaley : " +scaleY);
              g2D.drawImage(ap.image, AffineTransform.getScaleInstance(scaleX, scaleY), null);
    class ResizableImage extends JComponent
         AppletZoomPanel ap = new AppletZoomPanel();
         public Dimension getPreferredSize()
              return new Dimension(ap.image.getWidth(null), ap.image.getHeight(null));
         public void paintComponent(Graphics g)
              super.paintComponent(g);
              Graphics2D g2D = (Graphics2D)g;
              System.out.println("grahics :" +g2D);
              Dimension dim = getSize();
              System.out.println("dim : " +dim);
              int imageWidth = ap.image.getWidth(null);
              System.out.println("width : " +imageWidth);
              int imageHeight = ap.image.getHeight(null);
              System.out.println("height : " +imageHeight);
              double scaleX = (double)dim.width / (double)imageWidth;
              System.out.println("scalex : " +scaleX);
              double scaleY = (double)dim.height / (double)imageHeight;
              System.out.println("scaley : " +scaleY);
              g2D.drawImage(ap.image, AffineTransform.getScaleInstance(scaleX, scaleY), null);

  • Where to go and edit the existing link URL link name

    Hi,
        I need to edit the existing link for our portal, please guide me where to go and edit the name of our url.
    eg: current url is https://www.abc.eu/irj/portal    want to change it to
           new    url is https://www.abcdef.eu/irj/portal
    regards,
    Afzal.

    Hi Afjal,
    This link will help your requirement.
    http://wiki.sdn.sap.com/wiki/display/EP/ChangePortalURL
    Thanks & Regards,
    cbr

  • Image with link functions in Firefox, half of the image/link is active in Chrome, image/link dead in Safari

    I have a page with 2 nav links originating from 2 different images. 1 image / link works well with Firefox, Chrome and Safari. The other image / link works well with firefox, only half of the image is active in Chrome and none of the image is active in safari. The documents links checkout fine. I have replaced the image, the container as well as relinked. The result is the same. Can someone help please? Here is a link to my site (in progress) PikiPiks: film reviews Only the first 2 images in the left column are currently linked. The first image / link for "Kiki's Delivery Service" is the problematic one.  Thanks! MacOS 10.9 / Dreamweaver CS6

    Fix the code errors.
    Validation Results - W3C Markup Validator
    I won't even talk about the liberal usage of absolute positioning -- none of which is needed.  You'll soon learn  that this is not the way to build web pages when this comes back to bite you in the butt.  It almost looks like this layout was created in another program.  Was it?
    #1 On the web file names cannot contain special characters like apostrophes. <a href="Kiki'sDeliveryService.html"> is not a valid file name.  You need to rename without the apostrophe.
    #2 This link is pointing to a file on your local hard drive which nobody except you can see.
    <a href="file:///CARBUNKLE/Users/jev/Sites/WowAbout/index.html">  That path should be pointing to your site.
    Nancy O.

  • Firefox is not displaying all the images on any of the websites that I access. I upgraded to 4.0 and it worked correctly for about a day and then reverted back to the problem.

    When I open a website using Firefox it displays the text but none of the graphics. I upgarded to 4.0 and it was temporarily corrected. Now it has reverted to no graphics,

    Hi there,
    I have the same issue: FireFox is not showing all images on the page.
    Noticed this in FireFox 5.0. Now I installed FireFox 5.0.1 and still have the same issue.
    The missing images do not even appear in Tools > Page Info > Media.
    The images are usually accessed using DIV tag with a CSS class which contains background-image style. Often, when page opens, the DIV is initially hidden, and JavaScript displays it. Sometimes, jQuery.html() adds such DIV tags, and images rarely appear. Sometimes they do, but more often they do not.
    If I install FireBug and use Inspect Element to find such a DIV, it is there, it contains the CSS class, the definition of the CSS class contains background-image style. If I click the icon to disable this style, and then click it again to enable it, the image immediately shows up.
    Seems to be caused by some optimization which does not detect images like these.
    Hope this helps you reproduce it.

  • How to attach the images linked in VF03 transaction to an Email

    Hi Experts,
    I want to retrieve the images attached to service for object level in VF03 transaction and attach it to an Email.
    The images attached to the service for object level resides in an external system and we are using archivelink functionality to link the images to SAP level.
    so can anybody help me to find a solution to thisrequirement?
    Regards,
    Ratheesh BS

    Hi,
    Refer to the link it is explained how to configure the output type to send the email with PDF attachment on saving the Billing Document.. you need to do the same way..
    Email Billing document as PDF Attachment while saving from VF01/02

  • Indesign cs 3 can't follow the image links why?

    Hello guys,
    Firs of al sorry for my bad english.
    i have a problem with my cs3 indesign.
    i worked befor with cs2 and i always culd find a file like jpg or psd in the refresh link window and tracking it. it went automaticly to the right directory.
    but now with cs3 it dosn't remember it any more. it alwas gives me a random directory. i always find my images from the indesign file. its easy to track them like this but now i cant do it any more. any one know about this? i have to track every singel file manually. tanks

    Install the script into the one of the following folders:
    Adobe InDesign CS3\Scripts\Scripts Panel
    Your user folder\Application Data\Adobe\InDesign\Version 5.0\Scripts\Scripts Panel (for PC)
    Your user folder:Library:Preferences: Adobe:InDesign:Version 5.0:Scripts:Scripts Panel (for MAC)
    Open Scripts Panel (Window > Automation > Scripts), find "Update path names in links 13.jsx" and double click it. Then choose a folder where the new files are located, the script will relink all files.

  • Display of the images became very large in macbook air, display of the images became very large in macbook air

    suddenly the display became very large. it seems like the dsiplay for  the handicap as if in ipad. How to restore to normal display? Thank

    This link may help http://docs.info.apple.com/article.html?path=Mac/10.7/en/mchlp2368.html

  • Eliminate the border  displayed around the image in a command hyperlink

    How can i please eliminate the border displayed around image in a command hyperlink component.
    Thanks.

    That's just a layout issue. Apply CSS accordingly.

  • Table of content, I want to display just the image for each chapter and the name of the chapter. my book is not landscape format but each time I draging a picture into a specific chapter it duplicate it to all chapters why?

    table of content in a landscape orientation.
    I want to have in my table of content only image and the name of the chapter which is each to do.
    my problem when I am draging an image to each chapter it copied it to all chapter although I am marking only the specifc chapter.
    why? how can i overcome it?

    Are you using Microsoft word?  Microsoft thinks the users are idiots. They put up a lot of pointless messages that annoy & worry users.  I have seen this message from Microsoft word.  It's annoying.
    As BDaqua points out...
    When you copy information via edit > copy,  command + c, edit > cut, or command +x, you place the information on the clipboard. When you paste information, edit > paste or command + v, you copy information from the clipboard to your data file.
    If you edit > cut or command + x and you do not paste the information and you quite Word, you could be loosing information.  Microsoft is very worried about this. When you quite Word, Microsoft checks if there is information on the clipboard & if so, Microsoft puts out this message.
    You should be saving your work more than once a day. I'd save every 5 minutes.  command + s does a save.
    Robert

  • Can I disable the feature which gives an image in an image map a 1 pixel blue border, thus displacing all the image links on the image map by 1 pixel and revealing gaps between all the images making up the image map?

    i. e. can I remove the blue outline glow in focus in the browser?

    i. e. can I remove the blue outline glow in focus in the browser?

  • Display image from the save link in the field

    Hi all,
    I have a image link that saved in a column and will like this picture to be displayed once user is click on the image link in the tabular format.
    However, now I am facing the problem to perform query of the record because one of the field type is image or ole. However, if I changed the image link to normal text item. I am able to perform query search on the record. My question is, can I click on the record whenever I want to see the image from the tabular form ? I prefer tabular form as I can see a lot of records in one sort. But for the image display, I will like user to clock on the specific link in order to open up the image.
    Will this possible ?
    Thanks
    Lim

    If you are saving the image path in table not the image then why don't you use the READ_IMAGE_FILE built-in (see forms help).
    What i mean is hide the actual item which is having the image location. Just create one image item from toolbar (non-database) and create one extra button in the same block to display the image then use the READ_IMAGE_FILE built-in as below in WHEN-BUTTON-PRESS-TRIGGER...
    READ_IMAGE_FILE(:path_item_name,NULL,'image_item_name');
    Preferred way would be to save the image in database then query in your form using database image.
    -Ammad

Maybe you are looking for

  • Issues in Filter (F4 help) window

    We have several reports which has issues with the filter (F4 help) window. when any user wants to filter the reports these filter window show blank screen with message " Please Wait".  Filter window never displays values and keeps processing This iss

  • Local network computer name keeps changing

    I haven't been able to work out why my iMac has bouts of telling me that my computer's name is already in use on the network and adding a number to it. I keep having to go into System Preferences/Sharing and change it back again so that my husband ca

  • I recently upgraded my Mac to OS 10.6.5. Now the links in my incoming emails will not open in Firefox, but they will in Safari. What do I do?

    there is nothing more to add.... links from a wide variety of sources simply do not open up firefox and open the website like they used to. I can copy the links and paste them into firefox and they will open.

  • Removing photos in iphoto

    Hello, I have been reading some threads on how to delete photos from iphoto and to be honest it is making my head spin.  I need an answer in simple terms.  I have a ton of pics in iphoto and I need to remove them from my computer as they are taking u

  • Trouble signing into iCloud

    Hi there, I am a new user, still trying to get iCloud up and runing ,when I sign in it says  my id is valid but is not an iCloud account.  I have tried changing my password but it still comes back with the same answer.. I have a ipod nano,my coputer