Hello,
I’m having trouble filtering a view by a particular string within a checkbox column/field. I wanted to ask if anyone has tried to do this before. My code seems to be fine when I adjust it to filter by a simple text column/field, but I think the crux of the issue is to do with writing the string to filter by. Just to remind of the function syntax:
@SetViewInfo( [SETVIEWFILTER] ; filterString ; columnName ; isCategory )
By example, supposing I had a checkbox group of “Savings”, “Investment” and “Mortgage”, and I wanted to find all documents in which “Mortgage” was checked, my intutition was to try:
@SetViewInfo( [SETVIEWFILTER] ; “Mortgage” ; “catCheck” ; 1 )
But I never get any documents appearing, nor do I when trying substrings of “Mortgage” (eg. “a”).
So, my question!: am I referencing the checkbox string key correctly? Has anyone had a similar issue and found a work around? Any advice or places to look for a solution would be hugely appreciated. Thanks!
Adam