ATVO by Appgineering
Download
Read-only

Os it possible to create custom DataSets in script?

7 posts 4,644 views Started 17 Jun 2020, 12:34
Showing 1–7 of 7 posts
Simon S.
Original poster

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 Thissen Appgineering
Reply #1

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?

Simon S.
Reply #3

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 Thissen Appgineering
Reply #4

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

Simon S.
Reply #5

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 Thissen Appgineering
Reply #6

This update is now released on the alpha channel.

Archive · Read-only

New replies have moved to Discord.