Dynamic Image Url html view

Hi all,
I am currentyl trying to display an image, which can be accessed by a http-url refering to an external server.
The problem is, that that the displayed image is linked with the content...that means, that the image url has to be dynamic.
Does anybody know how to solve this problem. I am currently mapping an url to the url-input of the html-view, but by starting the application the following error occurs:
com.sap.tc.wd4vc.intapi.info.exception.WD4VCRuntimeException: No parser configuration entry for the tag HtmlView
Does anybody know how to solve this problem?
Thank you in advance.
Kind regards, Patrick

Hi Patrick,
Are you still looking for the answer?
Did you try the expression editor of the image control, where based on expression (ie., your content), image will be displayed.
Are you storing the data (from where you pass the content to next UI component or next screen) in a data store; and taking the data store value in the expression editor of the image component?
Let me know if it helps
Regards,
Vani

Similar Messages

  • PCUI - open New Window via Button (to call custom URL / HTML viewer)

    Hello group,
    I have followed the "Use CRM PCUI HTML viewer to call a custom URL" in order to create a custom URL to BW web template.
    However, instead of displaying the URL in a tab (this works fine), I want a Button in the Accounts view to open up a New Window displaying the URL there.
    Here is what I have done:
    Create Field Group & Structure
    Create Event
    - Usage: Layout-Relevant
    - Text: Web template call
    Added Event to Toolbar Group ACC_OIC
    Define Application Layout (CRMM_ACCOUNT) for Event
    - Position: New Window
    - Screen Element Type: HTML
    - my field group
    - my structure
    Define Application Set (COMM_BUPA)
    - my structure
    - my access class
    The button is there, when clicked the read-method of my access class is executed, but no New Window is opened with the URL displayed.
    Is there something I am missing? Can the HTML viewer not called in a new window?!
    I appreciate any input you can provide me.
    Thanks and regards,
    Erik

    I have the same problem. PCUI toolbar button open url http://www.google.com in new window   .
    It sames so easy open a link on web page.
    why so hard in PCUI !
    My god , who design the PCUI.
    anyone solve this problem , let me know please. Thanks!
    [email protected]

  • Dynamic Image - url

    Hi there,
    I'm working with 5.6.1 version and using the following way of parameter for a dynamic image it seems to work : alternative text url:{IS_GIS} where IS_GIS is a variable coming by an sql script, here the url http://www.affecto.lt/gfx/it_group_logo.gif.
    If I'm trying out with the 10.1.3.3.3 version it won't work....
    thanks
    Gian

    Hi Gian
    Are you getting an error or just no image, is the URL outside of a firewall?
    I assume 5.6.1 version is under an Application e.g. EBS, PeopleSoft?
    With 10.1.3.3.3 you are under the standalone release? If so, are you setting a proxy server upon startup to get to the image location?
    Can you post an XML snippet and the RTF field contents?
    thanks
    Tim

  • How do get a dynamic image to open in new browser window

    I'm using DW CS3, mysql (MAMP)   OS 10.6.2   I'm designing my online store.  I need the customer to be able to click dynamic image/thumbnails to view a larger image in a new browser pop up window 400 x 400.  An example of this functionality can be seen at :
    http://www.designpublic.com/spot-on-square-roh-dresser
    So far I can get the separate new browser window to open with the dynamic image, using the open new browser behavior, but the on click also advances to next page with the larger image. You have to press the back button to get back to the product page.  I want the customer to be able to see the product page , while viewing larger image, and then close larger image, and still have the product page open. I don't understand why 2 windows are opening.
    Thanks for the help people!
    William

    Hi
    I did look at it but, (and this is only my opinion, I do not like such effects) it is your decision.
    If you view source you will see -
    <a href="#" onclick="popWin('http://www.designpublic.com/catalog/product/gallery/id/12706/image/91883/', 'gallery', 'width=300,height=300,left=50,top=50,location=no,status=yes,scrollbars=yes,resizable=yes'); return false;" title="Spot on Square Roh Dresser" class="gallery-image-link"><img src="http://arcsmedia01.s3.amazonaws.com/catalog/product/cache/2/thumbnail/56x56/5e06319eda06f020e43594a9c230972d/r/o/roh_dresser1.jpg" alt="" /></a>
    Which is controlled by the javascript function
    popWin()
    which you can view using the firefoxe dev toolbar - view javascript function.
    PZ

  • How to display a dynamic image file from url?

    Hey,I want to display a dynamic image file from url in applet.For example,a jpg file which from one video camera server,store one frame pictur for ever.My java file looks like here:
    //PlayJpg.java:
    import java.awt.*;
    import java.applet.*;
    import java.net.*;
    public class PlayJpg extends Applet implements Runnable {
    public static void main(String args[]) {
    Frame F=new Frame("My Applet/Application Window");
    F.setSize(480, 240);
    PlayJpg A = new PlayJpg();
    F.add(A);
    A.start(); // Web browser calls start() automatically
    // A.init(); - we skip calling it this time
    // because it contains only Applet specific tasks.
    F.setVisible(true);
    Thread count = null;
    String urlStr = null;
    int sleepTime = 0;
    Image image = null;
    // called only for an applet - unless called explicitely by an appliaction
    public void init() {
                   sleepTime = Integer.parseInt(getParameter("refreshTime"));
              urlStr = getParameter("jpgFile");
    // called only for an applet - unless called explicitely by an appliaction
    public void start() {
    count=(new Thread(this));
    count.start();
    // called only for applet when the browser leaves the web page
    public void stop() {
    count=null;
    public void paint(Graphics g) {
    try{
    URL location=new URL(urlStr);
    image = getToolkit().getImage(location);
    }catch (MalformedURLException mue) {
                   showStatus (mue.toString());
              }catch(Exception e){
              System.out.println("Sorry. System Caught Exception in paint().");
              System.out.println("e.getMessage():" + e.getMessage());
              System.out.println("e.toString():" + e.toString());
              System.out.println("e.printStackTrace():" );
              e.printStackTrace();
    if (image!=null) g.drawImage(image,1,1,320,240,this);
    // called each time the display needs to be repainted
    public void run() {
    while (count==Thread.currentThread()) {
    try {
    Thread.currentThread().sleep(sleepTime*1000);
    } catch(Exception e) {}
    repaint(); // forces update of the screen
    // end of PlayJpg.java
    My Html file looks like here:
    <html>
    <applet code="PlayJpg.class" width=320 height=240>
    <param name=jpgFile value="http://Localhost/playjpg/snapshot0.jpg">
    <param name=refreshTime value="1">
    </applet>
    </html>
    I only get the first frame picture for ever by my html.But the jpg file is dynamic.
    Why?
    Can you help me?
    Thanks.
    Joe

    Hi,
    Add this line inside your run() method, right before your call to repaint():
    if (image != null) {image.flush();}Hope this helps,
    Kurt.

  • HTML View using an iView dynamically

    Hello Visual Composer experts,
    I want to use a SAP Enterprise Portal iView in a VC Model.
    For that I use VC HTML View.
    In the URL I put SAP EP IView reference, for instance :
    http://<xxx>:50000/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.sap.pct!2fevery_user!2fgeneral!2fcom.sap.portal.afpFavorites
    <xxx> stands for development portal.
    When I transport my VC model to quality portal I need to manually replace <xxx> by <yyy>.
    How can I avoid this ? How can I dynamically address the portal ?
    I found something about using "portal:" that will replace http://<server>:<port>/irj/servlet/prt/portal/prtroot/  but did not succeed to make it works.
    In the VC HTML view I tried to used "pcd" instead of "http" but again did not make it.
    Can someone give me a clue ?
    Rgds
    Gilles

    Hello Udi,
    Thansk for your answer. Let me try to clarify my need.
    I would like, for instance, to execute "My home" page in SAP EP using a VC HTML view.
    I want this to work in all my SAP EP systems (Development, Quality and Production).
    My current solution is :
    a VC model with an HTML view, a variable where URL is hardcoded @URL and passed to this HTML view (similar as what you describe)
    to import the VC model in each EP environment
    change the URL to address the EP
    deploy the model
    I'm looking for a way to achieve this without modifying my VC model (@URL ) in each environnement.
    So I'm looking for a way to address dynamically the system.
    As explained I did try, without succes, with :
    1) Using "portal:"  in the variable @URL
    2) using pcd parameter in the VC HTML view (I did not understand how to use it)
    I was expecting a dynamic way without calling a service.
    Kind Regards
    Gilles

  • How to include image or html dynamically in a JSP?

    I need to show the uploaded content in a jsp. It could be either a image or html file. How can i include these images or html files dynamically without affecting screen design.

    What the heck is 'screen design'? You mean the page layout?
    You could show in a popup div; JQuery will be your best bet for a prebuilt function to do that. But you'd need to put the uploaded file in a place where the browser can fetch it through an URL, or you need to create a servlet that can load and return the data to the browser.

  • Dynamic Image (.gif) from URL into adobe Form by SFP

    Hi all
    I post the comment of Shamila because I have the same problem
    I need to place an image in the Adobe form based on the url.
    I have written the following formcalc script in the image field form ready action
    ImageField1.value.image.href = "http://www.adobe.com/imageshome/pdfgift_home.gif"
    But when i view the form , the image field is empty, and when i click on the blank space of the image field, a popup appears to select the image............
    How can i show the image from url in the form..........
    Regards,

    Hello,
    have you checked these basics documents?
    When you need to send a picture into the offline form: another image question - using Regular ABAP not web dynpro and Display a logo dynamically in adobe form
    Where to start with scripting: http://www.adobe.com/devnet/livecycle/articles/lc_designer_scripting_basics/lc_designer_scripting_basics.pdf
    http://help.adobe.com/en_US/livecycle/es/FormCalc.pdf
    Also try: Re: Dynamic R/3 Image URL in Adoeb Form
    regards, Otto

  • In Mail 3.6 remote images in HTML messages display as blue squares with ? even though checked in viewing references.

    In Mail 3.6 remote images in HTML messages display as blue squares with ? even though checked in viewing references.

    Nurit,
    The point is that that button should not be there, if the preference setting is as you say. This indicates the preference setting is stuck, and that is what I was trying to help you resolve.
    The full purge is done as follows:
    Quit Mail, and in the Finder open Home/Library and locate the Mail folder. Control-click over the Mail folder, and choose Duplicate -- then drag the resulting copy to the Desktop for temporary backup. Next, open Home/Library/Preferences and find the com.apple.mail.plist file and drag it to the desktop.
    Relaunch Mail, which will open as though new, and when prompted to import anything DECLINE. Instead, re-enter your account info, and Mail will re-discover the account folders for your accounts, and all should be well, after setting preferences as you desire.
    Ask any needed questions, and keep us posted.
    Ernie

  • HTML Viewer: Copying images+text to another component

    Hi folks,
    I'm working on a Java app for a research project where I'd like to be able to view a webpage in one panel (with some HTML viewer) and then be able to select pictures AND text from it (web browser-style), click a button, and have it copy the images and text (even the HTML code behind it would be sufficient) to some JTextArea or whatever.
    In other words, I'm trying to find an HTML viewer or browser which will be able to select both text and images and be able to copy the selection (as the real objects or even as HTML code, either way) so that it could be sent to some other component.
    I believe that JEditorPane supports viewing HTML, but you can only copy text from it. So, can anyone recommend an API class or even some 3rd party software (no funds since it's academic research, so free is preferable) that can do anything close to this? Alternatively, does anyone know of some other work around -- for example, selecting in IE or another browser, then dragging it onto some component into the Java app?
    Thanks a ton for any help!
    -Jon

    Try this..
    create a new flex project and add a folder called "src"
    create a new MXML component named "VideoComp.mxml" and copy/paste
    <?xml version="1.0" encoding="utf-8"?>
    <mx:VBox xmlns:mx="http://www.adobe.com/2006/mxml" width="400" height="300">
    <mx:Script>
    <![CDATA[
    [Bindable]
    public var videoWidth:int = 300;
    [Bindable]
    public var videoHeight:int = 300;
    ]]>
    </mx:Script>
    <mx:Label text="Vidoe" />
    <mx:TextInput text="{videoWidth}" id="w" change="this.videoWidth = int(w.text);" />
    <mx:TextInput text="{videoHeight}" id="h" change="this.videoHeight = int(h.text);" />
    </mx:VBox>
    create a new MXML component named, "SharingComp.mxml" add copy/paste this..
    <?xml version="1.0" encoding="utf-8"?>
    <mx:VBox xmlns:mx="http://www.adobe.com/2006/mxml" width="400" height="300">
    <mx:Script>
    <![CDATA[
    [Bindable]
    public var videoWidth:int;
    [Bindable]
    public var videoHeight:int;
    ]]>
    </mx:Script>
    <mx:Label text="Sharing Comp." />
    <mx:Label text="{videoWidth}" />
    <mx:Label text="{videoHeight}" />
    </mx:VBox>
    and here is the main.mxml file
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
    xmlns:src="src.*">
        <mx:Script>
            <![CDATA[
                private function doSomething():void
                 sharingComp.videoHeight = videoComp.videoHeight;
                 sharingComp.videoWidth = videoComp.videoWidth;
            ]]>
        </mx:Script>
       <src:VideoComp id="videoComp" />
       <mx:Button click="doSomething()" label="copy" />
       <src:SharingComp id="sharingComp" />
    </mx:Application>
    Hope this helps,
    BaBo,

  • Dynamic Image Issue url:{concat(../DIR_ID2,'/',Filename_ID357)} command

    Hello.
    I'am actually using dynamic images depending of a filename and directory. This is working fine.
    My problem is that my dummy image have a form (is in horizontal) and the dinamic images that i want to import to my template have multiple forms, i have images in vertical and images in horizontal and when i import an image that is in vertical , the image stays adjusted to my dummy image.
    In this specific case , the customer have more than 20 companies with different logos ,of different forms, and when i import the logo to my template i want that the logo maintains his original form and not the form of the dummy image.
    Anyone know if this is possible?
    Thanks in Advance
    Paulo Duarte
    Edited by: user4256563 on 5/Mai/2011 10:24

    Send me the template, xml file and the image object file to [email protected] and I will take a look.
    Thanks,
    BIPuser

  • Why does my custom HTML newsletters absolute image urls get changed into imap: urls

    I made a custom newsletter email in which all my images are absolute URLS. I use Thunderbird to send it out through my imapped google email account. Once I send it the URLs get changed and for some reason brings my tracking URL into the image URL as well from the bottom of the page.
    See link below in reply

    [https://gist.github.com/justawebbie/9240967 My Code to look at]

  • Need code for dynamic insertion of a MIME object(image) into WebDynpro View

    Hi experts,
    I am attempting to insert an image into a view at runtime, using lines of code.
    I know that this code must be present in the WDDOMODIFYVIEW method of that particular view.
    However I am not sure about the lines of code which can do this. Can anyone please help me out with this........
    Thanks in advance,
    Adithya.

    Hi.,
    Yes you can add MIME at runtime ., Check this.,
    [MIME at run in WDA |Can mime object be created at run-time?;
    also ., [Display logo at runtime in WDA|Mime logo not displaying;
    hope this helps u.,
    Thanks & Regards
    Kiran

  • Showing dynamic images in BI Publisher PDF report

    I defined a RTF report layout in BI Publisher. Almost done, but one requirement missing...
    I should be able to include a dynamic image (so every "object" on the report has it's own image).
    At first I embedded the base64 converted image in the XML output, but then I am running into the 32K limit. (Small pictures render fine).
    Although Marc Sewtz sort of promised in June 2008 (!) : "One issue, which we'll address in the next version of Application Express, is the 32k limit on report columns." on his blogpost http://marcsewtz.blogspot.com/2008/06/one-question-about-pdf-printing-feature.html , it still not addressed.
    So I tried to embed the image in the report using a trick described on the forum (and BIP documentation), by embedding a dummy picture and set the "Alt-text" of the picture to
    (as an example) : url:{'http://www.oracleimg.com/us/assets/oralogo-small.gif'}.
    The strange thing is, that works fine for HTML Output and Excel output, but not for Word and PDF (why it does work for Excel and not for Word is very mysterious....). And of course I need a PDF output.
    I also tried to embed a FO snippet:
    <fo:block>
    <fo:external-graphic src="url:{'http://www.oracleimg.com/us/assets/oralogo-small.gif'}" />
    </fo:block>
    But that doesn't (seem to) work on any output...
    But
    <fo:block>
    <fo:external-graphic src="D:\Users\rhartman\Documents\PrintScreen Files\Screenshot004.jpg" />
    </fo:block>
    does produce the image on the PDF output.
    So who has an idea how to solve this issue?? You'll be rewarded with a lot of pionts ;-)
    TIA
    Roel

    Hi Carsten
    That was exactly* I was looking for. Maybe I should Google more in German ;-)
    The main problem was that I defined my image outside the first repeating group (that doesn't repeat, it's always just one object) - the first group is followed by 7 more.
    Just like the "Name" (that's positioned outside the group in the document header), I positioned the image above the table representing the group.
    Doing that, the "Name" is filled correctly, the Image only when the Output Format is Excel or HTML - not Word or PDF ... makes no sense but that's tje way it is.
    After moving the image inside the group....it works great!
    (One more thing...the image size is fixed to the image you use as "dummy". Is there any way to make that more flexible, because now some scaling happens...)???
    @Trent: That was the way we initially did it, but when the size of the row exceeds 32K...you know what happens.. And even with a small image the 32K limit is hit easily
    The way I use it now (very similar to Carsten's description) there is no limit....
    Thank you all!
    Roel

  • Dynamic images in reports -- PDF output

    In Reports uilder I can link an image object to a URL as described in the product help. This works well with an HTML output but in PDF only the image URL appears.
    How could I solve this problem?
    Thank you.

    Hi,
    The URL method of including images in valid only for HTML output.
    The Reports Builder Help on "Images says that:
    You can add an image to a report by:
    - selecting a column in the database that contains images
    - importing the image from a file into the report layout
    - linking an image object to a file
    - for HTML output, selecting a column in the database that contains URL links to images or linking an image object to a URL
    If you reference a URL for an image, the image is displayed when you format your report for HTML output. For other output formats, the URL text displays in the Paper Design view
    The reason for this is that Oracle Reports will only write the URL in the output. In case of HTML output, the browser can understand the URL, so it will fetch the image from the URL and show it. But this cannot be done by Acrobat Reader.
    For PDF output you will have to use one of the other methods of inserting an image.
    Navneet.

Maybe you are looking for