How to change Created By column's display format?
-
06-10-2020 - |
Question
I want to change the display format of Created By column in SharePoint 2010. It is right now displaying username like LastName, FirstName.
I want to change it's display format to FirstName LastName.
I want it to whole SharePoint site collection or web application if possible.
Note:- I do not want to use code for that.
Solution
Finally I got it using calculated column.
I have created one Single Line of text column named with User & make its value as calculated value to =Me. By that i get a user name like corp\Hardik.Patel (domain\username) in single line of text. after that i had made it hidden so it will not be shown into UI (add new form / edit form).
After that i have created one calculated column with having calculation like below
=PROPER(REPLACE((RIGHT(User,LEN(User)-INT(FIND("\",User)))),FIND(".",(RIGHT(User,LEN(User)-INT(FIND("\",User))))),1," "))
After doing all this, I am able to get the desire output in my calculated column as Hardik Patel.
Thanks for efforts. I really appreciated that. :)