New Feature - Tag Report Tool

When copying out the script, we are including a qualified value rather than just the value itself. I am going to submit a bug for this, but the following should work every time:

provider = 'default'
limit = 100

query = {
  "options": {
    "includeUdtMembers": True,
    "includeUdtDefinitions": False
  },
  "condition": {
    "attributes": {
      "values": [],
      "requireAll": True
    },
    "properties": {
      "op": "Or",
      "conditions": [
        {
          "op": "And",
          "conditions": [
            {
              "prop": "name",
              "comp": "Equal",
              "value": "MyTagName"
            },
            {
              "prop": "value",
              "comp": "Equal",
              "value": "1"
            }
          ]
        }
      ]
    }
  },
  "returnProperties": [
    "tagType",
    "quality"
  ]
}

results = system.tag.query(provider, query, limit)

That doesn't work. I will contact support so they can take a closer look. Thanks for the help @ggross

If you have a non-production Gateway, any chance you can try the latest Ignition nightly? The issue I noted looks to have been fixed last week and there were a couple of other changes around value searching.

Garth

I can either try the nightly, or just wait until the stable release and try. I will hold off on contacting support until one of those happens. Thanks @ggross .

25 posts were split to a new topic: Json Diffing Discussion