FW.getFwots

Accesses all the Fwots of Wilco

circle-info

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

You can filter it with _arrow-up-right:

const a320s = _.where(await FW.getFwots(), {type:'A320'});

returns an array of FwotV3IOarrow-up-right:

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**

Last updated