Inserting a button that executes a script
Product line
Standard
|Expert
Operating mode
CLOUD ABO
|ON-PREMISES
Modules
Services & CRM
Budget & Phases
Purchases
Resource Planning
Business Intelligence
Starting with Vertec 6.5.0.22, buttons on pages and lists can be Custom renderer shown.
In Vertec versions from 6.1 onwards it is already possible to use a button in the pages via customizing, which starts a script registered in Vertec.
The ScriptButton has the following properties:
The following rules apply:
In Vertec a script is registered for entering presets on projects:
With the following customizing code we now add a button on the main page of the project to which the script is linked:
<Page Override=”Project”> <ScriptButton Text=”Enter presets” ScriptName=”Enter Defaults” FlexWidth=”0” HorizontalAlignment=”Right” /> </Page>
On the interface, the script can now be called or executed directly by clicking on the button Enter Default: