Hi, i’ve created a basic comment section, but when i tested i noticed that the comment i’ve made in another account is not saving the username neither the picture in his pfp.
Hi there, @Grimm… I see you have privacy rules on the User data type, so my first thought is those rules are getting in the way of the desired result. Want to check and see if that is what’s happening?
for some reason the Current cell’s is not showing on the placeholder and idk why, because i have another list and in tha list the username is saved when posted.
Not sure how you’re looking to do it but. The way I have mine set up is this. I created a separate data type called “comment” additional to post.
So. I create a “comment” data type. This has a few fields like “comment body” (text), “comment creator” (user type). Also. Make sure your “Post” data type has the “comment” data type created, and make it a list of things. So you’ll have a list of comments as part of a post data type if that makes sense. Same way an user type can have a list of texts or images stored.
When I create a new comment I do it with a “Send” button. This button activates the workflow: Create a new thing > Comment > (now set up the fields of the comment body to the input’s value, and set the comment creator as current user). Step 2 of the workflow I do a “make changes to thing > post > list of comments add result of step 1”. Result of step 1 is the comment you just created. So you essentially just added a comment to the post’s list of comments. Now you can retrieve the post’s comments in your repeating group.
In the repeating group, set data type as a comment. Data source is “repeating group post’s list of comments”. Then you can retrieve current cell’s comment (text body), and current cell’s comment creator’s (username/name whatever). Voilah. Notifications work similar as well to comments (at least how I did it). If you still can’t figure out later on, I’ll be happy to post some screenshots of my workflows : )
I honestly don’t get what you’re doing here, and you didn’t mention my comment about privacy rules, so I’m guessing you checked them and there is no issue there. That being said, putting an expression in an element’s Placeholder field will not result in a value being stored in a data type if that input’s value is referenced in a workflow. Rather, you would need to put the expression in the Initial content field in order for it to be saved. Again, though, I have no idea what you’re doing, so who knows if this response will be helpful.