Hi Callum,

That was my other option but I was wanting to avoid yet another data source.

Regards,

Paul


On 25 July 2013 08:15, Web Admin <[email protected]> wrote:

> That's the problem. It will never be blank but there is the chance the
> specified item won't exist. Best bet is probably to upload a placeholder
> pic and set that as the default value.
>
> Regards,
>
> Paul
>
>
> On 22 July 2013 15:10, Chris Grist <[email protected]> wrote:
>
>>  This is using 2007?****
>>
>> ** **
>>
>> I did a similar thing recently in 2013, however it was a rule based on
>> when a field was populated, when the url for the image was incorrect, it
>> would just show a broken icon.****
>>
>> ** **
>>
>> Can you set a condition on the button to only execute the rule if LOGO is
>> not blank.****
>>
>> ** **
>>
>> *From:* [email protected] [mailto:[email protected]] *On
>> Behalf Of *Web Admin
>> *Sent:* Friday, 19 July 2013 2:56 PM
>> *To:* ozMOSS
>> *Subject:* Re: InfoPath 2010 - "If Exists" condition****
>>
>> ** **
>>
>> 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 <[email protected]> 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 | [email protected] | www.sharepoint-tips.com | 
>> @ishaisagi<http://twitter.com/ishaisagi>
>> | MVP Profile <https://mvp.support.microsoft.com/profile/Ishai>  ****
>>
>>  ****
>>
>> *From:* [email protected] [mailto:[email protected]] *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
>> [email protected]
>> http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss****
>>
>>   ** **
>>
>> ___________________________________________________
>> This message is intended only for the use of the addressee.
>> This email and any attachments are confidential and may
>> contain legally privileged information or copyright material.
>>
>> If you are not the intended recipient, you are hereby notified that any
>> use or
>> dissemination of this communication is strictly prohibited. If you
>> received
>> this e-mail in error, please notify us immediately by telephone on +61 8
>> 8338
>> 2833 or by return email and delete the original message. It is important
>> to
>> check for viruses and defects before opening or using attachments. Beach
>> Energy
>> Limited accepts no liability for any damage caused by this email or its
>> attachments due to viruses, interference, interception, corruption or
>> unauthorised access. Thank you.
>>
>> Please consider the environment before printing this email.
>>
>> _______________________________________________
>> ozmoss mailing list
>> [email protected]
>> http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss
>>
>>
>

<<image001.jpg>>

_______________________________________________
ozmoss mailing list
[email protected]
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss

Reply via email to