SharePoint JavaScripts

  • Home
  • Products
    • Classic DFFS
      • Product page / buy a license
      • Installation manual
      • User manual
      • DFFS Plugins
        • vLookup for SharePoint
          • Product page
          • User manual
          • Setup example
          • Change log (SP2010 and SP2013)
          • Change log (SP2007)
          • Forum
        • SPJS-Cascading Dropdowns
        • SPJS-Autocomplete
        • SPJS-Lookup
        • Other plugins
      • Styling forms
      • Forum
      • Change log
    • Modern DFFS
    • SPJS Charts for SharePoint
      • Product page / buy a license
      • User manual
      • SPJS Charts – Custom Datasource
      • v6 Change log
      • v7 Change log
    • CommentBox for SharePoint
      • Product page / buy a license
      • v2.x Installation manual
      • v3.x Installation manual
      • v2.x Change log
      • v3.x Change log
    • Modern CEWP
  • Partners
    • Partners
    • Partner registration
  • Forums
  • Archives
  • Contact
  • Copyright and disclaimer

Trouble with field and current user email matching

Home › Forums › Modern DFFS › Trouble with field and current user email matching

Tagged: currentuseremail Email Person field

  • This topic has 2 replies, 2 voices, and was last updated 10 months, 1 week ago by AdamP.
Viewing 2 reply threads
  • Author
    Posts
    • July 24, 2024 at 11:45 #37824
      AdamP
      Participant

        Hi Alexander

        v1.0.63.0
        I ran into a bit of a problem with what I thought was a fairly straightforward set of rules that just compare person fields with the current user.
        A simple match of person field email to current user email failed, even though it was the same person (me).

        I think it’s partially self-inflicted in so far as for some reason our email addresses and user principal names are capitalised (in Entra), and the rule comparison is expecting an exact match on the email string.

        It looks like your code is doing some conversion to all lowercase in some situations, but not all. I’ve added in extra logic that acts as a workaround but hopefully could be a relatively simple fix for a future release?

        See attached screenshots for a better explanation.

        [[fieldValue:PersonField.email]] – lowercase
        [[fieldValue:Author.email]] – not changed
        [[fieldValue:Editor.email]] – not changed
        [[currentuser:email]] – not changed
        [[currentuser:loginName]] – lowercase

        Thanks

        Adam

        Attachments:
        1. email-fields.png

        2. Rule-config-workaround.png

      • July 25, 2024 at 10:03 #37827
        Alexander Bautz
        Keymaster

          Thanks for the detailed description – I’ll get this fixed in a new version over the weekend or early next week.

          Alexander

        • July 26, 2024 at 11:47 #37831
          AdamP
          Participant

            Thank you, that would be great. If you need any more info please let me know.

        • Author
          Posts
        Viewing 2 reply threads
        • You must be logged in to reply to this topic.
        Log In
        Your cart is empty
        Are you happy with the support?
        I don't currently charge anything for support, but I spend a lot of time supporting both paid and free solutions. I appreciate it if you put some money in my piggy bank!
        Icon by mynamepong from www.flaticon.com
        Log in

        Recent Topics

        • Bug Report – by Keith Hudson
          4 hours, 26 minutes ago
        • Issue with vLookup prefill after upgrading to latest Classic DFFS by Travis Goodman
          5 hours, 10 minutes ago
        • Wishlist: Looking for a checklist component by Travis Goodman
          5 hours, 4 minutes ago
        • Modern DFFS v1.1.14.0 has been released by Alexander Bautz
          1 week, 1 day ago
        • Condtional style on a field not working on v1.1.12.0 by Marcus Khoo
          1 week, 3 days ago
        • Bug in lookup field by Amal Vellappillil
          1 week, 4 days ago
        • Modern DFFS v1.1.13.0 has been released by Alexander Bautz
          1 week, 6 days ago
        • Realted items enabled? by Wendi Watson
          2 weeks, 3 days ago
        • DFSS Send email – deprecated soon? by Jon Whisman
          2 weeks, 2 days ago
        • Modern CEWP – Hide or remove Saturday and Sunday from List Calendar View by Wayne Thompson
          3 weeks, 1 day ago

        Recent Replies

        • Travis Goodman on Wishlist: Looking for a checklist component 5 hours, 4 minutes ago
        • Alexander Bautz on Wishlist: Looking for a checklist component 3 days, 8 hours ago
        • Alexander Bautz on Condtional style on a field not working on v1.1.12.0 1 week, 3 days ago
        • Alexander Bautz on Bug in lookup field 1 week, 4 days ago
        • Amal Vellappillil on Bug in lookup field 1 week, 4 days ago

        Recent Posts

        • Modern DFFS updated with new installation method
          by Alexander Bautz
          March 2, 2025
        • Modern DFFS v1.0.70.0 has been released
          by Alexander Bautz
          October 13, 2024
        • Modern DFFS v1.0.68.0 has been released
          by Alexander Bautz
          September 15, 2024
        • Modern DFFS v1.0.67.0 has been released
          by Alexander Bautz
          September 12, 2024
        • Modern DFFS v1.0.66.0 has been released
          by Alexander Bautz
          September 4, 2024

        Forums

        • General discussion
        • Modern CEWP
        • Modern DFFS
        • Cascading dropdowns
        • SPJS-Lookup
        • Classic DFFS
        • vLooup for SharePoint
        • SPJS Charts for SharePoint
        • Comment box for SharePoint
        • Autocomplete
        • SPJS-Utility
        • Requests

        Search Forums

        Copyright © All Rights Reserved.
        • About the solutions
        • Archives
        • Classic DFFS
          • DFFS: Installation manual
          • DFFS: Privacy Policy
          • DFFS: Styling
          • DFFS: User manual
          • DFFS and plugins: Change log
            • dffs-change-log-archive
          • DFFS Plugins
            • SPJS-Autocomplete
            • SPJS-Cascading dropdowns
            • SPJS-Lookup
        • CommentBox for SharePoint
          • CommentBox Change log
          • Commentbox v3.x change log
          • Installation manual
          • Installation manual v3
        • Contact
        • Copyright and disclaimer
        • Forums
        • General tips
        • Home
        • License types and Partner program
        • Modern CEWP by SPJS
        • Obtain License Code
          • CommentBoxForSharePoint
        • Partner registration
        • Partners
        • SPJS Charts for SharePoint
          • SPJS Charts for SharePoint user manual
          • SPJS Charts for SharePoint v7: Change log
          • SPJS Charts for SharePoint: Change log
          • Using custom datasource in SPJS Charts v7
        • Thank you!
        • vLookup for SharePoint
          • vLookup Change log
          • vLookup setup example for SP 2010 and 2013
          • vlookup-2007-change-log/
          • vLookup: User manual