Sign In Register

How can we help you today?

Start a new topic
Answered

purging testing data on platform

Is there a way to purge the players, leader boards, etc., used for testing from the GameSparks platform?


Best Answer

Hi Roman,


I thought you were looking to remove it all in one go, apologies, if you want to delete entries one by one its best to do it in the Manage Tab in the portal, if you navigate there, click on Leaderboards, then click edit on your Leaderboard of choice, you'll be able to see that you can delete entries by simply clicking on the delete icon on the right hand side. Check the image below for reference, if you have any more questions just let me know.




Thanks,

Liam


Hi Roman,


You can use the following to drop a Leaderboard in Cloud Code.

 

Spark.getLeaderboards().getLeaderboard(shortCode).drop();

 

You can also drop a running total or a Leaderboard while doing this, you can read more about this here.



Thanks,

Liam

Thanks Liam.

For Leaderboard data, I didn't try the cloud code, but was able to go to MANAGE/LEADERBAORDS and then editing my leaderboard allowed my to delete entries.

Answer

Hi Roman,


I thought you were looking to remove it all in one go, apologies, if you want to delete entries one by one its best to do it in the Manage Tab in the portal, if you navigate there, click on Leaderboards, then click edit on your Leaderboard of choice, you'll be able to see that you can delete entries by simply clicking on the delete icon on the right hand side. Check the image below for reference, if you have any more questions just let me know.




Thanks,

Liam

Yes, thank you.

Hi Roman,


The best way to purge all test data would be to have a Multi Stage setup in place for your game. You can read more about it here. With this in place you can simply copy a Snapshot into the next stage when ready. When you do this the copied Snapshot will contain your games Configuration but the collection data will have been cleaned so you wont have to worry about removing each individual test user, test leaderboard entry etc...


Thanks,

Liam

Login to post a comment