Content Tools

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

  • contentSecurityRoleMap: CDT that backs the returnContentRoleMap function

Smart Services

  • Copy Document (Change Extension)
  • Delete Document Version
  • Delete Folder Contents
  • Delete Files Older Than
  • Delete Files Created Before
  • Delete Multiple Documents
  • Remove Member From Folder Security
  • Inherit Security From Parent for Folder
  • Inherit Security from Parent for Document
  • Remove Member From KC Security
  • Delete Rule/Constant Versions
  • Set Folder Security
  • Create Document Version
  • Create expression rule
  • Update expression rule expression
  • Update expression rule parameters

Functions

  • getfoldersrequiringchangesapproval
  • getsubfoldersfromfolder
  • getdocumentsfromfolder
  • getdocumentinternalidsfromfolder
  • getfilesolderthandate: Get files older than a particular date
  • getfileslargerthansize: Get files larger than a particular size
  • finddocumentsbyname
  • getconstantorruleuuidbyname
  • findcontentbyattribute
  • getcontentdetailsbyuuid
  • getcontentdetailsbyinternalname
  • getcontentobjectdetailsbyid
  • getcontentobjectswithnumofversions: function to find rules or constants with a given number of versions. Useful to find out objects that can increase memory usage in the collaboration engine. See https://forum.appian.com/suite/help/16.3/kb/kb-1226.html
  • getcontentobjectrevisionhistorydetails: Retrieves the revision history of a content object formatted as "[version id, date created, date updated, size, author]"
  • getconstantsfromfolder
  • getconstantsbyname
  • setfoldersearchability
  • getfoldersearchability
  • getdownloadersfromgroup
  • returncontentrolemap
  • getprocessmodeldetailsbyuuid
  • getrulereferencebyname
  • generateuuid
Anonymous
Parents
  • Hi Team,

    I have installed the Content Tools plugin and am using the getappobjectuuids function to retrieve version details. I am passing a UUID and filtering the results by the modifiedOn date. However, I am encountering an issue where the modified date field is not correctly reflecting the changes made.
    For example, when I select the modified date as 2/6/2025, the result from getappobjectuuids is null because it is returning same as created date value, but it should give latest version details as per 2/6/2025 date which i have given in version details below. This can be seen in the information below: 

               creator "Balavamsikrishna_vinnapala@contractor.amat.com" (Text)

                 createdon "1/29/25 AM GMT" (Text)

                 modifiedon "1/29/25 AM GMT" (Text)

    • Version details of one object
    • Created
      2/6/2025 10:08 AM by bala vamsi Krishna Vi...
      1/29/2025 lo:ss AM by bala vamsi Krishna
      1129/2025 9:57 AM by bala vamsi Krishna Vi...
      1129/2025 9:13 AM by bala vamsi Krishna Vi...
      1129/2025 9:08 AM by bala vamsi Krishna Vi...
      1129/2025 8:53 AM by bala vamsi Krishna Vi...

    Could you please check this issue with that field  Content Tools Appian Community 

Comment
  • Hi Team,

    I have installed the Content Tools plugin and am using the getappobjectuuids function to retrieve version details. I am passing a UUID and filtering the results by the modifiedOn date. However, I am encountering an issue where the modified date field is not correctly reflecting the changes made.
    For example, when I select the modified date as 2/6/2025, the result from getappobjectuuids is null because it is returning same as created date value, but it should give latest version details as per 2/6/2025 date which i have given in version details below. This can be seen in the information below: 

               creator "Balavamsikrishna_vinnapala@contractor.amat.com" (Text)

                 createdon "1/29/25 AM GMT" (Text)

                 modifiedon "1/29/25 AM GMT" (Text)

    • Version details of one object
    • Created
      2/6/2025 10:08 AM by bala vamsi Krishna Vi...
      1/29/2025 lo:ss AM by bala vamsi Krishna
      1129/2025 9:57 AM by bala vamsi Krishna Vi...
      1129/2025 9:13 AM by bala vamsi Krishna Vi...
      1129/2025 9:08 AM by bala vamsi Krishna Vi...
      1129/2025 8:53 AM by bala vamsi Krishna Vi...

    Could you please check this issue with that field  Content Tools Appian Community 

Children
No Data