Table of Contents
Form Editor - Command Line Interface Help
Command line interface allows you to work with forms from the terminal or automation (batch, bash) scripts.
Keys should start with “-” sign. Values, if necessary, are specified after space, next to the key. Some keys can be optional.
Execute Form
To execute a form the following command can be used:
vstudio -project $project_location [-project_server $vserver] -execute_form $form_name
Keys description:
- -project – open a project at $project_location
- -project_server – URL of Valentina Server holding a project. Specified in the format of Valentina Server datasource string
- -execute_form – execute the form with name $form_name
Examples
Execution a form from local project on OS X:
$ "./Valentina Studio.app/Contents/MacOS/Valentina Studio" \ -project "/Users/user/Documents/project1.vsp" \ -execute_form "Form_1"
Executing a form from server project on OS X:
$ "./Valentina Studio.app/Contents/MacOS/Valentina Studio" \ -project "project1.vsp" \ -project_server "vserver://host = 'localhost' port = '15432' user = 'sa' password = 'sa'" \ -execute_form "Form_1"