List of Static Objects put in random order when session starts
Hello: I'm looking to create an app that contains around 100 relatively simple objects (an image and a few boolean properties) that do not change. I would like the definition of those objects to be self-contained in the model if at all possible. Each time a new session of the app is started, the objects should be placed into a random sequence that the user will then consume. A good analogy would be a solitaire game, with the card images being stored in the model. Can anyone point me in a good direction for achieving that? Thanks in advance.
You could just retrieve the list with Mendix, put it in a Java action which then returns the list sorted in random order