Frequently Asked Questions

Apr 23, 2025 - 02:10am

 [F] Frequently Asked Questions  / Operational Questions  / Macros and Templates  / WCTL  /

Why is pathHasDiscussions "True" for Chats and Links?

Rate This FAQ
 (Not yet rated)

Created On: 7 Dec 1999 11:41 am
Last Edited: 20 Dec 1999 10:43 am

Question Printer Friendly

I wrote a macro using pathHasDiscussions, but it is registering true even if a path has ONLY Links or Chats.

Answer

For historical reasons we originally only had folders and discussions,
and so internally we count the number of folders and the total number of items.

Instead, use pathSelect() (see your documentaion).