i need a filter when i select phone only phone will come in gallery list.or i select laptop only laptop will come in gallery list and same goes with moniter
Hi Shubham,
Find the solution OML attached with this.
I want you to understand how I prepared the single Category_OnClick client action, instead of keeping 3 separate actions for each category. I've passed a parameter and then assigned it to the current category on the screen. Refreshing the data just does the job.
Also see that in your data aggregate I've added a new filter. Find it out and understand what is it for.
Cheers!
Hi,
For above scenario I would suggest you can create one static entity for tags, in this static entity you can store values like laptop, mobile, monitor.... etc. Then when adding product details attach this tag with product. Something like in product details table you can take one tag identifier, possible values will be value of static entity so laptop, mobile.......
Then when filter is required you can filter the records on the basis of this static entity.
regards
How to pass the value from aggregate to screen. Suggest assigning in action something like this. The record filter is already done.
Assuming currently for getting the product listing on screen you have some aggregate or data action. So in this aggregate or data action you just need to create one join with static entity. Then you can apply the filter on the basis of static entity values.
If still am not able to clear then please help to share the screenshot of data action or OML.
Here is the oml.
Thankyou so much for Your help