We created search, write, detail, and delete buttons through the data grid. I would like to create an additional button called reply so that when I click on a post, it will bring up a page that allows me to reply to the post, and when I reply, it will create a new post, can you help me? I tried to create it personally, but the post is created, but there is no difference with the question post.
asked
Woo Ju Kim
1 answers
1
An example of a solution could be:
Create a self-reference to the Post entity in your domain model, you can name it Post_ReplyingTo for example.
Add an action button to the datagrid with a Microflow connected to it.
Send the selected Post (question) as parameter to the Microflow.
Create a new Post (answer) and set the Post_ReplyingTo reference to the original Post (question)
Show a page that shows the newly created post (answer), and the original post (question) over the association Post_ReplyingTo.