Is it possible to use! = In the query string?

I am filtering the sharepoint list using the query string for some reason, I need to check a state like FieldValue! = Red, what can be achieved?

Or is it still a limitation?

.aspx FILTERNAME = EYHealthIndicator &? FilterMultiValue = red, yellow, and amp; & FilterField2 = Content Type &! FilterValue2 = Task

+3
source share
2 answers

You cannot AFAIK.

A workaround could be to create a calculated column and then filter.

eg. create a Not-Red column with the formula

= IF ([YOUR_COLUMN_NAME] = "Red", "False", "True")

Then filter

?

FilterField1 = Not-Red & FilterValue2 = True

0
source

You can use Sharepoint Designer to filter a new, highlighted view of this list. You need: 1) queryString parameter how? FilteredNotValue! = Red 2) Add a filter to designer, operator = "Not Equal", value = new parameter → Name param = FilteredNotValue! → Parameter Source = QueryString. Completing a parameter name with "!" this is a trick, but it seems like it can do the job.

+1
source

Source: https://habr.com/ru/post/1655686/


All Articles