0

I want to enforce unique values for "Created by" column. the "Created By" column unique. When I have to add a new element and an item really exist in the same "Created By" list - it shows an error message.

How to do this?

enter image description here

  • Creator? You mean SharePoint default Created By column? – Ganesh Sanap Jul 16 '19 at 7:34
  • Yes i want to enforce unique values for "Created by" column. – Goshky Jul 16 '19 at 7:42
  • 2
    You can create event receiver on item adding and item updating events to check if created by user is unique in list or not. – Dikesh Gandhi Jul 16 '19 at 7:48
  • 1
    Event receiver is one good way. If you are doing it on client side then you can fetch all list items and check if there is already an entry for current user in Created By column and show the error message(But it will affect performance if list items are more). – Ganesh Sanap Jul 16 '19 at 7:54
  • 1
    Per my test, there is no OOTB method to achieve it. – Lisa Chen MSFT Aug 2 '19 at 8:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.