How to display image button that can open outlook

I would like to display an image button (PS_SEND_MAIL_ICN) in a page. When cliked, the button should be able to open outlook with the destination field preset with an email address .
I have done the following:
1. Create an HTML aera field: IMAGE_HTML
2. Added the field in a record : RECORD.IMAGE_HTML
3. Added the record field in a page
4. In the peopleCode page Activate populate the HTML aera:
SQLExec("select CONTNAME from PSCONTDEFN where (contname = 'PS_SEND_MAIL_ICN' and ALTCONTNUM=1)", &emailIconName)
RECORD.IMAGE_HTML.Value = "<a herf='mailto:email_address@.....'><img src='%Image(" | &emailIconName | ")'/></a>"
I am succed to open outlook when clicking on the button but the image cannot be displayed properly. An icon with an X is displayed.
Is there another way to accomplish this?
Thanks

did you get this resolved yet?
I faced a similar issue and what i did was,
1. Create an html definition MYHTML with text,
<img src="%Bind(:1)" width="25" height="25" alt="%Bind(:2)" title="%Bind(:2)">
2. Added the peoplecode
XX_CFG_WRK.HTMLAREA.Value = GetHTMLText(HTML.MYHTML, "%Image(" | XX_TYPE_TBL.IMAGE_NAME.Value | ")", XX_TYPE_TBL.DESCR.Value);

Similar Messages

  • Can I add a button next to the location bar (just like the Home-button) that will open a new tab?

    In Firefox 3 there was a button that would open a new tab. This button was next to my location bar (next to the home, refresh, etc buttons), and also usable when I didn't have any tabs open (unlike the + on the tabbar, which is only there when I turn on my tabbar).
    Although there is a button I can add that will open a new window, I would like to know if it is possible to have similar button that will open a new tab.

    https://support.mozilla.com/en-US/kb/How+to+customize+the+toolbar
    There's a New Tab button in the Customize Palette, just move it to where you want it.

  • How do I create buttons that once clicked and un clicked, alter an image? ...

    How do I create buttons that once clicked and un clicked, alter an image?
    So for example if I imported a psd file into Muse with 5 layers, could i create 5 buttons which, when clicked, each individually took off and added 1 layer?
    Basically this should make what i'm trying to say clear (when it's loaded click the arrow and you'll see): http://lust.nl/lustArchive/noordzee/noordzee.html
    Appreciate any help

    Hi Joe,
    Please use this option to hide the target on click - http://prntscr.com/3plqn0
    - Abhishek Maurya

  • How to display images on my internal isight?

    Hi,
    I just bought the new iMac 2 gig dual. Running on 10.5.2.
    I wanted to know how to display images on my screen during a video conference chat without resorting to holding up a print out to the camera? I need something where I can switch from video mode to image mode and show a single image at a time if I need to. All that while still talking of coarse. If it isn't possible with my iSight software, can you point me to other software I can download and still use my built in cam?
    I hope I was clear enough in asking this.
    Thanks
    Liban

    Welcome to Apple Discussions, Liban
    iChat can do what you want, but I do not know of any web-based video chat site that can.
    Look for Help or Support information on the site you are using or ask the Webmaster if his site has the capability to do what you want.
    EZ Jim
    PowerBook 1.67 GHz w/Mac OS X (10.4.11) G5 DP 1.8 w/Mac OS X (10.5.2)  External iSight

  • Is there a program that can open .desktop icons?

    Hi.
    I am 15 years old and have downloaded a game thats called Planetside 2 with the program wine and winebottler. It installed perfectly and leaved a icon thats named Planetside2.PSG.desktop. I didn't exit the window until the planetside 2 have uploaded everything. After one day I decided to play Planetside 2 but I couldn't open that icon. Not even my winebottler couldn't open it. Is there a way or a program that can open that. (I do not want any suggestions buy virtual machines because I don't have a disk reader that can run cd´s).
    The way I did it.
    1. Installed Planetside 2
    2. Created a desktop icon for shortcut. (There also came a sort of document Planetside2.PSG.ink)
    3. Waited Planetside 2 to upload ( I went about 3 hours so I went to bed).
    4. Next morning, tried to use the shortcut (Planetside2.PSG.desktop) to launch it.
    5. Searching if there was anything more installed in the computer and I couldn't find anything except that desktop icon.
    Well there is one opertuntity that works but it takes a LONG time because I have to install it again and click the repear option to even open Planetside 2.
    My computer is a Macbook air with operating system OS X 10.8.4. (its not mountain lion but it was no more option).

    Thanks, I should talk to the support and now I know where my game is! I had the problem to find Planetside was one of the problems and it was in a windows c:drive that is almost impossible to find (Spotlight and Finder searches doesn't work). But I found a program that can find EVERY single program which is OmniDiskSweeper. It calculates every folders and programs size and lays a display on how much spaces it takes on your computer. If anyone have problem to find the windows C:drive I can guide you like this:
    Machintosh HD>Users>Your computer name (Which would take a lot of gbytes)>Library(Its probably here the folder Library doesn't show up)>Application Support>com.yourcompany.yourapp.??>there is your windows c:drive!
    Maybe in some computers it doesn't work but it worked for me how I found my C:drive. I was using a program called wine so that maybe explains the dissapering. Wine laid it on the C:drive.

  • How to display images and information

    how to display images and information(e.g. like questions) on a jsp page that stored in a database

    Look As far as i can see....
    Utlimately every file could be expressed as a bytes buffer.
    so say if you have a bean called Choice Bean which is expressed as
    public class ChoiceBean{
       private String choiceid;
       private String choicedesc;
       private byte image[];
       public void setChoiceId(String choiceid){
              this.choiceid = choiceid;
        public String getChoiceId(){
               return this.choiceid;
          public void setChoiceDesc(String choicedesc){
               this.choicedesc = choicedesc;
           public String getChoiceDesc(){
               return this.choicedesc;
           public void setImage(byte image[]){
                  this.image = image;
             public byte[] getImage(){
                  return this.image;
    }QuestionList.java:
    ===============
    public class QuestionList{
         private List<ChoiceBean> choicelist;
          /*Other member variable declarations*/
           public  List<ChoiceBean> getChoiceList(){
                    /*Custom code where you may build the list by querying the DA layer*/
                     return this.choicelist;
         public int search(String choiceid){
                 int index = -1;
                 for(int i =0 ; i < this.choicelist.size() ; i++){
                        ChoiceBean cb = this.choicelist.get(i);
                         if(cb.getChoiceId().equals(choiceid)){
                                index = i;
                                break;
                 return index;
        /* Other member method declarations */
    }and you are retreving List<ChoiceBean> from DB using your query & have created a session attribute / <jsp:useBean> named ChoiceList
    NOTE: sometimes your application server can go out of bounds as you are consuming a lot of memory by creating an arraylist object.
    use the following methodology to display images & choices
    sample.jsp:
    =========
    <jsp:useBean id="QuestionList"  class="com.qpa.dao.QuestionList" scope="session"/>
    <TABLE>
    <%
    /* QuestionList.getChoiceList() is a method which fetches data from the DB & returns it in form of  List<ChoiceBean> */
    List<ChoiceBean> choicelist = QuestionList.getChoiceList();
    for(int i =0 ; i < choicelist.size() ; i++){
    %>
    <TR>
    <TD><%!=choicelist.get(i).getChoiceId()%></TD>
    <!-- calling servlet which renders an images in JPG format based upon given choiceid(unique field) -->
    <TD><IMAGE src="ImageServlet?choiceid=<%!=choicelist.get(i).getChoiceId()%>"/> </TD>
    <TD><%!=choicelist.get(i).getChoiceDesc()%></TD>
    </TR>
    <%
    %>
    </TABLE>
    <%
        session.remove("QuestionList");
    %>
    NOTE: usage of JSTL or any other custom built tag-libraries makes life more simpler in the following case
    ImageServlet.java:
    ===============
    public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
            byte buffer[] = null;
            HttpSession session = request.getSession(false);
            /*getting the QuestionList from the session*/
            QuestionList ql = null;
            String choiceid = new String("");
            try{
                 choiceid = request.getParameter("choiceid");
                 /*getting the QuestionList from the session*/
                ql = (QuestionList)  session.getAttribute("QuestionList");
            } catch(Exception exp){
            if(choiceid.equals("") == false &&  ql != null ){
                List<ChoiceBean> clist = QuestionList.getChoiceList();           
                   assuming that you have created a serach method which searches the entire choice list and would give you
                   the index of that object which is being refered by unique choiceid and returns -1 if not found
                int index =  QuestionList.search(choiceid);
                if(index != -1){
                   ChoiceBean cb = clist.get(index);
                   buffer = cb.getImage();
            if(buffer != null){
                 // assuming that we have stored images in JPEG format only
                 JPEGImageDecoder decoder = JPEGCodec.createJPEGDecoder(new ByteArrayInputStream(buffer));
                 BufferedImage image =decoder.decodeAsBufferedImage();
                 response.setContentType("image/jpeg");
                 // Send back image
                 ServletOutputStream sos = response.getOutputStream();
                 JPEGImageEncoder encoder = JPEGCodec.createJPEGEncoder(sos);
                 encoder.encode(image);
            } else {
               response.setContentType("text/html");
               response.getWriter().println("<b>Image data not found</b>");              
    }However,i still feel there are few loopholes with this approach where Application Server can eat up a lot of heap space which may result in outofmemorybound exception.
    Hope this might help :)
    REGARDS,
    RaHuL

  • *** Example of JSF Image servlet that can write image to network drive ??

    Hi Guys,
    Does anyone have an example of a of JSF Image servlet that can Write image to network drive ??
    I can write an image to my local drive on my tomcat app server. But when I try to map to a network drive with IP or Mapped drive it fails.
    Any help out there ??
    Thanks
    Phil

    Hi,
    The drive I am trying to access is on a box 45.65.111.115 ip
    I have mapped the box and drive to M:
    Setting sharing on...
    I have tried a few new ways...
    imageDrive2=M:\\test_images\\
    gives this errror
                java.io.FileNotFoundException: M:\test_images\first250k\16Sep0857_Phil_Tucson.JPG (The system cannot find the path specified)
         at java.io.RandomAccessFile.open(Native Method)
         at java.io.RandomAccessFile.<init>(RandomAccessFile.java:212)
         at javax.imageio.stream.FileImageOutputStream.<init>(FileImageOutputStream.java:44)=============================================
    imageDrive3=\\\\45.65.111.115\\first250k\\test3.jpg
    gives this errror
    java.io.FileNotFoundException: \\45.65.111.115\first250k\test3.jpg (Access is denied)
         at java.io.RandomAccessFile.open(Native Method)
         at java.io.RandomAccessFile.<init>(RandomAccessFile.java:212)
         at javax.imageio.stream.FileImageOutputStream.<init>(FileImageOutputStream.java:44)
         at com.sun.imageio.spi.FileImageOutputStreamSpi.createOutputStreamInstance(FileImageOutputStreamSpi.java:37)========================================================
    imageDrive4=\\\\45.73.111.115\\test_images\\test4.jpg
    gives this errror
    java.io.FileNotFoundException: \\45.73.111.115\test_images\test4.jpg (Access is denied)
         at java.io.RandomAccessFile.open(Native Method)
         at java.io.RandomAccessFile.<init>(RandomAccessFile.java:212)
         at javax.imageio.stream.FileImageOutputStream.<init>(FileImageOutputStream.java:44)
         at com.sun.imageio.spi.FileImageOutputStreamSpi.createOutputStreamInstance(FileImageOutputStreamSpi.java:37)
         at javax.imageio.ImageIO.createImageOutputStream(ImageIO.java:391)
         at javax.imageio.ImageIO.write(ImageIO.java:1483)=============================================================================
    Any help out there??
    Phil

  • Making a button that onclick opens email program

    What is the code to make a button that onclick opens the
    user's email
    program?
    Thanks.

    I think you can simply treat it as a URL -- prefaced with
    "mailto:". As in "mailto:[email protected]". Then, make a URL
    Request with it.

  • Is there a button that can show your deleted messages

    Is there a button that can show your deleted messages

    Add-ons are contained in Firefox; they don't have any access to programs running on your computer. The following add-ons can monitor your bandwidth usage in Firefox.
    * https://addons.mozilla.org/firefox/addon/datafox/
    * https://addons.mozilla.org/firefox/addon/minimeter/
    Any good software firewall lets you control which programs connect to the Internet.
    * https://en.wikipedia.org/wiki/Comparison_of_firewalls
    If you need to see how much bandwidth various programs use up, look for a bandwidth monitoring tool.
    * http://www.softpedia.com/get/Network-Tools/Bandwidth-Tools/

  • How to display image?

    Hi all,
    How to display image from the database table in the adobe form by using web dynpro abap?
    I want to display image in the adobe interactive form by using web dynpro abap.
    Please help me.
    Regards,
    srini

    Hi Srini,
    If you go through the article you might have seen the following piece of code
    *** Send the values back to the node
      lo_el_z_if_test_cv->set_static_attributes(
        EXPORTING
          static_attributes = ls_z_if_test_cv ).
    " here ls_z_if_test_cv has the image in XSTRING format which has beeen retrived using METHOD get_bds_graphic_as_bmp of CLASS cl_ssf_xsf_utilities
    " In  your case you need to just use the select query n fetch it from your table; ( provided your image is store in XSTRING format )
    How is your image stored in your database table ?
    Regards,
    Radhika.

  • I upgraded to OSX.8 and cannot load MS Encore. I desperately need some email files from ENCORE. Is there a program that can open my ENCORE email files?

    I upgraded to OSX.8 and cannot load MS Encore. I desperately need some email files from ENCORE. Is there a program that can open my ENCORE email files?
    SLM01

    Do you mean Entourage? It appears you have Office 2004 or older. Those are PowerPC apps only and will not run in Lion or later. If you need access to those emails like, "RIGHT NOW!", then I would suggest purchasing Office 2011 for Mac. Outlook is the new Office email client in 2011 and can import your older Entourage data.

  • What is a good spreadsheet app that can open Xcel spreadsheets

    What is good spreadsheet App that can open and work with Xcel spreadsheets

    Have a look at the following:
    http://itunes.apple.com/sg/app/quickoffice-pro-hd-edit-office/id376212724?mt=8&l s=1
    http://itunes.apple.com/sg/app/office2-hd/id364361728?mt=8&ls=1
    http://itunes.apple.com/sg/app/documents-to-go-premium-office/id317107309?mt=8&l s=1
    http://itunes.apple.com/sg/app/polaris-office/id513188658?mt=8&ls=1

  • Is there an application that can open idd files besides InDesign?

    I create customized training documents, and they have gotten too large to be supported in MS Word. So, I'm looking at moving over to InDesign, but not everyone on my team will need all the power of InDesign. For example, my editors only need to modify the copy as needed. For such minor work, I do not want to purchase 10 copies of InDesign. Is there an inexpensive application out there that can open idd files for minor editing? If not, has anyone used Photoshop to create a graphically rich 200 page document, and used Elements for text editing?

    No comment on Photoshop/Elements aside from that being like using a screwdriver to hammer a bolt into a lemon. Possible, but probably messy and likely to leave a sour taste...
    Now, on to the InDesign portion of the question.
    You do not need for your editors to have InDesign.
    Option 1) Use MS Word (or any other text editor) to edit the copy of all the stories. Pro: common app that you already have. Con: unable to see results in final file.
    Option 2) Use Adobe InCopy to edit the copy of all the stories. Pro: InCopy can 'open' InDesign files to allow editors to see the effect of their copy changes. Con: new application to purchase and learn.
    InCopy is made for what you have in mind, so long as the minor editing is all text.
    http://www.adobe.com/products/incopy/
    HTH
    -mt

  • Is there a command that can open & close a dialpeer on a specified time

    Is there a command that can open & close a dialpeer on a specified time on a router

    In Callmanager Express and SRST, you can block certain patterns and therefore certain dial peers based on time of day, day of week, and date. See the following links.
    Callmanager Express
    http://www.cisco.com/en/US/products/sw/iosswrel/ps5207/products_feature_guide_chapter09186a00802d23e0.html
    SRST
    http://www.cisco.com/en/US/products/sw/iosswrel/ps5207/products_configuration_guide_chapter09186a0080392682.html
    You can accomplish this with Callmanager by using Time of Day Routing. See the following link.
    http://www.cisco.com/en/US/products/sw/voicesw/ps556/products_administration_guide_chapter09186a00803edbaa.html
    Hope this helps. If so, please rate the post.
    Brandon

  • How to read bytes(image) from a server ?how to display image after read byt

    How to read bytes(image) from a server ?how to display image after reading bytes?
    i have tried coding tis , but i couldnt get the image to be display:
    BufferedInputStream in1=new BufferedInputStream(kkSocket.getInputStream());
    int length1;
    byte [] data=new byte[1048576];
    if((length1=in1.read(data))!=-1){
    System.out.println("???");
    }System.out.println("length "+length1);
    Integer inter=new Integer(length1);
    byte d=inter.byteValue();

    didn't I tell you about using javax.imageio.ImageIO.read(InputStream) in another thread?

Maybe you are looking for