How to reset user-specific columns in glide apps

I’m building a football evaluation app using Glide, and I’ve hit a roadblock I can’t figure out a clean workaround for.


:brain: Scenario:

  • Each coach (user) evaluates multiple players.
  • Each player has multiple skills (dribbling, passing, etc.).
  • I use a selected JSON object stored in the User Profile table to dynamically populate a helper table (let’s call it Questions Helper) with related skill data when the coach taps “Start Evaluation.”
  • The Questions Helper table has a user-specific column for Rating, which the coach fills in per skill.

:red_exclamation_mark:The Problem:

When the coach switches to a new player, I want to reset all ratings to blank for the current user.

However:

  • I cannot delete and re-add 100 rows each time (not scalable, bad UX).
  • I can’t trigger custom actions from the Rating component, so I can’t hook into it to reset or tag the rating with a session ID.
  • The Ratings are user-specific, but they persist even when the data is re-populated from JSON → I need them to visibly reset.
1 Like

You can use a variation of the below technique:

1 Like

Yes, I have checked them before and they work efficiently for Boolean values but rating is not working

Only the user himslef can clear the value he wrote.

You need to make hime click to somthing to do that

Aft he clicks on submit, I need to clear all ratings

You can’t.

The closest you can get is to employ some variation of the technique that I linked to earlier.
What I would do is something like the following:

  • “Reset” the values on submit by invalidating the ParentID and hide all the values
  • When an evaluation starts, display the skills as a collection
  • Use an Item click action to rate each skill. The action should first clear the user specific column in that row, and then open a custom form screen to select the rating.

It may not be the greatest in UX terms, but I believe that’s about the best you can do.

Ok, so make a relation from the user row to this row you want to clean.

then use set culom values to clear the row from the relation in the user row.

Note you must have a single relation to make this work

That would work, but there would need to be 100 relations (or Single Value->Whole row) columns, and 100 corresponding Set Column Value steps. Which is why I didn’t suggest it.

Can you explain me this approach more, I don’t quite understand

This, will create a lot of fuss, another idea that works by deleting all rows and adding the 100 rows everytime the user clicks on start evaluation but this will not work with multiple users

Also, I have built about 10 apps on glide, when can I become glide expert?

Sure, but I can’t do it writing.

You will have to book a quick call with me

Can you explain how it would work

Well, you start by creating a series of Single Value->Whole row columns, one for each row. The first will take 0 from start, the second will take 1 from start, then 2 from start, and so on. Then in your workflow, you string 100 Set Column Values actions one after the other, which each one operating through a separate Single Value column.

This is a decent approach if you have a fixed and relatively small number of rows, but I really wouldn’t recommend it for 100 rows. But you can always try it if you want. I could imagine it would be incredibly slow :man_shrugging:

well,I think there is no other choice, so I have to use this method why don’t glide build something effective to handle such common issues

This shows me that I am a glide certified expert in experts hub but I dont get the badge in community, why’s that?


I have fulfilled all of the requirments that are required to be a certified glide expert

Hi guys, I am a newly glide certified expert and was looking to collaborate with other experts but when I tried going to slack or its forum pages both have their links expired. So, can someone add new invite links and then let me know please – I will be really glad.