RP tip for updating a point leaderboard

Hi all
Need help with a feature.

Context
I have a championship page and a championship event page including a points ranking to users.
On the event page, I have a RP of the results of the event with the points earned.

When the event is closed, an update is made in the data in order to add the point earned to the general classification… So far so good.

Now we are on the other page, championship where a RP is filtered by the number of points (general classification)

My problem is that I have a function that calculates the position gain gained or lost compared to the last event that was closed. Currently to do this I have a button for each user that I have to click to initialize this evolution of space gain or loss according to the currentCell index. It works but really not a good user experience, especially when you have to click 50 times

Do you have a trick to include this function as soon as the test is closed (test page)? Or possibly a button (championship page) that does it for the whole list?

I can’t access the currentCell Index of the RP (general ranking) in the WF API

This my button :slight_smile:

Add another data field that is ‘last score’ and then just do simply math to subtract from current score the last score.

Indeed, this field is already in place, when clicking on this button (user by user) it will caclul the current position and save the position before update.
I would like it to be done in one click for everyone but impossible to achieve it via another page (test at the closing) mainly in WF API, and on the general ranking page, I can’t access the currentcell index to perform this update.

you shouldn’t need to click any buttons to do it. Just use a dynamic expression current score - old score…whenever you update the current score, update the old score.

I know what you mean, I’m going to try something

This topic was automatically closed after 70 days. New replies are no longer allowed.