problem with xdImage:getImageUrl - InfoPath Dev
in

InfoPath Dev

problem with xdImage:getImageUrl

Last post 09-29-2005 11:11 PM by Patrick Halstead. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 09-29-2005 05:38 AM

    problem with xdImage:getImageUrl

    Hello,

    I work on an ASP.NET application which must in a first time get infopath xml file and display it in a web browser!

    I use the xsl file of the view in my infopath template to transform the form.
    I have a problem with the xdImage:getImageUrl question:

    <xsl:if test="function-available('xdImage:getImageUrl')=1">
    <div>fonction getImageUrl supportée</div>
    <img class="xdInlinePicture" hideFocus="1" alt="Cliquez ici pour insérer une image" tabIndex="0" xd:xctname="InlineImage" xd:CtrlId="CTRL83" xd:binding="my:image_facultative" xd:boundProp="" tabStop="true" xd:inline="my:image_facultative" src="{xdImage:getImageUrl(my:image_facultative)}"/>
    </xsl:if>

    the test is always false!! I made no change to the view.xsl file given by the xsn file.
    So I can not display any picture.

    I can extract the picture and display it normaly but I have a problem of name because it is in an extensible section and I can not know which picture name I must display

    Anyone can help me to solve this problem?
  • 09-29-2005 11:11 PM In reply to

    Re: problem with xdImage:getImageUrl

    Hi Kakashi1978 and welcome to our forum!
    You can do this, but I don't know the details. We have a free evaluation verison of a downlevel forms viewer. Why not just install that for viewing in IE? Go to Downloads->Free and click on Forms Viewer. The first link is the zip file with installation details.

    Patrick Halstead [InfoPath MVP]
    InfoPathDev
    Patrick Halstead
    Project Manager at Qdabra
Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.