Because you have everything wrapped in a function, that function won't fire unless you call it.
There are a number of things you're doing in your script that don't make a lot of sense. You're defining the SPAddMultipleListItems function, but also never calling that.
I'm not sure what "example code" you're using, but you might want to revisit it.
M.
There are a number of things you're doing in your script that don't make a lot of sense. You're defining the SPAddMultipleListItems function, but also never calling that.
I'm not sure what "example code" you're using, but you might want to revisit it.
M.