Leaderboard SaveUserScore

0 votes
Hi, App42 support team:

    I use scoreboard service, and call  ScoreBoardService.SaveUserScore to save the score.

But SaveUserScore  will insert a record into the score board. and it din't delete the old score.

And this may result many record for one user.


there are 10 score record for one user.

USERA           1002

USERA           1001

USERA           1003

USERA           1005



My advice:   USERA      +     latest scores.

 I think one user only have one record.

Is there a way to finish it?


Thank you!
asked Aug 22, 2014 in App42 Cloud API-BaaS by riovoxtools (45 points)

1 Answer

0 votes
Best answer

Hello Riovox,

Thanks for your valuable feedback. 

You can use edit score value by id method for your use case where you can edit score of user. This will  include following steps to achieve it:

  • First call Get last score of user This will give you last score of user along with scoreId.
  • Edit the user score based on score id which you have received in above method and edit the score value with last score and new score.

Let us know if it helps.



answered Aug 22, 2014 by hs00105 (2,005 points)
selected Aug 23, 2014 by riovoxtools
Thank you! It's a good way!
And It will be better if you can combine the two interface to one interface .
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on support@shephertz.com