In an automation, if you are trying to compare text with special characters.
For example:
IF {{page.parent.url}} contains
/wiki/spaces/~5fdbb67334847e006942429e/pages/430440540/Sample+Pages
it is not matching the rule.
even trying Sample+Pages still does not match.
If i just use like 430440540 it matches and works.
How do i get it to match with slashes and/or plus, etc.
@Kent Pirlo I believe I've seen something similar to your situation recently.
You might want to:
@Kent Pirlo First test if "Sample" matches. It probably will. Also test "Pages", which probably will, too.
If so, then it is very-very likely that the problem is with the "+" character and that must be escaped somehow.
I'd primarily try escaping that with '\', lile "Sample\+Pages".
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks! yeah i tried escaping with \ and didn't work for me. I also tried using like %2B in place of the plus sign, but that did not work either..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
How about just "Sample Pages"?
The '+' is the URL-encoded form of the space character. Who knows, maybe the URL is decoded before the comparison? May worth a try...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
BTW can you show me the comparator component you are using?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The idea is that when a page is moved under another specific page, it gets tagged.
So to be safe it is the correct page, i would most likely put the full url not just Sample+Pages..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.