Os it possible to create custom DataSets in script?

Posts: 4
Hello,

Its been a while since i have worked with ATVO and scripts. Last time i wanted to achieve a custom ordering of the current race standings ticker. Nick provided me with a workaround where i could inject my own dataset into the ticker and it worked quite okay while running. The problem was that the designer totally did not like the custom dataset and the theme could not be opened anymore withouth manually editing the xml file.

Has there been some update on that? Is it maybe easier now to have my own dataset that i can update from code?

Greetings
Simon
Posts: 785
I don't remember the details of last time. What exactly do you want to achieve?

We do have Custom Dataset items which you can fill with any data and use for databinding purposes. Perhaps you can simply use a script to fill a Custom Dataset item and use it that way?
Posts: 4
https://members.iracing.com/jforum/posts/list/2350/3314657.page
This was the solution you posted for me. If this supported without braking the theme im happy enough :)
Posts: 4
Hello Nick,

i am a bit stuck with using the Custom DataSets.
As far as i understand it i can only Add Values as string but not as IEntitySessionResult as in you previous solution.

I don't think i can replicate the behaviour with the provided Custom DataSets. Unfortunately though your old code seems to have stopped working too.
Posts: 785
Can you check if the example implementation in this post would work for you? I am looking to enable this in a future version.
Posts: 4
I might take a look at it later.
But i think i already know why the previous code is not working anymore:
Ir created a class named CustomDataSet but now there already is a class named like that.
Posts: 785
This update is now released on the alpha channel.