bugy / script-server

Web UI for your scripts with execution management
Other
1.52k stars 244 forks source link

Load from script #687

Open billybenson opened 10 months ago

billybenson commented 10 months ago

Hi Bugy,

Do you have any further documentation on how to load the values for a field from a script? I can see the tick box to ‘load from script’ but how should this be formatted?

I’m using the Windows server edition, calling powershell scripts.

Thanks

bugy commented 10 months ago

Hi @billybenson, just specify the path to script. For Powershell, you might need to use smth like this Powershell.exe -File C:\my_path\yada_yada\run_import_script.ps1 (https://stackoverflow.com/a/2035408)