userName() issues with claims - InfoPath Dev
in

InfoPath Dev

userName() issues with claims

Last post 09-07-2016 04:11 PM by javicartin. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 09-07-2016 03:28 PM

    userName() issues with claims

    Hi, I am having this issue with claims and the username value.

    We have an InfoPath form created on 2003 version, then, it was moved to SharePoint 2007 and now to SharePoint 2013. On SharePoint 2007 and InfoPath 2007 we had the field currentUser with default value userName(). Now on SP2013 we are using claims authentication, so, when I add this field currentUser to the form , I got this on the form; ยด , see attachment with images.


    We had an issue when hidden a button and the solution was to add a rule with this format, previously we only had the value like jcartin. And the solution was to add the claims format in order to fix the issue.


     Now, we are seeing that this claims format is affecting other rules, for example, we had some rules to hide - disable a field and this is not working anymore, for example, this rule persue to gray-out a field, this is the rule configuration,

     

    The rule is seeing a value in a field which is based on a data connection pointing to a SharePoint list in the site where we have users as items including columns like name, username like jcartin.

    Any idea of what format or rule configuration can we use to point to the old format like before for example, the rule to interpreter username as jcartin and not i:0#.w|domain\jcartin , thank you.


  • 09-07-2016 04:11 PM In reply to

    Re: userName() issues with claims

    Hi, I changed the rule condition from is not equal to to do not contains and it is picking the username and it is working by now, thank you

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