Hello everybody
We have for testing purposes often to populate the PlayerData and Leaderboard tables.
How to upload from an external prepopulated table data file (such as mySQL, or .csv/.xls) into the Playfab demo project?
Hello everybody
We have for testing purposes often to populate the PlayerData and Leaderboard tables.
How to upload from an external prepopulated table data file (such as mySQL, or .csv/.xls) into the Playfab demo project?
Sorry, but that's not an option in our current model. Statistics, which are what are used to generate leaderboards, specifically belong to player accounts. So you would actually need to generate a player account, then update the statistics on it. We do plan to add more tools for setting up example data in titles like this in future, but your best bet right now would be to write a script which does a login for a player, then updates the stats for that player from your data. If you do this, please be sure that you make calls in serial fashion, always waiting on the response from the last request before issuing a new request. If it's a large number of calls (more than a few dozen), you may also want to add a short delay between calls, so that you don't wind up trying to make hundreds of calls over a short period from a single IP Address.
1 Person is following this question.