One of the restrictions of SharePoint I always stumbled upon when clicking a SharePoint site together was the one of duplicate column names. I bet you’ve all seen it. You’re creating some columns (list or site ones) and suddenly SharePoint gives you this error:
This code will clear the “forbidden” column names array and give you a visual confirmation when you can go on.
I hope this little trick will help some of you guys. Use it with wisedom however. ’till next time!