Apex
CloudFiles Client
Search by Resource Metadata
refer to this article search by resource metadata docid\ wzecfkzfk hdnzhnkbhao to understand what this action does in detail global static list\<resourcelist> searchbyproperty( list\<types searchbypropertyinput> inputs, string library, string runas ) parameters inputs list of objects library type of library example sharepoint you can get this value from content library docid\ wtj62wux2a6hgfwvpm4ij runas email id of the user on whom behalf the function should run if you want to run the action as automation user, supply integrationuser return type returns a list of resource list docid\ ufmey5fawzh3pa7u79q4s example list\<cldfs resourcelist> returnedlist = new list\<cldfs resourcelist>(); list\<cldfs types searchbypropertyinput> searchinputs = new list\<cldfs types searchbypropertyinput>(); cldfs types searchbypropertyinput searchinput = new cldfs types searchbypropertyinput( 'property', 'value', 'driveid' ); searchinputs add(searchinput); returnedlist = cldfs client searchbyproperty( searchinputs, 'sharepoint', 'integrationuser' );