Forum Discussion

Alpar's avatar
Alpar
Senior Member
3 years ago

Saving Tree List elements

Hi everyone!
I have a treelist in my project and I would like to save each row to be able to check later on if any of the rows have modified.
What options do I have, which one would be the best? I'm thinking maybe a csv file, assigning every row to a new variable or creating an array?



Thanks!

1 Reply

  • tphillips's avatar
    tphillips
    Frequent Contributor

    You could create a JSON representation and save it to a text file? It is really up to you. I would note that while a CSV file could work, it won't preserve the parent/child relationships.

    You would likely need a script function to write it out as JSON though.