I’m building a marketplace and want a way for vendors and customers to message each other in their respective log in portals/profiles on the app. I’ve seen a few similar posts but theyre older and reference the old interface so I’m having. bit of a hard time following.
This is an MVP so just whatever is most simple (no bells and whistles necessary)
Thank you!
Old solution still work. start from data: Data Structure
Go to the Data tab and set up:
- Conversation:
Participants
(List of User): Users in the conversation.Messages
(List of Message): Messages linked to this conversation.
- Message:
Content
(text): The text of the message.Creator
(default field): Automatically tracks who sent the message.Conversation
(Conversation): Links the message to its conversation.
- User:
Conversations
(List of Conversation): Tracks conversations the user is part of.
UI Setup
- Conversations List:
- Add a Repeating Group to show all conversations for the current user.
- Data source:
Do a Search for Conversations
whereCurrent User is in Participants
. - Display: Show the name(s) of other participants (e.g., a dynamic text field).
- Messages View:
- Add another Repeating Group to display messages for the selected conversation.
- Data source:
Current Page's Conversation's Messages
. - Display: Message
Content
andCreator
.
- Message Input:
- Add a Multiline Input for entering the message.
- Add a Send Button to trigger sending.
This topic was automatically closed after 70 days. New replies are no longer allowed.