Class Index | File Index

Classes


Class GetField

Returns the value of a desired field for the given Asset IDs.
Defined in: getField.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
GetField(src, savedSelection, fieldId)
Returns the value of a desired field for the given Asset IDs.
Class Detail
GetField(src, savedSelection, fieldId)
Returns the value of a desired field for the given Asset IDs. Gets the value of a desired 'field' contained in a specified 'schema' for the assets given by AssetID in 'src'. These values are parsed into a text object keyed by AssetID from the JSON file in which they are contained, and by default are displayed to the user.
'MBurl'/wf/restapi/1/getField?src=["Asset ID"]&fieldId='TheFieldId'
http://127.0.0.1:55555/wf/restapi/1/getField?src=["12345"]&fieldId=["http://brightech.com/ns/mb date_entered"]
Parameters:
src
AssetID/list or file path to get the XMP field values from.
savedSelection
the saved selection id to iterate over.
fieldId
ex http://purl.org/dc/elements/1.1/ subject
Returns:
( {'AssetID': "value",...} )

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