a while ago I made a couple of leaderboards for testing and learning, and I don't need them anymore, is there anyway to get rid of them? They do not show in configurator, but still exist in NoSQL, and they don't show up in remove sections. Should I just leave them in peace?
cheers,
Armin
Best Answer
C
Customer Support
said
over 5 years ago
Hi Armin,
The capability to drop leaderboards (and individual partitions of leaderboards) is available via cloud code, you can read more about it here. The example below should get you started. Once dropped they will be removed from the list in NoSql.
var leaderboard = Spark.getLeaderboards().getLeaderboard("LeaderBoardShortCode");
The capability to drop leaderboards (and individual partitions of leaderboards) is available via cloud code, you can read more about it here. The example below should get you started. Once dropped they will be removed from the list in NoSql.
var leaderboard = Spark.getLeaderboards().getLeaderboard("LeaderBoardShortCode");
leaderboard.drop(true);
Thanks,
Liam
s
some 001
said
over 4 years ago
Hello,
I think the accepted answer might work on existing leaderboards, however, I did the same thing OP did, and then manually deleted the leaderboards from the Configurator, they are (should be) deleted correctly, but I can still see them in the NoSQL collection list, all of them.
Can you please tell me how can I remove them from that list?
3 people like this
O
One More Turn
said
almost 4 years ago
I'm having the same issue as some 001
1 person likes this
K
Karthick Ragavendran
said
over 3 years ago
When we try to drop the leaderboard after actually deleting the Leaderboard from Leaderboards panel. The below error appears in Test Harness. It's not possible to get rid of the created leaderboards from NoSQL Explorer.
"message": "TypeError: Cannot call method \"drop\" of null (event/EVE_TESTING.js#229)"
armin ghajar jazi
Hello GameSparks,
a while ago I made a couple of leaderboards for testing and learning, and I don't need them anymore, is there anyway to get rid of them? They do not show in configurator, but still exist in NoSQL, and they don't show up in remove sections. Should I just leave them in peace?
cheers,
Armin
Hi Armin,
The capability to drop leaderboards (and individual partitions of leaderboards) is available via cloud code, you can read more about it here. The example below should get you started. Once dropped they will be removed from the list in NoSql.
var leaderboard = Spark.getLeaderboards().getLeaderboard("LeaderBoardShortCode");
leaderboard.drop(true);
Thanks,
Liam
- Oldest First
- Popular
- Newest First
Sorted by Oldest FirstCustomer Support
Hi Armin,
The capability to drop leaderboards (and individual partitions of leaderboards) is available via cloud code, you can read more about it here. The example below should get you started. Once dropped they will be removed from the list in NoSql.
var leaderboard = Spark.getLeaderboards().getLeaderboard("LeaderBoardShortCode");
leaderboard.drop(true);
Thanks,
Liam
some 001
Hello,
I think the accepted answer might work on existing leaderboards, however, I did the same thing OP did, and then manually deleted the leaderboards from the Configurator, they are (should be) deleted correctly, but I can still see them in the NoSQL collection list, all of them.
Can you please tell me how can I remove them from that list?
3 people like this
One More Turn
I'm having the same issue as some 001
1 person likes this
Karthick Ragavendran
When we try to drop the leaderboard after actually deleting the Leaderboard from Leaderboards panel. The below error appears in Test Harness. It's not possible to get rid of the created leaderboards from NoSQL Explorer.
3 people like this
Andrea Marchetti
same issue.
2 people like this
-
Documentation Notes
-
Design issues with user events
-
Using NoSQL
-
Runtime Collections vs Metadata Collections
-
Anonymous authentication from browser app
-
Modules
-
Movement With Unity
-
Problem with url parameters for downloadables
-
Querying NoSql GameSparks database
-
Challenge accesType
See all 2485 topics