Developer forum

Forum » CMS - Standard features » New index - select blank string value

New index - select blank string value

Lars Larsen
Reply

Hi,

I have an index (the new index) where I want it to select values that don't have a value. I want records where the field "Variant ID" is blank. How is that done?

Capture.PNG

Replies

 
Nicolai Høeg Pedersen
Reply
This post has been marked as an answer

Hi Lars

The document does not have the field if there is no data - so you would have to fill the index with "null" data - give it a value that indicates that it does not. Then you can search that value.

BR Nicolai

Votes for this answer: 1
 
Lars Larsen
Reply

Hi Nicolai

Thanks for your answer. I will add a field with a value.

 

You must be logged in to post in the forum