Sadly no. The error is coming from InfoPath when clicking the "Set Image" button in Edit mode.
I think I've hit the limitations of the InfoPath rules and any XPath expression on the field itself. On 19 July 2013 13:37, Ishai Sagi <is...@exd.com.au> wrote: > You mean: > http://web.archive.org/web/20120904060007/http://lucassmith.name/2008/11/is-my-image-loaded.html<http://web.archive.org/web/20120904060007/http:/lucassmith.name/2008/11/is-my-image-loaded.html>? > **** > > ** ** > > ** ** > > **[image: Description: Description: C:\Users\Brian\Pictures\EXD > Logos\Extelligent logo no text.jpg]***Ishai Sagi* | Solutions Architect > 0488 789 786 | is...@exd.com.au | www.sharepoint-tips.com | > @ishaisagi<http://twitter.com/ishaisagi> > | MVP Profile <https://mvp.support.microsoft.com/profile/Ishai> **** > > ** ** > > *From:* ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] *On > Behalf Of *Web Admin > *Sent:* Friday, 19 July 2013 12:01 PM > *To:* ozMOSS > *Subject:* InfoPath 2010 - "If Exists" condition**** > > ** ** > > Hi all,**** > > ** ** > > I have a button in my form which sets the URL value for a read only > Picture control (bound to a Hyperlink field). The images are located in a > SharePoint 2007 Image Library in another farm.**** > > ** ** > > On button click I have a rule with this action:**** > > ** ** > > Set a field's value: concat("http://2007site/path/", LOGO, ".png")**** > > ** ** > > If the image doesn't exist I was just to see a broken icon but instead it > throws an ugly 404 error. **** > > ** ** > > Anyone know a way to validate the URL prior to setting this field's value? > No server-side code allowed and I'm hoping to avoid creating a new > datasource just for this.**** > > > **** > > Regards,**** > > ** ** > > Paul**** > > _______________________________________________ > ozmoss mailing list > ozmoss@ozmoss.com > http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss > >
<<image002.jpg>>
_______________________________________________ ozmoss mailing list ozmoss@ozmoss.com http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss