Hi there,
So right now I have a repeating group which I want to display the name and content of previously saved “issues” and be able to edit them.
However it is not populating on preview. I think I am going wrong somewhere on the DB structure but not entirely sure… any ideas would be welcome.
Here are some screenshots of how the DB is managed rn:
Again any thoughts would be greatly appreciated!
flusk
May 21, 2024, 6:05pm
2
Hey @agamemnon
What is the data source of the repeating group?
@Huseyin from Flusk | Discover the #1 Security and Monitoring Tool for Bubble
Hey @flusk !
The RG data source is Current User’s Issues
flusk
May 21, 2024, 6:14pm
4
Do the issues in your database added to the list of the user?
You can validate this by checking the user you logged in in the app data and check that user’s issues list field if that’s empty or not.
@Huseyin from Flusk | Discover the #1 Security and Monitoring Tool for Bubble
Currently I think it is empty, as seen here, if that is what you are referring to, however they do save correctly in the issue datatype
flusk
May 21, 2024, 6:20pm
6
Yes. That’s what I was referring to. Because in your system, there are two steps. 1) save the issue to the database (which you did correctly), 2) add the recently created issue to the current user’s list (usually right after create a thing
action, with a make changes to the current user
action by using the result of step1
.
With the already created ones, you can add these two issues to the user using the edit button for that user in the app data.
@Huseyin from Flusk | Discover the #1 Security and Monitoring Tool for Bubble
Thank you so much for your help so far! But I’m getting stuck here and can’t quite figure out how to configure step 2 as you described.
flusk
May 21, 2024, 6:32pm
8
You have to use the Make changes to the current user
action. You cant change the current user with make changes to a thing
action.
Then, in the fields, you will add Issues add Result of Step1
.
@Huseyin from Flusk | Discover the #1 Security and Monitoring Tool for Bubble
Okay perfect thank you so much!
system
Closed
July 30, 2024, 5:52pm
10
This topic was automatically closed after 70 days. New replies are no longer allowed.