Hi,
You can use a
macro expression in the Visibility field. This macro must return true/false. So, the macro could look like this:
{%CurrentDocument.DocumentNamePath == "<yourpath>"%}
instead of "equals" you can use also "notequals" or even K#
Best regards,
Juraj Ondrus