Skip to content
AppgineeringAppgineering
Shop
Read-only7 posts · 4,644 views · Started 17 Jun 2020, 12:34

Os it possible to create custom DataSets in script?

Archived: discussion moved to DiscordDiscord
Simon S.Original poster
#1

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

Nick ThissenAppgineering
#2

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?

#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.

Nick ThissenAppgineering
#5

Can you check if the example implementation in this post would work for you? I am looking to enable this in a future version.

#6

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.

Nick ThissenAppgineering
#7

This update is now released on the alpha channel.

This thread is archived.

New replies have moved to Discord.

Continue on Discord