Change "Created by" field

Hi everyone

within a “data type” in bubble I create entries via thirds party post request, filling several predefined data fields. This works all fine. However, I would like to assign these entries to a user, in order to be able to show the new entries to the logged in user. Can I manipulate the “created by” field and set it to the needed “user id” over third party post request?

Or how could I do this? I was also thinking about adding a data field to the “user” and the aforementioned “data type” and match it that way. But I cant figure out how to display this exact entry to the user in a repeating group.

Hope you understand my question :slight_smile:

Appreciate your help
Dominic

Hi there, @spali… if I understand your post correctly, the short answer is that you cannot manipulate Bubble’s built-in Creator field. So, you would have to add your own field (with a field type of User, of course) to your data type(s), and then you can populate that field with the appropriate user(s), and you can use that field in privacy rules and in constraints on searches for repeating groups. Make sense?

Hope this helps.

Best…
Mike

thank you @mikeloc that helps a lot!!!

1 Like

Hi @spali,

I’m having the same issue, and I’ve created a new field called owner, but I’m not sure where to go from here.
Could you elaborate on how you resolved this problem?

Regards,
Virendra

Just set the Owner field to the User (assuming it’s a User type field).

Yes, I’ve done that, but how should I display data to that user?

If you mean how do you show only data that was ‘created’ by that User (i.e. the new User field is the current User), then just use the new User field in the same way you would use the built in created by field (or any other field for that matter)…

I.e. 'New User Field' is current User