hi there
In an app that manages bookings of assets, I have:
When the free assets are displayed, the user may multi-select some assets and them trigger a โbookโ action.
When the search parameters screen is displayed, it is currently showing the parameters from previous search. I would like it to start with empty data instead.
Anyone can recommend the best way to empty SearchParams table after the โbookโ action occurs on Booking table?
Thanks in advance
If understanding of the requirement is clear, you could evaluate creating another action that clears SearchParams table search parameters of start date and # of days.
You could group this โClear Searchโ action with the โbookโ action( group after โbookโ action) and trigger this group action โBook n Clearโ instead of only โbookโ action.
Thanks Suvrutt
Thatโs exactly what i would like to do.
But when defining a new action of type โGrouped: execute a sequence of actionsโ, i need to the parameter โfor a record of this tableโ, which is basically selecting ONE of the tables.
And then what I want to select the actions in the group, Iโm allowed to select one of the actions from THAT table only.
While here, I need to execute actions from 2 different tablesโฆ
Any ideas?
Have you taken a look at reference actions? Those could help you.
Assuming you have one row for each user identified by userโs email ID in Search Table, your reference rows in the Search Table could be something like
SELECT(SearchTable[Key], [Email]=USEREMAIL())
Or if you are using form view and not detail view for setting search parameters, you could evaluate reset on edit feature for those values.
User | Count |
---|---|
42 | |
34 | |
26 | |
23 | |
15 |