-
Notifications
You must be signed in to change notification settings - Fork 1
Create a Button that execute an additional script
Example
In this case, the Button FPITBT001 is executing a script called FPITBT001.ps1 in the WebJEA Script Folder. The Script name needs to be the same as the Variable you create in the validation.ps1
The declaration in the validation.ps1 looks like this:
The Script FPITBT001.ps1 looks like this: It gets a Parameter from WebJEA and returns it back.
Additionally we linked the first Dropdownlist (AD-Gruppe) with the Button with the .FORMGROUP Feature. (Only one Formgroup is possible, so only one Parameter can be passed to the script right now)
When we click on the newly created Button we get this view:
The script is executed and the Output is displayed in the temporary Textbox. (The Textbox disappears after the next refresh)
This Feature is a nice addition if you already have a little scripts-collection that you want to display/execute on one Page without making a seperate Page for everything. It could also be used if you have a long workflow and want to make steps in between.