Whenever a users clicks on the icon in a repeatable group, the item id of the entry is written into a list in the user (favorite list with text fields)
Now I try to show a repeatable group with the entrys that have the unique id that are attached to the user profile
Is this the right way? Is there a better alternative?
I think I know what you are trying to accomplish, and for the longest time I did that exact same solution. However, once I figured it out, I facepalmed.
In your data set called “Users” you can create a new type, call it “Favorites,” and for the type, select “Item” (or whatever you called the thing you want to favorite), and click on 'This is a list". That can be seen here.