There are many things we do with SharePoint that can be either scripted or formatted that require some sort of code. In my previous post, I talk about how it can assist content creators, but what about people who are building things? Here are two examples that might inspire you to try this yourself, the first is a PowerShell script and the second some JSON code to format a List Column.
PowerShell
I knew ChatGPT could create code in Javascript and other languages, so I thought I’d see if it could create a PowerShell Script to do something useful. In this case I asked for a script to upload files to SharePoint Online. This is great if you want to create a outline code and that you can expand or use as is, if it meets your needs.
List formatting with JSON
JSON can be used to format List Items and Columns. There are many good examples include a large number in GitHub, but sometimes you just want to do something quickly and that is where ChatGPT can help save you from the frustration of Googling for examples. Simply ask for some JSON to format the item based on your criteria and wait for the magic to happen.
So there you have it. Two more ways that ChatGPT can help you with SharePoint. If you have some other ideas, I’d like to hear about it in the comments below.
Enjoy more blog content on the Resource Center.
In 2011 I started Canterbury Business Solutions with two business partners. We build solutions on the Microsoft stack, usually around SharePoint, .NET and SQL Server. Our business is built on experience and technical expertise built up over nearly 25 years in the IT industry.
In March 2015 we renamed our business to Stratos Technology Partners to signify the growth of our business outside of our home town and the strength of the partnerships we have with our clients.
On the 1st January 2017 I was received my first Microsoft MVP award for Office Apps and Services. Thank you to everyone who helped make this happen for me!
Reference:
Knutson, S. (2023). ChatGPT and SharePoint, what else can it do?. Available at: https://steveknutson.blog/2023/01/10/chatgpt-and-sharepoint-what-else-can-it-do/ [Accessed: 3rd February 2023].