Overview
These functions extend Appian content and offer document/folder search, directory listing, and the ability to get/set the searchable attribute of a folder.
Functions are designed for and only work on Appian content, not the local filesystem. All search functions assume the root folder and all subfolders are searchable. Search functions will not return results contained within non-searchable objects.
All functions use the serviceContext of the user account executing the expression at runtime.
Key Features & Functionality
Data Types
Smart Services
Functions
Also - I think there's a misprint in the "live help" text for the new function:
I'm assuming the highlighted text should actually read "document or folder".
Thanks, I didn't know that it had been functionally replaced. I might suggest that you still list the older function in the plug-in description above, if only to add the note that it's been deprecated and has a replacement available.
Hi Mike Schmitt, we'll evaluate this internally and get back to you once we have more feedback. Thanks for raising this.
Hi Mike Schmitt, please refer to the PDF documentation of this plugin (available upon download). You will check that this function has been deprecated and hidden from the palette. Existing implementations will still continue to function but future use cases should be handled with the new FindContentByAttribute function.
I've just spent a few hours debugging an apparent issue with findDocumentsByName only to realize that it's basically breaking when attempting to search a string where there's a space, a dash, then a space, and either leading or trailing letters. For example, " - " finds dozens of documents in my system, but " - AT" fails to find anything, even though there are many documents that match this string.
This is actively breaking my use case as I'm trying to systematically find a document where the document name matches the pattern i.e. "[class name] - FINAL Grade". And it's returning zero results even when I try searching the exact string of a known-good document name.
What is the status of the "Find Folders by Name" function? It's listed in the plug-in deployment description, but doesn't seem to be available as a rule within the expression editor, and now it isn't listed in the description here.
Hi,
The functions listed above mention "getconstantsbyname", but after deploying the latest version of the plugin it seems that the function is unavailable. Is there an issue with the .jar, or is the description outdated?
Thanks,
Dan
This looks like a corrupt jar file. Are you sure you loaded the jar and not the zip containing the plugins and the application.