Dotnetnuke ValueFilter在可视化查询的2sxc中不起作用

Dotnetnuke ValueFilter在可视化查询的2sxc中不起作用,dotnetnuke,2sxc,Dotnetnuke,2sxc,我有一个JSON结果集,如下所示 "Default": [ { "PortalId": 0, "Price": 990000, "Featured": false, "Type": 1, "Bathrooms": 6, "Rooms": 5, "Volume": 0, "Area": 430, "CreatedDate": "2017-03-13T18:16:08.38Z",

我有一个JSON结果集,如下所示

"Default": [
    {
      "PortalId": 0,
      "Price": 990000,
      "Featured": false,
      "Type": 1,
      "Bathrooms": 6,
      "Rooms": 5,
      "Volume": 0,
      "Area": 430,
      "CreatedDate": "2017-03-13T18:16:08.38Z",
      "ShowFrom": "2017-03-13T18:16:08.38Z",
      "ShowTill": "9999-12-31T23:59:59.997Z",
      "UserId": 2,
      "Kitchen": 1,
      "CityId": 46,
      "Code": "CA-799",
      "Verified": false,
      "Plot": 1234,
      "CityName": "Capdepera",
      "ImageName": "RV5",
      "ImagePath": "/Portals/0/RealEstateThumbs/20/RV5.jpg",
      "Id": 20,
      "Guid": "00000000-0000-0000-0000-000000000000",
      "Title": null,
      "Modified": "0001-01-01T00:00:00Z",
      "_2sxcEditInformation": {
        "entityId": 20,
        "title": "(no title)",
        "isPublished": true
      }
    },
    {
      "PortalId": 0,
      "Price": 1750000,
      "Featured": false,
      "Type": 1,
      "Bathrooms": 6,
      "Rooms": 5,
      "Volume": 0,
      "Area": 360,
      "CreatedDate": "2017-03-10T10:25:42.647Z",
      "ShowFrom": "2017-03-10T10:25:42.647Z",
      "ShowTill": "9999-12-31T23:59:59.997Z",
      "UserId": 2,
      "Kitchen": 1,
      "CityId": 61,
      "Code": "ES-9337",
      "Verified": false,
      "Plot": 1234,
      "CityName": "Esporles",
      "ImageName": "RV6",
      "ImagePath": "/Portals/0/RealEstateThumbs/21/RV6.JPG",
      "Id": 21,
      "Guid": "00000000-0000-0000-0000-000000000000",
      "Title": null,
      "Modified": "0001-01-01T00:00:00Z",
      "_2sxcEditInformation": {
        "entityId": 21,
        "title": "(no title)",
        "isPublished": true
      }
    }
当我使用测试参数[QueryString:Code]=SP向可视化查询添加ValueFilter时

它不会对该代码值进行过滤(在上面的示例中,不应返回这两个结果)

我做错了什么

ValueFilter本身定义为:

Attribute = Code
Value = [QueryString: Value]
Operator: begins
Take: all

这是我的解决方案的关键。

我相信令牌中的空格
[QueryString:code]
是您的问题-不要在令牌中使用空格。

您可以添加可视化查询编辑器的屏幕截图吗?可能还有其他筛选器,包括您不想要的记录