Row Owner Column Data Entry Bug

Hello Gliders,

Team ID:
GGh7ONYWj1CCklx6N8Ei

App ID:
5XYz3u2nGGV86reMd9ls

Description
This is our Client Portal. Clients belong to Companies.
Our Role column/Key Row Owner Column is the Company ID.

For Clients/Users to sign up, and when they click (Launch) (workflow action) a new row is added to the Companies table, and the Row ID is submitted into their user profile’s Company ID column (which is again the Role/Key Row Owner Column), the Row ID is then added to that field successfully, however about 40 seconds later it’s gone, deleted, or auto-removed.

I checked the community and there’s no problem with users editing their Row Owner Column fields. When I then add it manually through the Data Layer, it stays, and doesn’t get removed.

So I don’t know what’s the issue. Please help.

How to replicate
Here’s a screenrecording of how to replicate the issue:
(Screen Recording 2024-11-17 at 6.25.07 PM.mp4 - Google Drive)

You mention Roles. Which column have you set as a Role column in your user profile configuration?

Few things to note:

  • Roles cannot be set from the app for security reasons. You can only set a rule via the data editor or via the API. Roles | Glide Docs
  • A row owner column should only contain an email address or a value that would match any value in the column designated as the Role column. I only point this out because I see that your RowID column is also set as a Row Owner column and I’m not sure what your intention is with that.
  • While you can set the Role column as a Row Owner column, I don’t usually recommend that because it leads to confusion. It works and and is probably fine in your case, but I usually prefer to have a Role column just to hold the user’s role, and a separate row owner column to designate which user roles have access to that row.
2 Likes

I’ve set Company ID as the Role column in the user profile configuration. Because what I want users to see is their company content.

Even if I followed your hypothesis I’d still need to manually add each new company’s roles in that new column for each new company, and that is not scalable. Users should be automatically enrolled into their own company and company team, so eventually there must be a way to do it.

If you have access to Glide API, I would suggest using the API to do it.

As part of this flow, use an API call (I see you have Business plan) through the Call API action to set the ID, instead of using the built-in set columns action.

1 Like

If you could share a bit more insight into how to set it up, I’d be really grateful.

I would recommend using the Make integration. Here is a video that I made some time ago that demonstrates how it can be done.

https://www.loom.com/share/8612d71b136249f5903cde3872276321

5 Likes

Thank you Darren, this is very helpful. Just to confirm, when Make edits the Row Owner column, the edited, added values will stay there and not get deleted, correct?

Yes, that’s correct. But you don’t need to use Make to set owner columns - it’s only required if you want to edit/set either the Role or Email columns. It works because it uses the Glide API.

2 Likes

Can’t thank you enough. I managed to set it up and now it’s working just fine.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.