FW.getFwots

Accesses all the Fwots of Wilco

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 _:

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

returns an array of FwotV3IO:

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

Was this helpful?