Sign In Register

How can we help you today?

Start a new topic

Can you dynamically create Data Types through cloud code?

https://support.gamesparks.net/support/discussions/topics/1000059818


^ Does the following post apply to the new data types? I want to create data types through cloud code.


Another note: The SparkGameDataService api documentation is really bad.




1 person has this question
1 Comment

Hi Ryan,


Yes you can create new data types by using the createItem call. You'll only be able to retrieve what you create by the id (using getItem) as you won't have any indexes set up to query with if you create items that way. I hope that makes sense. If you need anything else cleared up in the GDS documentation just let us know.


Regards,

Liam

Login to post a comment