xpath errors when converting infopath 2003 template to infopath 2007 - InfoPath Dev
in

InfoPath Dev

xpath errors when converting infopath 2003 template to infopath 2007

Last post 02-06-2009 05:13 PM by Hilary Stoupa. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 02-06-2009 06:59 AM

    xpath errors when converting infopath 2003 template to infopath 2007

    Hi,

     I am currently converting my infopath 2003 template to work in Infopath 2007.

     However I am getting the following error:-

    The XPath Function used to retrieve the current user's role (xdXDocument:get-Role) is not supported by Infopath Forms Services.

    This function currently appears in an rule XPath expression.

    Before publishing the form template, remove the call to this unsupported function from the XPath expression.

    I have tried everything and can't get rid of these two errors. 

    Any help most appreciated.

  • 02-06-2009 05:13 PM In reply to

    Re: xpath errors when converting infopath 2003 template to infopath 2007

    Do you want your form to be browser compatible? Somewhere in your form (condtional formatting, a rule) something is being based on a user's role, and browser compatible forms can't have user roles....

    If you don't want browser compatibility, go to Tools/ Form Options / Compatibility and deselect the browser compatibility check box....

    Hilary Stoupa

Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.