Class Index | File Index

Classes


Class QuickSearch

Executes a quick search and returns a Json object with the key value pair (assetId -> fileName)
Defined in: quickSearch.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
QuickSearch(src, directory, pageSize, pageNumber, sortDirection, sortField)
Executes a quick search and returns a Json object with the key value pair (assetId -> fileName) Executes a QuickSearch using the string in 'src'.
Class Detail
QuickSearch(src, directory, pageSize, pageNumber, sortDirection, sortField)
Executes a quick search and returns a Json object with the key value pair (assetId -> fileName) Executes a QuickSearch using the string in 'src'. These results are parsed into a text object keyed by AssetPath from the JSON file in which they are contained, and by default are displayed to the user.
'MBurl'/wf/restapi/1/quickSearch?src="TheSearch"
http://127.0.0.1:55555/wf/restapi/1/quickSearch?src=".jpg"
Parameters:
src
a search term.
directory
a directory path to limit the search to ex. "Assets/testAssets/"
pageSize
default 100
pageNumber
default 0
sortDirection
"ASC" or "DESC"
sortField
the namespace of the desired field ex "record_id" or "http://purl.org/dc/elements/1.1/ subject"
Returns:
( {'AssetID': "FileName",...} )

Documentation generated by JsDoc Toolkit 2.4.0 on Fri Dec 15 2023 01:43:54 GMT-0600 (CST)