Configuration
The loading of powerEvents and Client Customizations is controlled by the powerJobs Client Configuration, which defines in which processes the add-in should be active.
By default, these are Vault Client, Inventor, and AutoCAD. The configuration can easily be extended to include additional custom VDF applications.
In some cases, individual customization scripts must specify the application in which they should run,
for example, one script applying only to Vault Client while another is intended exclusively for Inventor.
This should be defined directly in the script header of each script.
Example: Execute script only in Vault Client
if ($processName -notin @('Connectivity.VaultPro')) {
return
}
# your code here
Example: Execute script only in Inventor
if ($processName -notin @('Inventor')) {
return
}
# your code here