cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

How to filter stream entries with no data tags

sabhz
12-Amethyst

How to filter stream entries with no data tags

I have multiple stream entries for few entries, we use data tags and for other entries we are not using data tags. 

Now, I have to get only stream entries without tags .. 

Is there is any way to achieve this ?? 

I tried filter snippets but it is not working as expected for no data tag entries. 

2 REPLIES 2
slangley
23-Emerald I
(To:sabhz)

 @sabhz.

 

We're not clear on your use case.  Can you please provide more information?

 

Regards.

 

--Sharon

BABA-SHYAM
13-Aquamarine
(To:sabhz)

Hi,

 

You can try by filtering data with tag using below query.

 

var query = {
"filters":{
"type": "EQ",
"fieldName": "tag",
"value": ""
}
}

 

if above query doesn't give you desired result try using below.

 

var query = {
"filters":{
"type": "NE",
"fieldName": "tags",
"value": "DataTag1;DataTag2;DataTag3"
}
}

 

Regards

Shyam

Announcements