Image not displayed programmtically stored in blob column

Hi,
I altered student table to store photoes of students. For this I added STIMG as blob, MIMETYPE,FILENAME,IMAGE_LAST_UPDATE COLUMNS to studentadmitted table. Image stored and displayed in report very nicely. With the following query
select "ROWID",
"ST_ID",
"FIRST_NAME",
"LAST_NAME",
"FFIRST_NAME",
"FLAST_NAME",
"COURSE_ID",
"SESSION_ID",
"CONTACT#" "CONTACT_H",nvl(dbms_lob.getlength(STIMG),0) IMAGE
from "#OWNER#"."STUDENTADMITTED"
Images are displayed in column but they have different sizes.
To control this I modified the query like this
select "ROWID",
"ST_ID",
"FIRST_NAME",
"LAST_NAME",
"FFIRST_NAME",
"FLAST_NAME",
"COURSE_ID",
"SESSION_ID",
"CONTACT#" "CONTACT_H",decode(nvl(dbms_lob.getlength(stimg),0),0,null,
'<img style="border: 4px solid #CCC; -moz-border-radius: 4px; -webkit-border-radius: 4px;" '||
'src="'||
apex_util.get_blob_file_src('P16_stIMG',st_id)||
'" height="75" width="75" alt="Product Image" title="Product Image" />')
detail_img
from "#OWNER#"."STUDENTADMITTED"
Report did'nt run with following error,
report error:ORA-06502: PL/SQL: numeric or value error: character to number conversion error
Win Server 2008
Oracle Database :11G R2
Apex Ver :4.2
Sajjad

Sajjad wrote:
I altered student table to store photoes of students. For this I added STIMG as blob, MIMETYPE,FILENAME,IMAGE_LAST_UPDATE COLUMNS to studentadmitted table. Image stored and displayed in report very nicely. With the following query
select "ROWID",
"ST_ID",
"FIRST_NAME",
"LAST_NAME",
"FFIRST_NAME",
"FLAST_NAME",
"COURSE_ID",
"SESSION_ID",
"CONTACT#" "CONTACT_H",nvl(dbms_lob.getlength(STIMG),0) IMAGE
from "#OWNER#"."STUDENTADMITTED"
Images are displayed in column but they have different sizes.Stick to declarative BLOB images as above. They can be resized in reports using CSS. Add a style sheet in the page Inline CSS property:
td[headers="IMAGE"] img {
  display: block;
  width: 75px;
  border: 1px solid #999;
  padding: 6px;
  background: #f6f6f6;
}where the <tt>IMAGE</tt> value in the attribute selector is the table header ID of the image column. Setting only one dimension (in this case the width) scales the image with the correct aspect ratio. (The border, padding and background properties are just eye candy...)
However, if the original images are large then scaling them in the browser this way is a huge waste of bandwidth and produces poorer quality images than creating proper scaled down versions using image tools. Downloading megapixel images and then reducing them to thumbnail size results in pointlessly pushing millions of bytes that will never be seen.
For improved performance and image quality, and where you require image-specific scaling the best approach is to use the database ORDImage object to produce thumbnail and preview versions automatically. Note that this is not possible in Oracle XE as Multimedia is not included

Similar Messages

  • Problem displaying PDF stored in BLOB column

    Hello everyone.
    I've been trying to follow this tutorial http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::p11_question_id:232814159006 on displaying PDFs stored in BLOB columns. This is being performed on Apex 4.2, with my DB running 11g. I've got my procedure, which I'll post below:
    create or replace procedure "PDF" (p_id IN gvo_documents.doc_id%type)
    is
        l_lob    blob;
        l_amt    number default 30;
        l_off   number default 1;
        l_raw   raw(4096);
    begin
        select contents into l_lob
            from gvo_documents
             where doc_id = p_id;
    -- make sure to change this for your type!
        owa_util.mime_header( 'application/pdf' );
        begin
            loop
              dbms_lob.read( l_lob, l_amt, l_off, l_raw );
              htp.prn( utl_raw.cast_to_varchar2( l_raw ) );
              l_off := l_off+l_amt;
              l_amt := 4096;           
        end loop;
            exception
               when no_data_found then
                  NULL;
            end;
    end;
    I am trying to run this through a PL/SQL dynamic region and while I don't receive any error's, the content displayed is a huge mess of garbled text and odd characters. I've tried to run this procedure on numerous other document types, including word files and jpeg images, all with the necessary changes in my procedure, and regardless of what I use, I still get a large mess of strange characters. Does anyone have any information or ideas about why this is happening?

    If I understand correctly, your requirements needs to be broken down into two problems:
    1) click link that pops up a window displaying a new APEX page
    2) an APEX page the displays the document, not downloads it.
    I haven't done #1 (yet).
    However, you may be able to generate a URL that points to the new page as part of the SELECT statement for the Report.
    This has a related question, but no answer yet:
    open pdf in popup browser window
    The key is target="_blank" for the anchor tag.
    To generate the URL, you should use the APEX_UTIL.prepare_URL() function.
    If that doesn't work, a Dynamic Action that does some magical JavaScript stuff may be needed.
    For #2, I lost the URL that showed how to display a PDF as part of a "form" page.
    From what I remember:
    Start with a blank page with one blank HTML region (all the Items go in the HTML region)
    Add an Item for the PK/Doc_ID
    part I forgot Create a Data Manipulation Process
    - Automated Row Fetch
    - On Load - After Header
    - (stuff for your table/view)
    part I forgot Create an (I believe) "File Browser" item type. For Settings:
    - Storage Type "BLOB column specified in Item Source" (and place the column name of the BLOB there)
    - MIME Type Column: (column name) -- since you have multiple types, this is a MUST HAVE
    - Filename Column: (column name) -- I highly recommend you have this.
    - Content Disposition == INLINE <-- this is the kicker
    Also, you will need a Browser Plugin for each of the MIME Types (otherwise, the browser may try to 'download' the file)
    Browsers can handle Image types internally. Adobe's plugin can handle PDFs. I don't know about Word/Excel.
    Again, I don't remember the exact details, but that should cover most of it.
    MK

  • Swing/bc4j - not visible gif stored in blob thru forms

    I have problem with displaying gifs stored in blob column through Forms. If the very same files are stored through swing client they are visible in both swing and forms application.
    In thread Displaying jpeg in JSP I saw that the reason for irregular blob behaviour could be its "forms background". What is exactly problem?
    Is it possible to update blob column in database somehow (reloading over 2000 gifs will be pretty uncomfortable and slow) ?
    I am using JDev 9.0.5.1 build 1605, DB 8.1.7., Forms 6i.

    It appears that Forms, while storing gifs, uses compression apparently not handled by JUImageControl. More on Metalink 16035040.6

  • OBIEE 10G Embedded Image not displayed on PDF

    Hi
    We have some embedded images (source on network share or on the webserver) on a dashboard. On the screen the images are displayed without problems.
    But if we want to print the dashboard (f.e. PDF) the images are not printed. In html-view the images would be displayed.
    Is there a known bug that images can't be printed on dashboard pages or do we have to embed them different?
    Thank you

    Hi Team,
    I do face the same issue of image not displayed in only pdf output format. Our client has deployed OBIEE 10.1.3.4.1 using Weblogic application server and is accesible through a secured url access.
    I have followed the fmap syntax to locate the image, also made sure the image is getting accessed through url, tried with different images of different sizes . In all cases the image display is appearing fine in HTML & Excel output. But not getting displayed only for pdf output.
    Can you please help me with this regard if am missing any specific setup for pdf output. Is there is any pointers or documentation available to get around this issue.
    Thanks in advance.

  • OBIEE 11G Embedded Image not displayed on PDF

    Hi
    I have some embedded images on a dashboard. On the screen the images are displayed without problems.
    But if we want to print the dashboard (f.e. PDF) the images are not printed. In html-view the images would be displayed.
    All the images are referenced with the fmap path.
    Any way to print the images in the pdf ?
    Thank you
    obiee 11.1.1.5
    O.S : Oracle Linux 5.6 x64

    Hi Team,
    I do face the same issue of image not displayed in only pdf output format. Our client has deployed OBIEE 10.1.3.4.1 using Weblogic application server and is accesible through a secured url access.
    I have followed the fmap syntax to locate the image, also made sure the image is getting accessed through url, tried with different images of different sizes . In all cases the image display is appearing fine in HTML & Excel output. But not getting displayed only for pdf output.
    Can you please help me with this regard if am missing any specific setup for pdf output. Is there is any pointers or documentation available to get around this issue.
    Thanks in advance.

  • JPG images not displayed correctly in Bridge and Photoshop (Mac OS)

    (Note: I have copied the content of this query from the Creative Suites forum where I originally opened it.)
    I am using CS4 under OSX 10.4.11 on a PowerMac G5 Quad with 23" Apple cinema display. Images which have been captured as JPG are displayed fine by Preview, but when opened in Bridge, Camera Raw or Photoshop. the colours are all "washed out". The attached screen capture should give an idea of the difference, with the upper being Camera Raw (image settings) and the lower being Preview. My monitor has been calibrated and I'm using sRGB IEC61966-2.1 colour space in Camera Raw and Photoshop. The colours displayed by Preview are pretty close to "real life". I find it virtually impossible to adjust the colours in Photoshop to get back to anything similar.
    After opening the image in Photoshop without adjustment, and Save As JPEG with embedded color profile, Preview displays the new image the same as Photoshop. Save As JPEG without embedded color profile, and Preview displays this copy just like the original. It seems that Photoshop is making different (incorrect) assumptions about what color space to use when there is no embedded color profile. Shouldn't it assume sRGB like virtually everything else (http://en.wikipedia.org/wiki/SRGB)? Or is its interpretation of sRGB incorrect? How can I fix this?
    Re: JPG images not displayed correctly in Bridge and Photoshop 

    xxxxyyyyz wrote:
    …If there is someone out there who has experience of obtaining decent colour management in CS4 on a Power PC, I would really like to know how you achieved it.
    That would be yours truly, and I hasten to reply because I may have some insights that can help you too.
    Just get it it out of the way, here's my setup:
    Photoshop 11.0.2 ("CS4"); VersionCue disabled and uninstalled.—2.5 GHz Power Mac (PPC) G5-Quad; 16GB RAM; mutant, flashed 550MHz nVidia GeForce 7800GTX 1,700MHz 512MB VRAM; ATTO ExpressPCI UL5D LP SCSI card; Mac OS X Tiger 10.4.11 and Leopard 10.5.8 boot drives; Spotblight, Dashboard and Time Machine permanently disabled; dual 22" CRT monitors; USB wireless 'n' available but connected to the Internet via wired Ethernet; 1 FW flatbed scanner; 2 SCSI scanners (one tabloid-size transparency scanner and a film scanner); various internal & external HDs; FW Epson 2200 and Ethernet Samsung ML-2850ND printers; 2 X Back-UPS RS 1500 XS units.
    I can unambiguously and in good faith represent to you that my color management, from capture to print, is as spot-on as anyone with any kind of setup can hope to achieve.  Unequivocally and without qualifications.
    Now, first things first:  Forget about trying to synchronize color management across the point applications lumped together only by Adobe marketing fiat into a variety of meaningless "creative suites".  Concentrate on Photoshop.  Do not try to use Bridge to synchronize anything.
    The "suites" are a totally artificial construct created by Adobe bean counters and marketing types.  The point applications (i.e. the individual programs clumsily bundled together, e.g. Photoshop, Illustrator, InDesign, etc.) are developed independently by separate engineering teams that are not only not in the same building, but in different cities, different states of the American Union, and even in different countries.  They have very little communication among them, if any, as evidenced by repeated posts in these forums by Photoshop engineering staff urging us, the end users, to let the other teams know in their own forums that a given problem exists and is actually affecting our work.
    Enough said about the cause of the problem.  The end result is that Color Management is at very, very different levels of progress and sophistication in each individual point application, with only Photoshop fully entitled to be considered state of the art.
    Secondly, a disclaimer:  I have been hanging on to my CRT monitors and take care of them as Jascha Heifetz used to take care of his Stradivarius.  I don't know what I will do if I manage to outlive the usefulness and accuracy of my CRTs (unlikely at this point).  I have despaired in futile efforts to bring the luminosity of any LCD monitor down to where I would feel comfortable calibrating and profiling it.  I believe my monitors are the foundation of my color management efforts.
    Especially if you have one of the extreme wide-gamut LCD or LED monitors, you'll face an uphill battle. 
    Be careful to avoid any version 4 icc profiles, whether canned or generated by your calibration software.  Stick to version2 icc profiles.  Ask the manufacturer of your calibration software/hardware if in doubt.
    Here are some not-too-recent, but thoroughly representative screen shots of the calibration results I obtain with my monitors, which I calibrate and profile often and regularly (I validate the calibration at least several times per month).
    In a nutshell, my color management practices and settings mirror those described by Bruce Fraser, Jeff Schewe, Andrew Rodney and Gary Ballard's site.  I have learned from all of them.
    My working color space is ProPhoto RGB.  I choose to work with PSD and PSB files.  As a long-time, rabid JPEG hater, I only rarely deal with JPEGs, using them sporadically to illustrate a point in this forum or elsewhere in the web.  My main output consists of prints.
    I only deal with tagged image files (files with an embedded color profile) and often recommend beating up with a baseball bat any moron that hands you an untagged file—figuratively of course, but I find the expression gets my point across unambiguously.
    Following is a screen shot of some of my pertinent settings:
    Note that I have never bought into the "suite" concept myself.  I do have and routinely use Adobe Illustrator 10.x, InDesign 2.x and Acrobat Professional 8.x, but they are all older, independent versions of each point application, licensed at different times.
    Be further advised, that the answer to many problems offered by Adobe engineers often is not to install VersionCue, or uninstall it, or at least disable it.
    Also, as outlined at the beginning of this post, concentrate on Photoshop, not on synchronizing applications that can't really communicate with each other, despite the claims of Adobe marketing hacks to the contrary.
    One big caveat, do not fall into this trap:
    xxxxyyyyz wrote:
    …I believe my problem has nothing to do with my monitor profile, for several reasons, but…
    …It seems extremely unlikely to me that…
    You either want to learn, or you don't.  You either want to solve your problems, or you don't.
    When you start arguing instead of studying, questioning advice instead of following it and detecting where you went wrong, you're on the right track to nowhere.  That attitude will get you there fast.  Remember you are the one with the problem, and only you can acquire the discipline to learn how to solve it.
    Go ahead and ask me anything that is not clear, just don't argue with me please, and don't tell me why you think Fraser, Rodney, Ballard and I are wrong.  You see, I am not experiencing any problem that needs fixing.  I have an interest in helping you, but not in hearing about your speculations, theories or conclusions.
    Good luck.
    Wo Tai Lao Le
    我太老了

  • CF slows down to a halt ... images not displaying

    My primary laptop on which I do all coding ...
    - less than 1 year old
    - Dell (cough) XPS M1730
    - Windows XP (latest)
    - ColdFusion Ver 8, developer edition.
    - No other issues with laptop
    Also running
    - SQL 2000
    - Synergy
    - Anti virus etc. changed Norton daily scan and unaware that I have picked up any viruses - I was my hands very well and often
    Over 6 months gradually CF has been slowly not display internal referenced <img src> tags.  External work fine.
    To the point now where most in our app do not display.
    Then in the past 3-4 days a lot of pages when called give Firefox or IE errors:
    Page will not display with too may users error.
    But there aren't any others.
    I go to all other web site, no issues with speed.
    I just cold warm booted the machine and now while page 1 appears, page 2, login, takes minutes to appear.  But on a beta server (also developer edition) it's instant.
    When I go straight into the browser, it works fine, albeit no images, crashes with a known bug (missing application variable), fix it, then resume, then just sits there forever.
    And there's no difference between the two machines ... well, not in "that" way.
    Adding to my confusion is ... I cannot get into the CF Admin panel.
    I can see it approve me, then it just spins.
    Nothing has changed on machine in past weeks EXCEPT traveling when I sign in to the usual plethora of wifi and other networks but never had a problem - except luggability
    I am thinking of, UGH, reinstalling Windows ... but why bother if it's working perfectly and only ColdFusion has an issue.
    Now COLD booted machine for 5 minutes.
    Everything seems better except CF still a BIT sluggish and still not "drawing" most images.  Able to access Admin panel.  Even if there images not displaying.
    Anyone any ideas?

    Thanks for your prompt reply ...
    We scoured for a folder like that and found none.
    What we DID find is that over the years of coding, we have a template count of 3,500 files in 130 folders, but the root where we start is about 1,500 files.   144 megs total size though.
    That shouldn't be too much?  Esp as our beta and production servers are using the same amount with no issues.
    Admittedly production is CF 7.X.
    Much more powerful machines but still.
    It would have made sense as that is the only thing on the machine that has "grown" ... but no luck.
    Does remind me of the day when our mail server got hacked and we had 100,000 outbound in the spool.  That was fun.: :)

  • Image not displaying in the Task Sequence Wizard. SCCM2012

    This is my question, so I will post the link here.
    http://community.spiceworks.com/topic/925727-image-not-displaying-in-the-task-sequence-wizard-sccm2012
    Bryan
    I captured an image from a PC that I am preparing to be deployed with Office 365. Once I captured
    the image, I went to the software library to add the operating system image. That seemed to go on without any issue, but when I look at the summary, I see the big yellow globe saying "in progress" it has not changed since yesterday afternoon.
    I then created the task sequence for this image
    to be deployed under Software Library, Task Sequences. When I selected the references tab, everything seemed to be in order with the exception of the "operating system image" under type. It was/is showing 0.0% Compliance.

    So, the problem described in the other forum post does not match the title of this thread. Are you trying to address two different things? These are unrelated btw.
    For the issue in the other thread, you'll have to troubleshoot your content distribution to the selected DP. The distmgr.log and pkgxfermgr.log (assuming you chose to distribute the image to a DP directly attached to your primary site) are the places to
    start and will show you exactly what's going on.
    As for the title of this thread, we'll need a lot more info to help you there.
    Finally, I would suggest you copy your questions from other sources into the thread -- this will help other folks in the future that may stumble upon this thread and will prevent any confusion.
    Jason | http://blog.configmgrftw.com | @jasonsandys

  • Pls hlep, Error message  "we don not currently support clop or blob column"

    I currently use the Oracle SQL Developer Ver.2.1-32 Bit on Dell PC.
    After I got the query result,I got the problem ; Disable to Export to any file type, there is message "No valid columns available for export, we don not currently support clop or blob columns"
    Remark : I don't have problem if use select *, but if I select some columns and add where condition the this message error will pop-up.
    Sample of my query as below attachment
    SELECT ColumnName_1, ColumnName_2, ColumnName_3 FROM TableName1
    WHERE UPDATE_DATE >= to_date('2011-02-10 01:00:00', 'YYYY-MM-DD HH24:MI:SS')
    AND ColumnName_1 IN 'xxx'
    group by ColumnName_1, ColumnName_2, ColumnName_3 ;
    SELECT ColumnName_1, ColumnName_2, ColumnName_3,COUNT(*) FROM TableName1
    WHERE UPDATE_DATE >= to_date('2011-02-10 01:00:00', 'YYYY-MM-DD HH24:MI:SS')
    AND ColumnName_1 IN 'xxx'
    group by ColumnName_1, ColumnName_2, ColumnName_3
    HAVING COUNT(*)>2 ;

    Last confirm question.
    Can I download the new version latest 3.0 EA4 for free ? Is this SW is free download, isn't it ?
    If yes, Pls suggest the link to download for me pls.
    Remark :
    I'm working for Seagate Thailand company, my current officail version from company download link is Ver.2.1.1.64.
    Thank you in advance for your support.

  • Displaying the image stored in Blob column

    Hi all,
    I'm trying to print the report with an image. I've stored the image in a Blob column and the format of the image is Jpg.
    I'm using the Reports 10g(10.1.2.0.2). When I'm trying to print the report, I'm getting an error Rep-62203. I want to know whether there are any settings which i need to set to display the image item. I mean to say that are there any registry settings.
    Regards,
    Alok Dubey
    Edited by: Alok Dubey on Dec 1, 2008 12:55 PM

    Hi all,
    I'm trying to print the report with an image. I've stored the image in a Blob column and the format of the image is Jpg.
    I'm using the Reports 10g(10.1.2.0.2). When I'm trying to print the report, I'm getting an error Rep-62203. I want to know whether there are any settings which i need to set to display the image item. I mean to say that are there any registry settings.
    Regards,
    Alok Dubey
    Edited by: Alok Dubey on Dec 1, 2008 12:55 PM

  • Displaying images stored in blob columns

    I've seen discussions on how to upload and download blob columns but I want to store a blob in the database and be able to display the blob (which is a jpg) as I would any other <img> on my web page. Instead of having to store the jpg on a file system somewhere, and use the data in the database to formulate a link to the image on the file share, I want to pull it right out of the blob. Does someone have a sample of how to do this? Can I do this?
    Thanks

    Laurence,
    If you uploaded the image via the Application Builder, you can use an image tag like so:
    &lt;img src="#WORKSPACE_IMAGES#my_image.jpg" /&gt;If you followed the upload/download how to, you should be able to reference an image like this:
    &lt;img src="download_my_file?p_file=1232897645" /&gt;Where 1232897645 is the unique ID of the uploaded image. To make referencing images easier, you could write a version of the download_my_file procedure that takes in the name of the image as a parameter.
    Sergio

  • Image stored in BLOB column crashes report's engine

    Hi,
    I have a report where I display logos stored in a BLOB column on the DB.
    The report is generated as RTF.
    When images have sizes of 624x168 or 423x324 everything is OK. One image, 1221x224, is crashig the report with a dr. Watson error.
    Any idea why?
    The size of the "bad" image file is 38K, and the "good" ones are about 300K.
    Monica

    Sajjad wrote:
    I altered student table to store photoes of students. For this I added STIMG as blob, MIMETYPE,FILENAME,IMAGE_LAST_UPDATE COLUMNS to studentadmitted table. Image stored and displayed in report very nicely. With the following query
    select "ROWID",
    "ST_ID",
    "FIRST_NAME",
    "LAST_NAME",
    "FFIRST_NAME",
    "FLAST_NAME",
    "COURSE_ID",
    "SESSION_ID",
    "CONTACT#" "CONTACT_H",nvl(dbms_lob.getlength(STIMG),0) IMAGE
    from "#OWNER#"."STUDENTADMITTED"
    Images are displayed in column but they have different sizes.Stick to declarative BLOB images as above. They can be resized in reports using CSS. Add a style sheet in the page Inline CSS property:
    td[headers="IMAGE"] img {
      display: block;
      width: 75px;
      border: 1px solid #999;
      padding: 6px;
      background: #f6f6f6;
    }where the <tt>IMAGE</tt> value in the attribute selector is the table header ID of the image column. Setting only one dimension (in this case the width) scales the image with the correct aspect ratio. (The border, padding and background properties are just eye candy...)
    However, if the original images are large then scaling them in the browser this way is a huge waste of bandwidth and produces poorer quality images than creating proper scaled down versions using image tools. Downloading megapixel images and then reducing them to thumbnail size results in pointlessly pushing millions of bytes that will never be seen.
    For improved performance and image quality, and where you require image-specific scaling the best approach is to use the database ORDImage object to produce thumbnail and preview versions automatically. Note that this is not possible in Oracle XE as Multimedia is not included

  • How to display image using Carousel in ADF using BLOB column DB

    Hello everyone ,
    I tried creating a Carousel component in ADF do display an image , but it seems to be not working .
    This is what i tried .
    1 ) Created an empty page .
    2) From data control drag and drop view object ( one of the column in DB is blob which saves the image ) as Carousel .
    3 ) Drag and drop the image over Carousel component ,
    Now what should be the source for the image ?? from expression builderi tried giving #{item.Image} images are not picking up .
    Could you please advice .
    --Keerthi                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Keerthi,
    You cannot display a BLOB as image as it is. You need to convert them to display in your UI.
    Check out this blog on how to use a servlet to convert the blob into image and display in the page.
    http://tompeez.wordpress.com/2011/12/16/jdev11-1-2-1-0-handling-imagesfiles-in-adf-part-3/
    -Arun
    P.S : Always mention your JDev version and the technologies used.

  • Image not displaying on a dynamic Table !

    Dear Friends,
    In my assignment, I would like to display the Status column of a table with different image as per the data received from backend system.
    Infact it is a dynamic table generation.  The code snippet is as below:
    IWDNodeInfo tabNode=wdContext.getNodeInfo().getChild("Reports_TAB");
    String colName="Status";
    String imagePath=tabNode.getAttribute(colName).toString();
    IWDImage colImage=(IWDImage)view.createElement(IWDImage.class, colName+"Image");
    colImage.setSource(imagePath);
    But problem, is imagePath is hold the value as DataAttributeInfo(DashBoardView.It_FinalTAB.Status), instead of actual image name.
    (Ya, Image is stored in src/mimes/Components/<component>/ folder, which is working absolutely fine with test example.)
    Because of this, image is not displaying on the table elements.
    Can anybody help me, how can retrive exact image name from the tabNode?
    Thanks in advance,
    Lakshmikantha

    Hi Lakshmikantha,
         Instead of Doing colImage.setSource() you have to do collmage.bindSource()
    IWDNodeInfo tabNode=wdContext.getNodeInfo().getChild("Reports_TAB");
    String colName="Status";
    IWDAttributeInfo imagePath=tabNode.getAttribute(colName);
    IWDImage colImage=(IWDImage)view.createElement(IWDImage.class, colName+"Image");
    colImage.bindSource(imagePath);
    What we have done here is when the table column is created we are mentioning that at runtime for each record the image source has to be taken from the attribute value of "Status". This will only work if at runtime the value coming in the Attribute Status has the image path (relative path).
    If for instance you dont have the image path coming from the backend but only the status code and you have to decide which image to show at runtime. This is mostly the case. Then under the node "Reports_TAB" you will have to create a calculated attribute of type String. The calculated attribute will generate a getter method which will accept the current record and return the string. You will have to write code to extract status from the current record and return the appropriate path.
    The binding of the Image table column should now point to the newly created calcuated field instead of the field Status.
    Hope this helps.
    Regards,
    Sanyev

  • LinkToAction Image not displaying in NWDS

    Hi,
    I am on NWDS version Version: 2.0.14.
    My imageSource file (abc.gif) associated with each LinkToAction type element displays fine in execution mode.  However, the image does not display in NWDS.  All I see is a blank in the layout where the link is.  I also have a blank text property because I only wish to show an image for the link. Images not showing in NWDS slows considerably my layout development. 
    Conversely, when I create an Image type element and I specify the imageSource file the same way, I see the image in both NWDS and in execution mode.
    My image files are stored appropriately in the mimes\Components folder.
    What could I be doing wrong?  Is this a bug with NWDS?
    Thanks,
    Kevin

    Probably a bug. Real WYSIWYG will be available in the new view designer implementation.
    Armin

Maybe you are looking for

  • BBP_INB_DELIVERY_CREATE-material number is not showing up in the VL33N

    Hi All, I am trying to create inbound delivery with reference to Purchase Order. While using BBP_INB_DELIVERY_CREATE to create inbound deliveries, the material number is not showing up in the VL33N screen but Material Description is coming. As you ha

  • Can't make Phone calls with Yosemite and iOS 8.1.1

    I purchased two brand new Apple products: MacBook Pro with Retina display, and the new iPhone 6. I would love to use this new feature of making phone calls with my macbook but cannot seem to make it work. It keeps saying "iPhone and macbook has to be

  • Where can I find a dedicated Notes app for Mac

    On my new MacBook Air I cant find a separate app for Apple Notes. The notes are now embedded in Mail app, which is inconvenient. On my other Mac the notes have always been a separate app on the dock, just like there is a separate app for iPad and the

  • Yahoo! Mail Vs. Gmail Which do you prefer & why?

    I'm in the process of transferring my exchange email account with 1and1.com to either Gmail or Y!mail since it's not working properly with the iPhone (i.e. Delete an email on the iPhone and it's not removing it from the server). I'd like to get feedb

  • Trying to Re-install, HELP HELP PLEASE HELP

    I am growing incredibly frustrated with my machine. In all honesty, I have had it! It won't log and capture, it keeps shutting down and has no sound. Everytime I ask for help I get some great information that is so wrapped up in jargon that I don't k