...
You can use the forms> create command to create a new form or a flow. You first select the application to which you want to add the new form, list its forms, and then create the form.
Code Block |
---|
localhost:8082/david@monahan.com> apps ----------------------------------------------------------------------------------------- URL ! http://localhost:8082/frevvo/web/tn/monahan.com/api/apps # | NAME | DESCRIPTION 1 | DTM July 2011 | Group of test forms created by DTM. 2 | DTM August 2011 | Forms started in August. ----------------------------------------------------------------------------------------- localhost:8082/david@monahan.com/apps> select 2 ----------------------------------------------------------------------------------------- ID | _5Crikb-LEeCP198_WwQSNw!david URL | http://localhost:8082/frevvo/web/tn/monahan.com/api/app/_5Crikb-LEeCP198_WwQSNw!david UPDATED | 2011-08-10T10:22:56.851-04:00 NAME | DTM August 2011 DESCRIPTION | Forms started in August. ----------------------------------------------------------------------------------------- localhost:8082/david@monahan.com/apps/DTM August 2011> forms ----------------------------------------------------------------------------------------- URL ! http://localhost:8082/frevvo/web/tn/monahan.com/api/formtypes # | UPDATED | KIND | READONLY | VISIBILITY | NAME 1 | 2011-08-05T13:54:58.628 | FORM | false | PRIVATE | Contact Form 2 | 2011-08-09T15:29:47.477 | FORM | false | PRIVATE | NewForm 3 | 2011-08-09T15:56:23.552 | FORM | false | PRIVATE | LodgingMeals ----------------------------------------------------------------------------------------- localhost:8082/david@monahan.com/apps/DTM August 2011/forms> create 'TestForm' ----------------------------------------------------------------------------------------- ID | _X9B3YMNcEeCRfoJ9kSWZ1Q!_5Crikb-LEeCP198_WwQSNw!david URL | http://localhost:8082/frevvo/web/tn/monahan.com/api/formtype/_X9B3YMNcEeCRfoJ9kSWZ1Q!_5Crikb-LEeC P198_WwQSNw!david UPDATED | 2011-08-10T10:23:53.442 NAME | TestForm DESCRIPTION | Edit the form to change this description. KIND | FORM READONLY | false VISIBILITY | PRIVATE ----------------------------------------------------------------------------------------- localhost:8082/david@monahan.com/apps/DTM August 2011/forms/TestForm> |
<pre>
</pre>
...
Note |
---|
The command prompt includes the new form name (''../forms/TestForm>''), so you can [[DataAPI_DesigntimeIntegration#Editing_a_Form.2FFlow | edit the form]] from the command line at this point. |
[http://static.frevvo.com/resources/docs/site/4.1.5/com.frevvo.forms.cli/xref/com/frevvo/forms/cli/core/FeedShell.html Source Code Example][http://static.frevvo.com/resources/docs/com.frevvo.forms.java-4.1.4-javadoc/com/frevvo/forms/client/FormTypeFeed.html
=== Editing a Form/Flow ===
...