How to set the values for SSPL attribute when we are passing multiple value as a input
Summary : We have created one text attribute a userDivision in Config, in which we store the multiple values in a comma separate format. For example, A,B,C,D and based on these values we have to fetch the values through the SSPL attribute(Data Type- Text). We are able to show the values when we are setting only one value in the userDivision attribute, but when we are setting the multiple values it is not working, so how can we resolve this issue. We tried to write the MongoDB query in the filter that works for a single value, not multiple(MongoDB Query:{$or:[{Division:{$regex:"|userDivision|"}}]})
Tagged:
0