Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
localhost:8082/david@monahan.com/apps/DTM July 2011> forms
-----------------------------------------------------------------------------------------
URL ! http://localhost:8082/frevvo/web/tn/monahan.com/api/formtypes
    # | UPDATED                    | KIND | READONLY | VISIBILITY   | NAME
    1 | 2011-07-25T14:31:47.118    | FORM | false    | PUBLICTENANT | Address Book
    2 | 2011-07-15T10:51:30.137    | FORM | false    | PUBLICTENANT | TitleDepartment
    3 | 2011-07-18T17:04:13.255    | FORM | false    | PUBLICTENANT | Dinner Selections
    4 | 2011-07-25T16:24:51.003    | FLOW | false    | PRIVATE      | Flow 42
-----------------------------------------------------------------------------------------
localhost:8082/david@monahan.com/apps/DTM July 2011/forms> ?list
Name     Abbr     ArgNum     Descr
up                  1        UPLOAD an application (e.g. 'upload /var/contacts_apps.zip')
down                0        DOWNLOAD ALL forms into temp folder (e.g.: 'down')
link      l         1        OPEN a link in the browser (e.g. 'openLink {link#}')
links     li        1        SHOW feed links for given rel attr (e.g. 'links {relAttr}')
links     l         0        SHOW all feed links (e.g. 'links')
next      n         0        NEXT feed page (e.g. 'next')
prev      p         0        PREVIOUS feed page (e.g. 'previous')
print     pr        0        PRINT current feed (e.g.: 'print')
delete    d         1        DELETE an entry (e.g. 'delete {entry#}')
create    c         1        CREATE a new entry (e.g.: 'create {name}')
refresh   r         0        REFRESH current feed (e.g.: 'refresh')
select    s         1        SELECT an entry (e.g.: 'entry {entry#}')

...

Download

...

As with downloading applications, in the frevvo UI UI, you can download individual forms and flows and select the destination directory when you're editing an application on the applications home page.

[[Image:api-pix_UI_EditApps_Up-DownloadIcons.png]]Image Added

In this example, '''down''' downloads down downloads all the forms and flows in the tenant to a directory on the local machine. You can't choose which forms to download, and since '''down''' takes down takes no arguments, the target directory depends on your local machine settings. Since the command downloads<pre>

Code Block
localhost:8082/david@monahan.com/apps/DTM July 2011/forms> down

...



Downloaded 4 formtypes(s):

...


        Downloaded formtype AddressBook : C:\DOCUME~1\esposito\LOCALS~1\Temp\AddressBook_4797270872242921600_form.zip

...


        Downloaded formtype TitleDepartment : C:\DOCUME~1\esposito\LOCALS~1\Temp\TitleDepartment_3726241829360563162_form.zip

...


        Downloaded formtype DinnerSelections : C:\DOCUME~1\esposito\LOCALS~1\Temp\DinnerSelections_2704862938519552036_form.zip

...


        Downloaded formtype Flow42 : C:\DOCUME~1\esposito\LOCALS~1\Temp\Flow42_105859113596495447_form.zip

...



localhost:8082/david@monahan.com/apps/DTM July 2011/forms>

...

 

[http://static.frevvo.com/resources/docs/site/4.1.5/com.frevvo.forms.cli/xref/com/frevvo/forms/cli/shell/FormTypeEntryShell.html Source Code Example]

...