22
Views
6
Comments
Regarding Tab Concept.

We have Tab 4 header and 1 content screen,, like we have booked, pending, Approved, Cancelled in header tab. in content scren we have set of list.. in this list we have all kind of datas like booked status and cancelled status..

the all status type is in dropdown. if we select the null status in dropdown will have to go All And show the all kind of list..

thanks

vinith

2018-10-29 08-31-03
João Marques
 
MVP

Hi vinithkumar,


I think the best way to do this is to have a block that receiving the status id, will query the tasks entity and present the tasks you want. In order to have the NullIdentifier() producing all tasks, your query filter will be something like 


StatusId = NullIdentifier() or Task.TaskStatusId = StatusId 


Notice that in the expression above, if status is null, no filter will be applied so you can get all data.

Then on each content for every tab you have, you will have the block passing the respective StatusId.


Kind Regards,
João

2022-11-15 06-25-16
Vinithkumar Pandiyarajan

hi if you have any oml it would be more helpful for me



vinith

2018-10-29 08-31-03
João Marques
 
MVP

There you go, the OML with an example of a booking and its status.

In any case, my best suggestion is to follow OutSystems training, like the Becoming a Reactive Developer guided path. It will allow you not only to understand what I did, but to do this and much more by yourself.


Kind Regards,
João

ReactiveSandbox3.oml
2022-11-15 06-25-16
Vinithkumar Pandiyarajan

we have to show status in dropdown.. if user in  calcelled tab .. and if user select all in dropdown it will have to go all tab and will show the datas


vinith

2022-11-15 06-25-16
Vinithkumar Pandiyarajan

And Another one we have to use one content screen only.. you have used 4 contents in that oml



vinith


2018-10-29 08-31-03
João Marques
 
MVP

You ask dropdown but your screenshot has tabs...

I edited the OML with the dropdown.

In any case, I once again suggest you to follow the Becoming a Reactive Developer guided path. It will allow you to do this kind of simple operations without needing external help from the forum and depending on others availability.


Kind Regards,
João

ReactiveSandbox3.oml
Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.