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, fieldId, savedSelection)
Returns the value of a desired field for the given Asset IDs.
Class Detail
GetField(src, fieldId, savedSelection)
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/getField?src=['Asset ID']&fieldId='TheFieldId'
http://127.0.0.1:55555/wf/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.
fieldId
ex http://purl.org/dc/elements/1.1/ subject
savedSelection
Returns:
( {'AssetID': "value",...} )

Documentation generated by JsDoc Toolkit 2.4.0 on Fri Oct 02 2015 17:09:28 GMT-0500 (CDT)