有可能使用!=在查询字符串? [英] Is that possible to use != in query string?

查看:187
本文介绍了有可能使用!=在查询字符串?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



还是有它的局限性吗?我是过滤SharePoint列表使用查询字符串的一些共鸣我需要检查像FieldValue!=红色是可能的存档?


$ b

.aspx?FilterName = EYHealthIndicator& FilterMultiValue = Red; Yellow&& FilterField2 = ContentType& FilterValue2!=任务

b $ b

解决方案

您不能AFAIK。

解决方法可能是创建一个计算列然后过滤。



例如用公式

创建一个名为Not-Red的列。
$ b

= IF([YOUR_COLUMN_NAME] =Red,False,True) b
$ b

然后过滤

?FilterField1 = Not-Red& FilterValue2 = True

I am filtering sharepoint list using query string for some reson i need to check condition like FieldValue!=Red is that possible to achive?

Or still its limitation?

.aspx?FilterName=EYHealthIndicator&FilterMultiValue=Red;Yellow&&FilterField2=ContentType&FilterValue2!=Task

解决方案

You can't AFAIK.

The workaround MAY be to create a calculated column and then filter on that.

E.g. create a column called "Not-Red" with formula

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

Then filter

?FilterField1=Not-Red&FilterValue2=True

这篇关于有可能使用!=在查询字符串?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆