Hi I have these items in my model:
Session (of type Object)
Session_List (An array with objects of type Session)
I have the following Storage variables:
Current_Session (of type Session)
All_Sessions (Of type Session_List)
In my UI pages I use the "Set Storage variable" action to set the value for Current_Session object and it's attributes. This seems to work fine.
However when I try to populate the All_Sessions array using the "Set Storage Variable" I cannot as I do not see it in the list of storage variables to set.
What I am trying to do is store a list of Sessions, I don't know beforehand how many there will be, however no more than 50. I also want to be able to retrieve the most recent so my idea was to use the index to retrieve the Session objects in the order they were created.
Am I going about this in the right way?