Accesses all the Fwots of Wilco
Last updated 2 months ago
Was this helpful?
You have to call this function with the await javascript keyword in order to be sure to have the list from the server to continue
await
You can filter it with :
const a320s = _.where(await FW.getFwots(), {type:'A320'});
returns an array of :
await FW.updateSomeFwotProperty('FW-LUC', 'key', 'oldValue'); await FW.updateSomeFwotProperty('FW-LUC', 'key', await FW.getFwot('FW-LUC').properties.key+' newValue'); //would set the property **key** of FW-LUC to **oldValue newValue**