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
I've gotta admit, the getprocessmodeldetailsbyuuid function (as well as similar ones) is not very user-friendly to make any sort of specific use of due to the results coming back in a big unorganized glob of text, as opposed to a nice dictionary or something.
Couldn't it at least return a JSON string, if it has to return a flat string? Then we could convert it on the Appian side pretty easily, instead of having to do tedious manual parsing, which of course might break any time anything is added or changed in the function output.
If we are already using Custom Content Functions, and replace it with this plugin, will there be any impact?
Is there any way this can be enhanced to add a function that given a UUID it returns the application containers the object is part of?
If we want to deploy this plug in is the recommendation to remove the existing Content Details by UUID and Custom Content Functions Plug Ins first ? Presumably all the functions / smart services in those two plug ins have been replicated under this new Content Tools plug in ?
The function list is not accurate, the v1.0.1 of this plugins does not include getconstantsbyname but includes the function FindFoldersByName.
This plugin should not be used in conjunction with Custom Content Functions as it is a replacement for that plugin.
If you are currently using Custom Content Functions, do not also deploy this plugin.
I'm a bit confused - does this Plug In replace the existing Custom Content Functions plug in ? If it does replace / supersede then I presume it would be advisable to remove the existing Custom Content Functions plug in before deploying this new one ?
Deploying the latest version of "Custom Content Functions" plugin fixed our issue in 19.1.
Its confusing why both "Content Tools" and "Custom Content Functions" have a function with the same name getdocumentsfromfolder
If any of you already have "Custom Content Functions" plugin deployed in your environment and face an error post upgrade to 19.1, please redeploy "Custom Content Functions" plugin to fix the error. Thats from my experience
Best Wishes,
Pavan
I faced an issue trying to deploy "Content Tools" plugin into our Appian cloud environment upgraded today to 19.1
I see that the function getdocumentsfromfolder was present in the Plugin "Custom Content Functions" (shown in Admin screen as Custom Expressions) and it looks like the issue we are facing (i.e getdocumentsfromfolder shown as being unavailable ) must be due to this change. I shall try upgrading the "Custom Content Functions" to latest version to see if it helps and report
We are using this plugin and the function getdocumentsfromfolder is being indicated as not available after we upgraded to 19.1 earlier today. No change in the plugin itself was made. Kindly help asap!
Luckily we only upgraded our Dev and Test and not Prod as we wanted to rule out any issues before we upgrade Prod. But we need this addressed asap so we can upgrade Prod. Your help is much appreciated!