我有一个要求,我需要动态过滤列表查找。我的列表有一个名为的列category
,可以包含 value 'A' or 'B'
。然后有一个字段——'Selection'
在 Content 类型上可以取值'A' or 'B' or 'All'
。如果'A'
我需要 List 查找来获取行 where category = 'A'
,同样适用'B'
。但是,如果“选择”是 -'All'
那么我需要显示列表中的所有项目。
我正在考虑过滤列的列表查找 - 'Category'
。但问题是我在内容类型表单上,我没有任何可以动态设置的变量。
I can not use the Filter by control mapped to 'Selection'
as the it does not work when the selection is 'All'
(There is no value called 'All' under category in the list).
我尝试使用对公式进行运算的计算值,并尝试在按列表查找中的特定值过滤器中使用它,但过滤器不起作用,因为列表查找在表单加载计算值之前加载,因此计算值总是过滤为空。
有什么办法可以实现这个功能。
提前致谢