Filter 2 Values within the same search

Confluence User - 22 Sep, 2023

Hi,

Currently im trying to disable data that contains these 2 values for the status from the data list. How should i do that?

I tried the following, it doesnt work. As it would only display data that contains New Request as the status but not the other one as well. Below image is my search field name.

#datalist.size.all_request[d-7075931-fn_dr_status=New Request][d-7075931-fn_dr_status=Approve by CFO]#

userviews;datalists;forms

5


22 Sep, 2023
confluenceUser
confluenceUser

If you have some specific values for Status field then:
Change the type of filter to Selectbox and then configure it for multiselect. Add hardcoded value of status or use a binder.
Once you have configured it properly, you will be able to select the specific values against which you want to display.

Refer Pics below:






Result:

26 Sep, 2023
confluenceUser
confluenceUser

how would i do it in code format? Eg. #datalist.size.all_request[d-7075931-fn_dr_status=New Request][d-7075931-fn_dr_status=Approve by CFO]#


above example is only for one status, how about 2 status at once?

03 Oct, 2023
confluenceUser
confluenceUser

any answer? Anas Misbah Shami 

03 Oct, 2023
confluenceUser
confluenceUser

Hi, 
Why are you doing it with the code when you can use the default joget filters?
I'm sorry, I don't understand where and why are you trying to implement the hash variable.

Please tell me where you are using the datalist and how


04 Oct, 2023
confluenceUser
confluenceUser

im using it to display pending task on hand like a dashboard. It would look like this

RELATED QUESTIONS

Your answer


To answer a question you'll need an account.

Print