mrwatson-de / fmSetupAssistant

A tool to setup your FileMaker workstations
MIT License
2 stars 0 forks source link

fmSetupAssistant: Automation #10

Closed mrwatson-de closed 8 months ago

mrwatson-de commented 1 year ago

A method is needed to make it possible to automate running / setting up particular configs.

Assisted Setup ini file?

mrwatson-de commented 1 year ago

The aim of automation is that a host app can call fmSetupAssistant as part of its user login process to initialise the workstation as needed by that user. A basic automation for initialising or configuring a workstation has been implemented.

Two methods have been implemented for implementing an initialisation of a Workstation.

  1. An API script, that the host app can call does everything for you:
    • fmSA_InitWorkstation // only applies the configuration, if the workstation has not yet been configured.
    • The problem with this method is that fmSetupAssistant always starts in order to check the state of the workstation, causing a delay when it is not needed.
  2. Custom Function(s) for the host app
    • Custom functions to read the workstation state have been made for the host app to use.
    • Like this, the host app can check itself if the workstation has been initialised, and if not call the fmSA_ApplyConfig
    • This means fmSetupAssistant is only opened when necessary and keeps the start process efficient
mrwatson-de commented 8 months ago

Done.

Within the app you can manually apply a config.

Solutions can call the API scripts to get a list of configurations and to apply a config.