CSV Exporting Error - comma delimited

Hi All,

I’m trying to write a script that exports all my schedules at once in a comma delimited format.

I run into 2 issues:

  1. I receive the following error: Dereferencing a non-pointer. in My ScheduleView.Export node.

  2. Whenever I run the script multiple times it only exports once? Like if I go to my csv files and take them out of the C drive and rerun the script again for another copy of the files, nothing shows up in my C drive again?

Any help with both issues would be greatly appreciated

You are providing a string (the schedule name) rather than the ViewSchedule element.

Awesome! That gets me all my csv files!
One last question, is there a way to filter out the "ScheduleView(Name = " in front of each schedule export?

Sure. Currently you’re just converting the element object to a string, which is why you’re getting all that extra stuff. All you need to do is use the view Name instead. You can either use the Element.Name node or you can use append.Name in your code block instead of just append.