Searching for the list of customer for a particular product

0
There is a shopping app . there is a list of products  and being an admin when i search for a particular product , i should be able to get the list of customers who have purchased for the particular product . How can i do this ? 
asked
1 answers
1

Hi Nithyashree. In your domain model there should be an association between product and customers. On selection of a product you should call a microflow. In that microflow use a show page activity and pass the object as the parameter and show a page. Now on the page use a data view widget (set its data source to context and choose the object you passed). Inside that data view you can use list view. set it's datasource to database and then on the topmost tab you can see an option for association for product and customer. You can refer to the image below . Hope it helps.

answered